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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff78
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5b5ea1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040509c
mov eax, dword [ebp - 0x68]
push eax
push 0x5b5ec0
mov ecx, 0x5b5efc
mov edx, 0x5b5f30
mov eax, dword [ebp + 8]
call fcn.005e99f0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10], 0
jne 0x5b5951
mov eax, dword [ebp - 4]
call fcn.005b63ec
mov byte [ebp - 0x33], 0
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8c]
push eax
call fcn.0059825c
mov byte [ebp - 9], al
call fcn.00594090
mov dword [ebp - 0x38], eax
cmp byte [ebp - 9], 0
jne 0x5b5999
cmp dword [ebp - 0x38], 0x3e5
jne 0x5b5999
cmp dword [ebp - 0x10], 0
jle 0x5b5999
cmp dword [ebp - 0x14], 0
jne 0x5b59b4
cmp byte [ebp - 9], 0
jne 0x5b59b8
cmp dword [ebp - 0x38], 0x6f7
jne 0x5b59b8
cmp dword [ebp - 0x10], 0
jle 0x5b59b8
cmp dword [ebp - 0x14], 0
je 0x5b59b8
mov byte [ebp - 9], 1
xor eax, eax
push ebp
push 0x5b5e58
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 9], 0
je 0x5b5dd0
mov eax, dword [ebp - 0x10]
dec eax
test eax, eax
jl 0x5b5e35
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x24]
call fcn.00406ed8
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 0x14]
lea eax, [edx + eax*4]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov edx, dword [eax + 0x2c]
mov eax, dword [eax + 0x28]
mov ecx, dword [ebp - 0x48]
add eax, dword [ecx + 0x30]
adc edx, dword [ecx + 0x34]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x9c]
add dword [ecx + 0x20], eax
adc dword [ecx + 0x24], edx
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x68]
xor edx, edx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x9c]
add dword [ecx + 0x40], eax
adc dword [ecx + 0x44], edx
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x5c]
xor edx, edx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x9c]
add dword [ecx + 0x28], eax
adc dword [ecx + 0x2c], edx
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x70]
xor edx, edx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x9c]
add dword [ecx + 0x30], eax
adc dword [ecx + 0x34], edx
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x78]
xor edx, edx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x9c]
add dword [ecx + 0x38], eax
adc dword [ecx + 0x3c], edx
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0x44], 0
jne 0x5b5ad7
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.005b7b24
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.005b53cc
mov eax, dword [ebp - 0x48]
mov edx, dword [eax + 0x2c]
mov eax, dword [eax + 0x28]
mov ecx, dword [ebp - 0x48]
add eax, dword [ecx + 0x30]
adc edx, dword [ecx + 0x34]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x9c]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edx
jmp 0x5b5bfc
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0x44], 4
jne 0x5b5afe
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x48]
add eax, 0x38
call fcn.00598b90
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.005b53cc
jmp 0x5b5bfc
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x48]
add eax, 0x38
call fcn.00598b90
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 8]
push eax
call fcn.00594fc8
test eax, eax
je 0x5b5bb0
xor eax, eax
push ebp
push 0x5b5b99
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x5b5b88
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 8]
mov dl, 1
mov eax, dword [0x5eca7c]
call fcn.005edbe0
mov dword [ebp - 0x3c], eax
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x24]
call fcn.00407ba8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b5b8f
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x54], eax
xor eax, eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x54]
call fcn.00405234
ret
cmp dword [ebp - 0x24], 0
je 0x5b5bc7
mov edx, 0x5b5f78
mov eax, dword [ebp - 0x24]
call fcn.0041ec68
test eax, eax
jne 0x5b5bfc
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x48]
mov edx, dword [eax + 0x50]
mov eax, dword [ebp - 4]
call fcn.005b7a70
cmp dword [ebp - 0x24], 0
je 0x5b5bef
mov edx, 0x5b5f78
mov eax, dword [ebp - 0x24]
call fcn.0041ec68
test eax, eax
jne 0x5b5bfc
lea eax, [ebp - 0x24]
mov edx, 0x5b5f5c
call fcn.00407300
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x9c]
mov dl, 1
mov eax, dword [0x5b3850]
call fcn.005b9790
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x32]
push eax
mov eax, dword [ebp - 0x48]
add eax, 0x20
push eax
call fcn.00597f40
mov eax, 0x1e
call fcn.004046d8
mov dword [ebp - 0x28], eax
xor eax, eax
push ebp
push 0x5b5cbd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf
lea eax, [ebp - 0x32]
mov ecx, dword [ebp - 0x28]
xor edx, edx
call fcn.005987cc
movzx eax, word [ebp - 0x32]
imul eax, eax, 0x15180
movzx edx, word [ebp - 0x30]
imul edx, edx, 0xe10
add eax, edx
movzx edx, word [ebp - 0x2e]
imul edx, edx, 0x3c
add eax, edx
xor edx, edx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 0x28]
call fcn.00598eb0
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x1c]
add eax, 0x18
call fcn.004072b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b5cc4
mov eax, dword [ebp - 0x28]
call fcn.004046f4
ret
push 0x5b5efc
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040509c
mov eax, dword [ebp - 0x78]
push eax
push 0x5b5ec0
push 0
push 1
push 0x5b5f98
mov eax, 0x5b5f98
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x84], 0x11
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa4]
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x7c], 0x11
lea eax, [ebp - 0x88]
push eax
push 1
mov ecx, 0x5b5fd8
mov dl, 1
mov eax, dword [0x5e5aa0]
call fcn.005e9b8c
call fcn.004065b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b5e5f
cmp dword [ebp - 0x14], 0
je 0x5b5e57
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0
call fcn.005981f4
ret