Function at 0x56ae30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 8]
test esi, esi
jne 0x56ae4d
push edi
call fcn.0055c750
add esp, 4
mov esi, eax
mov ecx, dword [esi + 0x18]
mov eax, dword [edi + 0x48]
push ebx
dec eax
mov dword [ebp - 0x18], ecx
mov ebx, dword [ecx + 0x74]
mov dword [ebp - 8], eax
lea eax, [ebx + 1]
mov dword [ecx + 0x74], eax
lea eax, [ebx - 1]
test ebx, eax
jne 0x56ae88
push 0
lea eax, [ebx*8 + 4]
push eax
push dword [ecx + 0x78]
push dword [ecx]
call fcn.00586540
mov ecx, dword [ebp - 0x18]
add esp, 0x10
mov dword [ecx + 0x78], eax
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x56ae96
mov dword [eax + ebx*4], 0xffffffff
or eax, 0xffffffff
sub eax, ebx
cmp dword [ebp + 0x24], 0
mov dword [ebp - 4], eax
jge 0x56aeb8
mov ecx, dword [ebp + 0x18]
push eax
movzx eax, byte [ecx + 0x18]
push eax
push 0x40
push esi
call fcn.005a3710
add esp, 0x10
mov eax, dword [ebp + 0x18]
xor ebx, ebx
cmp dword [eax + 0x14], ebx
jle 0x56af28
mov edi, dword [ebp - 4]
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x20]
mov ecx, dword [esi + 0x20]
inc edx
mov eax, dword [eax + ebx*4]
add edx, eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x56aeed
push 0
push edi
push edx
push 0x22
push esi
call fcn.0056e710
add esp, 0x14
jmp 0x56af1c
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x22
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 0x18]
inc ebx
cmp ebx, dword [eax + 0x14]
jl 0x56aec5
mov edi, dword [ebp + 8]
cmp dword [ebp + 0x28], 0
jne 0x56b588
mov edx, dword [ebp + 0x14]
test edx, edx
jne 0x56b1a6
mov al, byte [edi + 0x13]
test al, al
jne 0x56af4c
inc dword [edi + 0x4c]
mov ebx, dword [edi + 0x4c]
jmp 0x56af58
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov ebx, dword [edi + eax*4 + 0x1c]
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x20]
mov ecx, dword [esi + 0x20]
inc edx
mov eax, dword [eax]
add edx, eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x56af7f
push 0
push ebx
push edx
push 0x54
push esi
call fcn.0056e710
add esp, 0x14
jmp 0x56afae
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x54
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov dword [ebp + 8], edx
cmp dword [eax + 0x58], edx
jg 0x56afd1
push 0
push 0
push ebx
push 0x11
push esi
call fcn.0056e710
add esp, 0x14
mov dword [ebp + 8], eax
jmp 0x56b004
lea eax, [edx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x11
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
cmp eax, dword [ecx]
jne 0x56b03f
cmp dword [ebp + 0x24], 1
jne 0x56b03f
push ebx
push dword [ebp - 4]
push dword [ebp + 0x20]
push 0x25
push esi
call fcn.005a3780
mov eax, dword [esi]
add esp, 0x14
cmp byte [eax + 0x45], 0
jne 0x56b03c
mov eax, dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov byte [eax + ecx*4 - 0x11], 0x90
mov eax, dword [ebp + 0x10]
push 0x67
push eax
push dword [ebp + 0xc]
push dword [ebp - 8]
push edi
call fcn.00593d40
mov eax, dword [esi + 0x18]
add esp, 0x14
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x56b06f
push ebx
push 0
push dword [ebp - 8]
push 0x21
push esi
call fcn.0056e710
add esp, 0x14
jmp 0x56b0a1
mov edx, dword [ebp - 8]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x21
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x56b0c0
push 0
push dword [ebp - 4]
push 0
push 0xd
push esi
call fcn.0056e710
add esp, 0x14
jmp 0x56b0f6
mov edx, dword [ebp - 4]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0xd
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
lea ecx, [edx - 1]
add edx, 0xfffffffe
mov dword [eax + 0x60], ecx
mov eax, dword [esi + 0x20]
mov dword [ebp + 0x28], eax
jns 0x56b110
lea edx, [eax - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x56b11f
mov eax, 0x68444c
jmp 0x56b128
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [ebp + 0x28]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
dec ecx
mov dword [eax + 0x60], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 0x20]
test ecx, ecx
jns 0x56b145
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x56b154
mov eax, 0x68444c
jmp 0x56b15d
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
test ebx, ebx
je 0x56b588
mov dl, byte [edi + 0x13]
cmp dl, 8
jae 0x56b588
xor ecx, ecx
lea eax, [edi + 0x7c]
nop dword [eax]
cmp dword [eax + 0xc], ebx
je 0x56b19d
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x56b180
movzx eax, dl
mov dword [edi + eax*4 + 0x1c], ebx
inc byte [edi + 0x13]
jmp 0x56b588
mov byte [eax + 6], 1
jmp 0x56b588
mov ebx, dword [eax + 0x14]
mov ecx, dword [edi + 0x3c]
mov eax, dword [edi + 0x40]
mov dword [ebp - 0xc], eax
cmp ebx, ecx
jg 0x56b1c2
add eax, ebx
sub ecx, ebx
mov dword [edi + 0x40], eax
mov dword [edi + 0x3c], ecx
jmp 0x56b1d0
mov eax, dword [edi + 0x4c]
lea ecx, [eax + 1]
add eax, ebx
mov dword [ebp - 0xc], ecx
mov dword [edi + 0x4c], eax
mov al, byte [edi + 0x13]
test al, al
jne 0x56b1df
inc dword [edi + 0x4c]
mov eax, dword [edi + 0x4c]
jmp 0x56b1eb
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x1c]
mov ecx, dword [esi + 0x20]
mov edx, dword [edx + 0x2c]
mov dword [ebp + 0x28], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x56b210
push dword [ebp + 0xc]
push edx
push dword [ebp - 8]
push 0x67
push esi
call fcn.0056e710
add esp, 0x14
jmp 0x56b241
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x67
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
lea ecx, [eax + ecx*4]
mov eax, dword [ebp - 8]
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 0xc], eax
push dword [ebp + 0x14]
mov eax, dword [edi + 8]
push edi
mov dword [ebp - 0x10], eax
call fcn.00592300
mov edx, eax
add esp, 8
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
cmp byte [ecx + 0x45], 0
je 0x56b26e
push edx
push 0xfffffffffffffffa
push ecx
call fcn.0056c510
add esp, 0xc
jmp 0x56b2a1
mov eax, dword [eax + 0x20]
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x56b296
push 0xfffffffffffffffa
push edx
push eax
push dword [ebp - 0x10]
call fcn.005b6720
add esp, 0x10
jmp 0x56b2a1
test edx, edx
je 0x56b2a1
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xfa
test ebx, ebx
jle 0x56b321
mov edx, dword [ebp - 0xc]
xor edi, edi
mov dword [ebp - 0x10], edx
nop dword [eax]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x20]
inc ecx
mov eax, dword [eax + edi*4]
add eax, ecx
mov ecx, dword [esi + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x56b2e0
push 0
push edx
push dword [ebp - 0x14]
push 0x53
push esi
call fcn.0056e710
mov edx, dword [ebp - 0x10]
add esp, 0x14
jmp 0x56b315
mov edx, dword [ebp - 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0x10]
mov word [eax + ecx*4], 0x53
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
inc edi
inc edx
mov dword [ebp - 0x10], edx
cmp edi, ebx
jl 0x56b2b0
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
cmp eax, dword [ecx]
jne 0x56b44d
cmp dword [ebp + 0x24], 1
jne 0x56b44d
mov eax, dword [esi + 0x20]
xor edx, edx
inc eax
mov dword [ebp - 0x10], edx
add eax, ebx
mov dword [ebp - 0x14], eax
test ebx, ebx
jle 0x56b3f8
nop
mov eax, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x20]
inc edi
mov eax, dword [eax + edx*4]
add edi, eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp + 0x20]
inc edx
movsx eax, cx
add eax, edx
mov edx, dword [ebp + 0x10]
cmp cx, word [edx + 0x20]
mov ecx, dword [esi + 0x20]
cmove eax, dword [ebp + 0x20]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x56b3a2
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push edi
push 0x24
push esi
call fcn.0056e710
mov edx, dword [ebp - 0x10]
add esp, 0x14
jmp 0x56b3d3
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [ebp - 0x14]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [ebp - 0x18]
mov word [eax + ecx*4], 0x24
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
jne 0x56b3e9
mov eax, dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov byte [eax + ecx*4 - 0x11], 0x10
inc edx
mov dword [ebp - 0x10], edx
cmp edx, ebx
jl 0x56b350
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x56b417
push 0
push dword [ebp - 4]
push 0
push 0xd
push esi
call fcn.0056e710
add esp, 0x14
jmp 0x56b44d
mov edx, dword [ebp - 4]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0xd
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push dword [ebp + 0x14]
push dword [edi]
call fcn.00590740
mov ecx, dword [esi + 0x18]
add esp, 8
mov edx, dword [esi + 0x20]
mov dword [ebp - 0x10], eax
cmp dword [ecx + 0x58], edx
jg 0x56b47e
push dword [ebp + 0x28]
push ebx
push dword [ebp - 0xc]
push 0x62
push esi
call fcn.0056e710
add esp, 0x14
mov edx, eax
jmp 0x56b4b2
mov edi, dword [ebp - 0xc]
lea eax, [edx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [ebp + 0x28]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [ebp + 8]
mov word [eax + ecx*4], 0x62
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x45], 0
je 0x56b4cf
cmp ebx, 0xfffffff6
je 0x56b51d
mov eax, dword [ebp - 0x10]
push eax
push ebx
push ecx
call fcn.0056c510
add esp, 0xc
jmp 0x56b51d
test edx, edx
jns 0x56b4d7
mov edx, dword [esi + 0x20]
dec edx
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
lea ecx, [eax + ecx*4]
test ebx, ebx
jns 0x56b50e
cmp byte [ecx + 1], 0
jne 0x56b50e
mov eax, dword [ebp - 0x10]
cmp ebx, 0xfffffff2
jne 0x56b4fa
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], bl
jmp 0x56b51d
test eax, eax
je 0x56b51d
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], bl
cmp ebx, 0xfffffff6
jne 0x56b51d
inc dword [eax + 0xc]
jmp 0x56b51d
mov eax, dword [ebp - 0x10]
push ebx
push eax
push ecx
push esi
call fcn.005b6720
add esp, 0x10
push 0
push dword [ebp + 0x28]
push dword [ebp - 4]
push dword [ebp - 8]
push 0x1f
push esi
call fcn.005a3860
add esp, 0x18
cmp dword [ebp + 0x28], 0
je 0x56b56d
mov dl, byte [edi + 0x13]
cmp dl, 8
jae 0x56b56d
xor ecx, ecx
lea eax, [edi + 0x7c]
mov edi, dword [ebp + 0x28]
cmp dword [eax + 0xc], edi
mov edi, dword [ebp + 8]
je 0x56b569
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x56b546
mov ecx, dword [ebp + 0x28]
movzx eax, dl
mov dword [edi + eax*4 + 0x1c], ecx
inc byte [edi + 0x13]
jmp 0x56b56d
mov byte [eax + 6], 1
push ebx
push dword [ebp - 0xc]
push edi
call fcn.00588a70
add esp, 0xc
cmp ebx, dword [edi + 0x3c]
jle 0x56b588
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], eax
mov edx, dword [ebp + 0x18]
mov cl, byte [edx + 0x18]
test cl, cl
jne 0x56b5fc
mov eax, dword [edi]
test dword [eax + 0x18], 0x2000000
jne 0x56b5fc
cmp dword [edi + 0x1a0], 0
jne 0x56b5fc
cmp byte [edi + 0x14], cl
jne 0x56b5fc
mov ebx, dword [edi + 8]
test ebx, ebx
jne 0x56b5bd
push edi
call fcn.0055c750
add esp, 4
mov ebx, eax
mov ecx, dword [edi + 0x1a0]
test ecx, ecx
push 0xfffffffffffffffe
push 0
push 0
push 2
cmovne edi, ecx
push 0x313
push 0x4a
push ebx
mov byte [edi + 0x15], 1
call fcn.005a37e0
mov eax, dword [ebx]
add esp, 0x1c
cmp byte [eax + 0x45], 0
jne 0x56b668
mov eax, dword [ebx + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov byte [eax + ecx*4 - 0x11], 4
jmp 0x56b668
mov ebx, dword [ebp + 0x24]
test ebx, ebx
jle 0x56b616
test cl, cl
jne 0x56b616
mov eax, dword [edi + 0x1a0]
test eax, eax
cmovne edi, eax
mov byte [edi + 0x15], 1
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
movzx edx, byte [edx + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x56b639
push 0
push ebx
push edx
push 0x8f
push esi
call fcn.0056e710
add esp, 0x14
jmp 0x56b668
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x8f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x18]
pop ebx
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x56b684
mov eax, dword [ebp - 4]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [edx + 0x60], eax
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x56b6ae
push 0
push 0
push dword [ebp - 8]
push 0x6e
push esi
call fcn.0056e710
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 8]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
pop edi
pop esi
mov word [eax + ecx*4], 0x6e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esp, ebp
pop ebp
ret