Function at 0x10056990
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cae6d
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, 0x101075b0
call fcn.10051470
mov edi, dword [ebp - 0x1c]
cmp byte [edi + 0xd], 0
jne 0x100569e7
lea eax, [edi + 0x10]
mov ecx, 0x101075b0
push eax
push esi
call fcn.10051d20
test al, al
jne 0x100569e7
cmp edi, dword [0x101075b0]
jne 0x10056d04
push ebx
push esi
lea ecx, [ebp - 0x6c]
call fcn.100519c0
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 0x10056a4a
mov esi, ecx
lea ecx, [ebp - 0x54]
sub esi, eax
push esi
call fcn.100529d0
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x54]
push esi
push ebx
push edi
call fcn.100a37a0
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, 0x101075b0
push eax
call fcn.10051470
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 0x10056a95
add eax, 0x10
mov ecx, 0x101075b0
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.10051d20
test al, al
jne 0x10056a95
mov esi, dword [ebp - 0x58]
jmp 0x10056b35
cmp dword [0x101075b4], 0x4ec4ec4
je 0x10056d14
mov esi, dword [0x101075b0]
mov dword [ebp - 0x20], 0x101075b0
push 0x34
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], 0
call fcn.100a19fe
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, 0x101075b0
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.10050f60
lea esi, [ebx + 7]
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10056b6a
sub ebx, edi
mov eax, edi
cmp ebx, 0x1000
jb 0x10056b60
mov edi, dword [edi - 4]
add ebx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10056d19
push ebx
push edi
call fcn.100a1a2e
add esp, 8
cmp esi, 8
jb 0x10056ba1
mov ecx, dword [ebp - 0x6c]
lea edx, [esi*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10056b97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10056d19
push edx
push ecx
call fcn.100a1a2e
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.100530f0
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 0x10056be2
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.10057c20
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.100a1d2b
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.1004f720
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 0x10056c64
sub eax, ebx
lea ecx, [ebp - 0x48]
sar eax, 1
push eax
push ebx
call fcn.100530f0
test ebx, ebx
je 0x10056c71
push ebx
call fcn.100a1d34
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 0x10056cba
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10056cb0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10056d1e
push edx
push ecx
call fcn.100a1a2e
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 0x10056d04
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10056cfa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10056d1e
push edx
push ecx
call fcn.100a1a2e
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.10051250
call fcn.100b0a3d
call fcn.100b0a3d
int3