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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1035f568
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10480b90]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x10480b90]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x24]
mov edi, ecx
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x14], 0xffffffff
mov ecx, esi
test eax, 0x4000
je 0x10056758
lea eax, [esp + 0x14]
push eax
call fcn.10002110
xor ebx, ebx
push eax
mov dword [esp + 0x84], ebx
call fcn.10006e20
add esp, 4
lea ecx, [esp + 0x14]
mov esi, eax
mov dword [esp + 0x80], 0xffffffff
call fcn.10001850
push ebx
push 1
lea ecx, [esp + 0x38]
call fcn.10044d70
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
mov dword [esp + 0x84], 1
call fcn.10005bd0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x8c], 2
call fcn.10006320
mov edi, 0x10
mov byte [esp + 0x80], 1
cmp dword [esp + 0x6c], edi
jb 0x10056683
mov edx, dword [esp + 0x58]
push edx
call fcn.1026bc50
add esp, 4
lea ecx, [esp + 0x50]
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
call fcn.100012e0
push ebx
push 1
lea ecx, [esp + 0x38]
call fcn.10005e20
lea eax, [esp + 0x50]
push eax
mov ecx, esi
call fcn.10005bf0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x8c], 3
call fcn.10006320
mov byte [esp + 0x80], 1
cmp dword [esp + 0x6c], edi
jb 0x100566e4
mov ecx, dword [esp + 0x58]
push ecx
call fcn.1026bc50
add esp, 4
mov esi, 0xf
lea ecx, [esp + 0x50]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
call fcn.100012e0
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x4c], edi
jae 0x1005670c
lea eax, [esp + 0x38]
push eax
push 2
lea edx, [ebp + 0x14]
push edx
lea eax, [ebp + 0xc]
push eax
call fcn.10059960
add esp, 0x10
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x14], eax
cmp dword [esp + 0x4c], edi
jb 0x10056741
mov ecx, dword [esp + 0x38]
push ecx
call fcn.1026bc50
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
call fcn.100012e0
jmp 0x100567d5
lea edx, [esp + 0x28]
xor ebx, ebx
push edx
mov dword [esp + 0x20], ebx
call fcn.10002110
lea ecx, [esp + 0x1c]
push ecx
push eax
mov dword [esp + 0x88], 4
mov esi, dword [esi + 0x10]
push esi
lea edx, [ebp + 0x14]
push edx
lea eax, [ebp + 0xc]
push eax
lea ecx, [esp + 0x64]
push ecx
push edi
call fcn.10057a30
add esp, 0x18
push eax
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.1024c7f0
add esp, 0x10
lea ecx, [esp + 0x28]
mov esi, eax
mov dword [esp + 0x80], 0xffffffff
call fcn.10001850
lea ecx, [esp + 0x50]
cmp dword [esp + 0x20], ecx
je 0x100567d5
cmp dword [esp + 0x1c], ebx
jne 0x100567d5
cmp esi, 1
ja 0x100567d5
mov dword [esp + 0x14], esi
mov edx, dword [ebp + 0xc]
cmp byte [ebp + 0x10], bl
jne 0x10056815
cmp edx, ebx
je 0x1005680c
mov eax, dword [edx + 0x20]
cmp dword [eax], ebx
je 0x100567f6
mov ecx, dword [edx + 0x30]
cmp dword [ecx], ebx
jle 0x100567f6
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x10056802
mov eax, dword [edx]
mov ecx, edx
mov edx, dword [eax + 0x10]
call edx
mov edx, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x1005680c
mov byte [ebp + 0x11], al
jmp 0x10056811
xor edx, edx
mov dword [ebp + 0xc], edx
mov byte [ebp + 0x10], 1
mov ecx, dword [ebp + 0x14]
cmp byte [ebp + 0x18], bl
jne 0x1005684a
cmp ecx, ebx
je 0x10056848
mov eax, dword [ecx + 0x20]
cmp dword [eax], ebx
je 0x10056836
mov esi, dword [ecx + 0x30]
cmp dword [esi], ebx
jle 0x10056836
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x10056843
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
cmp eax, 0xffffffff
jne 0x1005684a
xor ecx, ecx
cmp edx, ebx
jne 0x10056863
cmp ecx, ebx
je 0x10056867
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
jge 0x10056870
or dword [eax], 2
jmp 0x10056879
cmp ecx, ebx
je 0x10056852
mov eax, dword [esp + 0x18]
or dword [eax], 1
jmp 0x10056856
mov eax, dword [esp + 0x2c]
setne cl
mov byte [eax], cl
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 0x10]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.1026af30
mov esp, ebp
pop ebp
ret 0x20