Function at 0x10058950
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cebd5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push 0x100d601c
push dword [ebp + 8]
call fcn.100b57ec
add esp, 8
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x10058992
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push ebx
push esi
push edi
push 0x1000
call fcn.100a5a6b
mov esi, eax
mov dword [ebp - 0x44], 0
xor eax, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x14], 0
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
xor edi, edi
mov dword [ebp - 4], eax
xor ebx, ebx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x1c]
mov byte [ebp - 4], 1
push 0x1000
push esi
call fcn.100b565d
add esp, 0x10
test eax, eax
je 0x10058afb
lea ebx, [ebx]
push 0x3a
push esi
call fcn.100a73b0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10058af4
mov byte [ebx], 0
inc ebx
push esi
call fcn.10054220
mov ecx, dword [ebp - 0x34]
add esp, 4
shr eax, 1
cmp eax, ecx
ja 0x10058a41
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], eax
cmovae ecx, dword [ebp - 0x44]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x10058a4e
sub eax, ecx
lea ecx, [ebp - 0x44]
push 0
push eax
call fcn.100552b0
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push esi
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.100540f0
mov esi, ebx
add esp, 8
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10058a68
mov eax, dword [ebp - 0x28]
sub esi, ecx
mov edx, eax
sub edx, edi
cmp esi, edx
jae 0x10058a84
lea eax, [edi + esi]
mov dword [ebp - 0x28], eax
jmp 0x10058ab2
jbe 0x10058ab2
mov ecx, dword [ebp - 0x18]
sub ecx, edi
cmp esi, ecx
jbe 0x10058aa1
lea eax, [ebp - 0xe]
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.10053a30
mov edi, dword [ebp - 0x2c]
jmp 0x10058ab2
sub esi, edx
push esi
push 0
push eax
call fcn.100a7070
add esp, 0xc
add dword [ebp - 0x28], esi
push ebx
push edi
call fcn.100540f0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10058d00
push dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
inc dword [ebp - 0x14]
push 0x1000
push esi
call fcn.100b565d
mov edi, dword [ebp - 0x2c]
add esp, 0x1c
test eax, eax
je 0x10058aef
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
jmp 0x10058a00
mov ebx, dword [ebp - 0x24]
jmp 0x10058afb
mov ebx, dword [ebp - 0x18]
mov byte [ebp - 0xd], 0
push dword [ebp - 0x1c]
call fcn.100b5516
add esp, 4
mov dword [ebp - 0x5c], 0
xor eax, eax
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
push 0x17
push 0x100d6020
call fcn.10055460
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
push dword [ebp - 0x14]
cmovae eax, dword [ebp - 0x5c]
push eax
push 0
push 0
mov byte [ebp - 4], 2
call fcn.10059f90
xor ecx, ecx
mov edx, 2
lea esi, [eax + 1]
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100a5a6b
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x48], 8
lea ecx, [ebp - 0x5c]
push dword [ebp - 0x14]
cmovae ecx, dword [ebp - 0x5c]
push ecx
push esi
push eax
mov byte [ebp - 4], 3
call fcn.10051a60
mov ecx, dword [ebp - 0x1c]
add esp, 0x24
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
lea eax, [ecx - 2]
lea eax, [eax + esi*2]
cmp ecx, eax
je 0x10058bba
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x74]
call fcn.10055460
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x10058bcb
push ecx
call fcn.100a5a74
add esp, 4
cmp dword [ebp - 0x60], 8
lea eax, [ebp - 0x74]
cmovae eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x10058c17
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10058c0d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10058ced
push edx
push ecx
call fcn.100a576e
add esp, 8
mov edx, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x10058c69
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10058c5f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10058ced
push edx
push ecx
call fcn.100a576e
add esp, 8
push dword [ebp - 0x14]
push str.Loaded__d_call_records_n
call fcn.10084630
add esp, 8
test edi, edi
je 0x10058ca3
sub ebx, edi
mov eax, edi
cmp ebx, 0x1000
jb 0x10058c99
mov edi, dword [edi - 4]
add ebx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10058cf2
push ebx
push edi
call fcn.100a576e
add esp, 8
mov edx, dword [ebp - 0x30]
pop edi
pop esi
pop ebx
cmp edx, 8
jb 0x10058cdc
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10058cd2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10058cf2
push edx
push ecx
call fcn.100a576e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.100b477d
call fcn.100b477d
int3