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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10347978
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10525930]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x10525930]
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 0x10056558
lea eax, [esp + 0x14]
push eax
call fcn.10002140
xor ebx, ebx
push eax
mov dword [esp + 0x84], ebx
call fcn.10007010
add esp, 4
lea ecx, [esp + 0x14]
mov esi, eax
mov dword [esp + 0x80], 0xffffffff
call fcn.100018b0
push ebx
push 1
lea ecx, [esp + 0x38]
call fcn.10046d90
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
mov dword [esp + 0x84], 1
call fcn.10005cb0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x8c], 2
call fcn.100064b0
mov edi, 0x10
mov byte [esp + 0x80], 1
cmp dword [esp + 0x6c], edi
jb 0x10056483
mov edx, dword [esp + 0x58]
push edx
call fcn.1025a370
add esp, 4
lea ecx, [esp + 0x50]
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
call fcn.10001370
push ebx
push 1
lea ecx, [esp + 0x38]
call fcn.10005f00
lea eax, [esp + 0x50]
push eax
mov ecx, esi
call fcn.10005cd0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x8c], 3
call fcn.100064b0
mov byte [esp + 0x80], 1
cmp dword [esp + 0x6c], edi
jb 0x100564e4
mov ecx, dword [esp + 0x58]
push ecx
call fcn.1025a370
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.10001370
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x4c], edi
jae 0x1005650c
lea eax, [esp + 0x38]
push eax
push 2
lea edx, [ebp + 0x14]
push edx
lea eax, [ebp + 0xc]
push eax
call fcn.10059e00
add esp, 0x10
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x14], eax
cmp dword [esp + 0x4c], edi
jb 0x10056541
mov ecx, dword [esp + 0x38]
push ecx
call fcn.1025a370
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
call fcn.10001370
jmp 0x100565d5
lea edx, [esp + 0x28]
xor ebx, ebx
push edx
mov dword [esp + 0x20], ebx
call fcn.10002140
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.10057b90
add esp, 0x18
push eax
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.1023a230
add esp, 0x10
lea ecx, [esp + 0x28]
mov esi, eax
mov dword [esp + 0x80], 0xffffffff
call fcn.100018b0
lea ecx, [esp + 0x50]
cmp dword [esp + 0x20], ecx
je 0x100565d5
cmp dword [esp + 0x1c], ebx
jne 0x100565d5
cmp esi, 1
ja 0x100565d5
mov dword [esp + 0x14], esi
mov edx, dword [ebp + 0xc]
cmp byte [ebp + 0x10], bl
jne 0x10056615
cmp edx, ebx
je 0x1005660c
mov eax, dword [edx + 0x20]
cmp dword [eax], ebx
je 0x100565f6
mov ecx, dword [edx + 0x30]
cmp dword [ecx], ebx
jle 0x100565f6
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x10056602
mov eax, dword [edx]
mov ecx, edx
mov edx, dword [eax + 0x10]
call edx
mov edx, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x1005660c
mov byte [ebp + 0x11], al
jmp 0x10056611
xor edx, edx
mov dword [ebp + 0xc], edx
mov byte [ebp + 0x10], 1
mov ecx, dword [ebp + 0x14]
cmp byte [ebp + 0x18], bl
jne 0x1005664a
cmp ecx, ebx
je 0x10056648
mov eax, dword [ecx + 0x20]
cmp dword [eax], ebx
je 0x10056636
mov esi, dword [ecx + 0x30]
cmp dword [esi], ebx
jle 0x10056636
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x10056643
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 0x1005664a
xor ecx, ecx
cmp edx, ebx
jne 0x10056663
cmp ecx, ebx
je 0x10056667
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
jge 0x10056670
or dword [eax], 2
jmp 0x10056679
cmp ecx, ebx
je 0x10056652
mov eax, dword [esp + 0x18]
or dword [eax], 1
jmp 0x10056656
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.102595a0
mov esp, ebp
pop ebp
ret 0x20