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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x56ab3a
sub esp, 0x6c
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x40]
mov ebx, dword [eax + 0x3c]
mov ebp, dword [eax + 0x48]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
call fcn.00512820
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x64], edx
mov ebx, dword [esp + 0x70]
cmp ebx, 1
je 0x56a85e
cmp ebx, 2
je 0x56a4a4
cmp ebx, 3
jne 0x56a47a
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x28], edx
mov eax, dword [eax + 0x30]
mov dword [esp + 0x4c], eax
lea ebx, [0x748fe0]
mov dword [esp], ebx
call fcn.00409d00
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], ecx
lea ecx, [0x7466a0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.00517650
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
test eax, eax
jne 0x56a41a
test ecx, ecx
je 0x56a261
lea eax, [0x7436e0]
mov dword [esp], eax
call fcn.00409d00
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x2a
mov eax, dword [0xa8f2d0]
test eax, eax
jne 0x56a254
lea eax, [0x7a4a24]
mov dword [edi], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [0x7fe200]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
add esp, 0x6c
ret
lea eax, [0x7a4a24]
call fcn.0044c9e0
jmp 0x56a22c
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00568f20
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x56a3ba
mov dword [esp + 0x38], eax
mov dword [esp + 0x60], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x10], edx
call fcn.00506b90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x56a35a
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ecx
lea eax, [0x774960]
mov dword [esp], eax
call fcn.00409d00
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x38]
mov dword [eax], ecx
mov ecx, dword [0xa8f2d0]
test ecx, ecx
jne 0x56a330
mov ecx, dword [esp + 0x60]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0xc], ecx
lea ecx, [0x76a8e0]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x6c
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x60]
call fcn.0044c9e0
lea edi, [ecx + 8]
mov eax, dword [esp + 0x48]
call fcn.0044c9e0
lea edi, [ecx + 0xc]
mov eax, dword [esp + 0x44]
call fcn.0044c9e0
mov eax, ecx
jmp 0x56a308
lea eax, [0x7436e0]
mov dword [esp], eax
call fcn.00409d00
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x2e
mov eax, dword [0xa8f2d0]
test eax, eax
jne 0x56a3ad
lea eax, [0x7a5fd4]
mov dword [edi], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [0x7fe200]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
add esp, 0x6c
ret
lea eax, [0x7a5fd4]
call fcn.0044c9e0
jmp 0x56a385
lea eax, [0x7436e0]
mov dword [esp], eax
call fcn.00409d00
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x20
mov eax, dword [0xa8f2d0]
test eax, eax
jne 0x56a40d
lea eax, [0x7a06ea]
mov dword [edi], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [0x7fe200]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
add esp, 0x6c
ret
lea eax, [0x7a06ea]
call fcn.0044c9e0
jmp 0x56a3e5
lea eax, [0x7436e0]
mov dword [esp], eax
call fcn.00409d00
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x35
mov eax, dword [0xa8f2d0]
test eax, eax
jne 0x56a46d
lea eax, [0x7a7c72]
mov dword [edi], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [0x7fe200]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
add esp, 0x6c
ret
lea eax, [0x7a7c72]
call fcn.0044c9e0
jmp 0x56a445
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x6c
ret
lea eax, [0x78daa0]
mov dword [esp], eax
call fcn.00409d00
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], ecx
lea ecx, [0x706300]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.00517650
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
test edx, edx
jne 0x56a83c
test eax, eax
je 0x56a55c
lea eax, [0x7436e0]
mov dword [esp], eax
call fcn.00409d00
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x28
mov eax, dword [0xa8f2d0]
test eax, eax
jne 0x56a54f
lea eax, [0x7a3c8e]
mov dword [edi], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [0x7fe200]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
add esp, 0x6c
ret
lea eax, [0x7a3c8e]
call fcn.0044c9e0
jmp 0x56a527
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x2c], edx
mov eax, dword [eax + 0x30]
mov dword [esp + 0x50], eax
lea ebx, [0x757080]
mov dword [esp], ebx
call fcn.00409d00
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
lea ecx, [0x70a980]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.00517650
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
test ecx, ecx
jne 0x56a81a
test edx, edx
jne 0x56a7ba
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x56a79f
xor ecx, ecx
test ecx, ecx
jg 0x56a648
lea eax, [0x7436e0]
mov dword [esp], eax
call fcn.00409d00
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x24
mov eax, dword [0xa8f2d0]
test eax, eax
jne 0x56a63b
lea eax, [0x7a23ee]
mov dword [edi], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [0x7fe200]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
add esp, 0x6c
ret
lea eax, [0x7a23ee]
call fcn.0044c9e0
jmp 0x56a613
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx]
mov ebx, dword [edx + 8]
test ebx, ebx
jne 0x56a784
xor edx, edx
test edx, edx
jle 0x56a5e8
mov edx, dword [ecx + 4]
mov ebx, dword [edx + 8]
test ebx, ebx
jne 0x56a769
xor edx, edx
test edx, edx
jle 0x56a5e8
mov edx, dword [ecx + 8]
mov ebx, dword [edx + 8]
test ebx, ebx
jne 0x56a74e
xor edx, edx
test edx, edx
jle 0x56a5e8
lea eax, [0x74a9e0]
mov dword [esp], eax
call fcn.00409d00
mov eax, dword [0xa8f2d0]
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx]
mov edi, dword [esp + 4]
test eax, eax
jne 0x56a742
mov dword [edi], edx
mov edx, dword [0xa8f2d0]
mov eax, dword [ecx + 4]
test edx, edx
jne 0x56a732
mov dword [edi + 4], eax
mov edx, dword [0xa8f2d0]
mov eax, dword [ecx + 8]
test edx, edx
jne 0x56a722
mov dword [edi + 8], eax
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx]
mov ecx, dword [0xa8f2d0]
test ecx, ecx
jne 0x56a712
mov dword [edi + 0xc], eax
lea eax, [0x709f80]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x6c
ret
lea ecx, [edi + 0xc]
mov edx, edi
mov edi, ecx
call fcn.0044c9e0
mov edi, edx
jmp 0x56a6ea
lea ecx, [edi + 8]
mov edx, edi
mov edi, ecx
call fcn.0044c9e0
mov edi, edx
jmp 0x56a6d7
lea edx, [edi + 4]
mov ebx, edi
mov edi, edx
call fcn.0044c9e0
mov edi, ebx
jmp 0x56a6c7
mov eax, edx
call fcn.0044c9e0
jmp 0x56a6b7
movzx edx, byte [edx]
test dl, dl
je 0x56a75f
mov edx, 0xffffffff
jmp 0x56a687
mov edx, 1
jmp 0x56a687
movzx edx, byte [edx]
test dl, dl
je 0x56a77a
mov edx, 0xffffffff
jmp 0x56a66f
mov edx, 1
jmp 0x56a66f
movzx edx, byte [edx]
test dl, dl
je 0x56a795
mov edx, 0xffffffff
jmp 0x56a65b
mov edx, 1
jmp 0x56a65b
movzx ecx, byte [ecx]
test cl, cl
je 0x56a7b0
mov ecx, 0xffffffff
jmp 0x56a5e4
mov ecx, 1
jmp 0x56a5e4
lea eax, [0x7436e0]
mov dword [esp], eax
call fcn.00409d00
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x28
mov eax, dword [0xa8f2d0]
test eax, eax
jne 0x56a80d
lea eax, [0x7a3c66]
mov dword [edi], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [0x7fe200]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
add esp, 0x6c
ret
lea eax, [0x7a3c66]
call fcn.0044c9e0
jmp 0x56a7e5
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x6c
ret
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ecx
add esp, 0x6c
ret
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x34]
mov edx, dword [eax + 0x38]
mov eax, dword [eax + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [0xa75c18]
mov ecx, dword [0xa75c20]
mov edx, dword [0xa75c1c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
call fcn.00402190
movzx eax, byte [esp + 0x18]
test al, al
je 0x56aada
lea eax, [0x74b220]
mov dword [esp], eax
call fcn.00409d00
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], ecx
lea ecx, [0x70ab00]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.00517650
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x56aab8
test edx, edx
jne 0x56aa58
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x56aa3d
xor ecx, ecx
test ecx, ecx
jle 0x56a9dd
mov ecx, dword [eax + 4]
test ecx, ecx
jg 0x56a984
lea eax, [0x7436e0]
mov dword [esp], eax
call fcn.00409d00
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x32
mov eax, dword [0xa8f2d0]
test eax, eax
jne 0x56a977
lea eax, [0x7a72e8]
mov dword [edi], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [0x7fe200]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
add esp, 0x6c
ret
lea eax, [0x7a72e8]
call fcn.0044c9e0
jmp 0x56a94f
lea eax, [0x74abc0]
mov dword [esp], eax
call fcn.00409d00
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 4]
mov edi, dword [esp + 4]
mov dword [edi + 4], ecx
mov ecx, dword [0xa8f2d0]
mov eax, dword [eax]
test ecx, ecx
jne 0x56a9d6
mov dword [edi], eax
lea eax, [0x73a100]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x6c
ret
call fcn.0044c9e0
jmp 0x56a9ae
lea eax, [0x7436e0]
mov dword [esp], eax
call fcn.00409d00
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x2a
mov eax, dword [0xa8f2d0]
test eax, eax
jne 0x56aa30
lea eax, [0x7a49fa]
mov dword [edi], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [0x7fe200]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
add esp, 0x6c
ret
lea eax, [0x7a49fa]
call fcn.0044c9e0
jmp 0x56aa08
movzx ecx, byte [ecx]
test cl, cl
je 0x56aa4e
mov ecx, 0xffffffff
jmp 0x56a915
mov ecx, 1
jmp 0x56a915
lea eax, [0x7436e0]
mov dword [esp], eax
call fcn.00409d00
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x28
mov eax, dword [0xa8f2d0]
test eax, eax
jne 0x56aaab
lea eax, [0x7a3cb6]
mov dword [edi], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [0x7fe200]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
add esp, 0x6c
ret
lea eax, [0x7a3cb6]
call fcn.0044c9e0
jmp 0x56aa83
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x6c
ret
lea eax, [0x7436e0]
mov dword [esp], eax
call fcn.00409d00
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x25
mov eax, dword [0xa8f2d0]
test eax, eax
jne 0x56ab2d
lea eax, [0x7a29da]
mov dword [edi], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [0x7fe200]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
add esp, 0x6c
ret
lea eax, [0x7a29da]
call fcn.0044c9e0
jmp 0x56ab05
call fcn.0044b280
jmp fcn.0056a120