Function at 0x10058d00
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cec1d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x24]
push edi
push esi
push eax
mov ecx, 0x1010e5b0
call fcn.100537e0
mov edi, dword [ebp - 0x1c]
cmp byte [edi + 0xd], 0
jne 0x10058d57
lea eax, [edi + 0x10]
mov ecx, 0x1010e5b0
push eax
push esi
call fcn.10054090
test al, al
jne 0x10058d57
cmp edi, dword [0x1010e5b0]
jne 0x10059074
push ebx
push esi
lea ecx, [ebp - 0x6c]
call fcn.10053d30
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x10], eax
xor edi, edi
mov dword [ebp - 0x50], eax
xor ebx, ebx
mov dword [ebp - 4], 0
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
cmp eax, ecx
je 0x10058dba
mov esi, ecx
lea ecx, [ebp - 0x54]
sub esi, eax
push esi
call fcn.10054d40
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x54]
push esi
push ebx
push edi
call fcn.100a74e0
mov esi, edi
add esp, 0xc
sub esi, ebx
mov ebx, dword [ebp - 0x4c]
add esi, dword [ebp - 0x18]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x50], esi
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x24]
mov ecx, 0x1010e5b0
push eax
call fcn.100537e0
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], ecx
cmp byte [eax + 0xd], 0
jne 0x10058e05
add eax, 0x10
mov ecx, 0x1010e5b0
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.10054090
test al, al
jne 0x10058e05
mov esi, dword [ebp - 0x58]
jmp 0x10058ea5
cmp dword [0x1010e5b4], 0x4ec4ec4
je 0x10059084
mov esi, dword [0x1010e5b0]
mov dword [ebp - 0x20], 0x1010e5b0
push 0x34
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], 0
call fcn.100a573e
mov ecx, dword [ebp - 0x6c]
mov edx, eax
mov eax, dword [ebp - 0x60]
add esp, 4
mov dword [edx + 0x20], 0
mov dword [edx + 0x24], 0
mov dword [edx + 0x10], ecx
mov ecx, dword [ebp - 0x68]
mov dword [edx + 0x14], ecx
mov ecx, dword [ebp - 0x64]
mov dword [edx + 0x18], ecx
mov ecx, ebx
mov dword [edx + 0x1c], eax
xor ebx, ebx
mov eax, dword [ebp - 0x5c]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 0x58]
mov dword [edx + 0x24], eax
xor eax, eax
mov word [ebp - 0x6c], ax
mov eax, edi
mov dword [edx + 0x28], eax
xor edi, edi
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x30], ecx
mov ecx, 0x1010e5b0
push edx
push dword [ebp - 0x18]
mov dword [edx + 0x2c], eax
push dword [ebp - 0x14]
mov dword [edx], esi
mov dword [edx + 4], esi
mov dword [edx + 8], esi
mov word [edx + 0xc], bx
call fcn.100532d0
lea esi, [ebx + 7]
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10058eda
sub ebx, edi
mov eax, edi
cmp ebx, 0x1000
jb 0x10058ed0
mov edi, dword [edi - 4]
add ebx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10059089
push ebx
push edi
call fcn.100a576e
add esp, 8
cmp esi, 8
jb 0x10058f11
mov ecx, dword [ebp - 0x6c]
lea edx, [esi*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10058f07
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10059089
push edx
push ecx
call fcn.100a576e
add esp, 8
push 0x18
xor eax, eax
mov dword [ebp - 0x30], 0
push str.record_call:__s____0x_x_n
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.10055460
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 3
cmp dword [ebx + 0x14], 8
mov edi, dword [eax]
jb 0x10058f52
mov ebx, dword [ebx]
mov edi, dword [edi]
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
push edi
cmovae eax, dword [ebp - 0x30]
push ebx
push eax
push 0
push 0
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 - 0x18], eax
cmp dword [ebp - 0x1c], 8
lea ecx, [ebp - 0x30]
push edi
cmovae ecx, dword [ebp - 0x30]
push ebx
push ecx
mov ebx, eax
mov byte [ebp - 4], 4
push esi
push ebx
call fcn.10051a60
lea eax, [ebx - 2]
mov dword [ebp - 0x48], 0
lea eax, [eax + esi*2]
mov dword [ebp - 0x38], 0
add esp, 0x2c
mov dword [ebp - 0x34], 7
cmp ebx, eax
je 0x10058fd4
sub eax, ebx
lea ecx, [ebp - 0x48]
sar eax, 1
push eax
push ebx
call fcn.10055460
test ebx, ebx
je 0x10058fe1
push ebx
call fcn.100a5a74
add esp, 4
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0x34]
pop ebx
cmp edx, 8
jb 0x1005902a
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10059020
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005908e
push edx
push ecx
call fcn.100a576e
add esp, 8
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
cmp edx, 8
jb 0x10059074
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1005906a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005908e
push edx
push ecx
call fcn.100a576e
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.100535c0
call fcn.100b477d
call fcn.100b477d
int3