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

Disassembly:
sub esp, 0x4c
push ebx
mov ebx, dword [esp + 0x78]
xor eax, eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x80]
inc eax
mov dword [esp + 0x28], edx
xor edx, edx
add edi, eax
mov dword [esp + 0x1c], ecx
mov ebp, edi
mov dword [esp + 0x2c], edx
adc ebx, edx
mov dword [esp + 0x54], edi
sub ebp, dword [esp + 0x60]
mov ecx, ebx
mov dword [esp + 0x58], ebx
sbb ecx, dword [esp + 0x64]
add ebp, eax
adc ecx, edx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x78]
mov esi, ecx
neg esi
mov dword [esp + 0x18], ecx
mov ecx, esi
mov dword [esp + 0x30], esi
call 0x5acfdf
mov dword [esp + 0x38], eax
mov ecx, esi
mov dword [esp + 0x34], edx
mov eax, edi
mov edx, ebx
call 0x5a862f
mov edx, dword [esp + 0x34]
mov ecx, eax
mov eax, dword [esp + 0x38]
add eax, 0xffffffff
mov dword [esp + 0x20], ecx
mov esi, eax
mov dword [esp + 0x4c], eax
adc edx, 0xffffffff
lea eax, [esp + 0x24]
mov dword [esp + 0x50], edx
and esi, edi
and edx, ebx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x18]
push eax
lea eax, [esp + 0x40]
push eax
lea edx, [edx + 0x40]
call fcn.00590397
mov eax, dword [esp + 0x2c]
pop ecx
pop ecx
mov ecx, dword [esp + 0x28]
push 0xa
pop edx
mov dword [ecx], eax
mov ecx, dword [esp + 0x1c]
and dword [ecx], 0
test eax, eax
jle 0x59051c
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x20]
xor edx, edx
div ecx
mov dword [esp + 0x20], edx
lea edx, [eax + 0x30]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov eax, dword [esp + 0x90]
mov byte [eax + ecx], dl
xor edx, edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
inc dword [eax]
mov eax, dword [eax]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x28]
dec dword [eax]
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
call 0x5acfdf
add eax, esi
mov ecx, edx
mov dword [esp + 0x44], eax
adc ecx, dword [esp + 0x10]
mov dword [esp + 0x40], ecx
cmp ecx, dword [esp + 0x14]
jb 0x59061f
ja 0x5904fd
cmp eax, ebp
jb 0x59061f
mov eax, dword [esp + 0x24]
xor edx, edx
push 0xa
pop ecx
div ecx
cmp dword [esp + 0x3c], 0
mov ecx, eax
mov dword [esp + 0x24], ecx
jg 0x590493
push 0xa
pop edx
neg dword [esp + 0x18]
xor ebx, ebx
mov edi, dword [esp + 0x14]
inc ebx
mov ecx, dword [esp + 0x10]
push 0
push edx
push ecx
push esi
call fcn.00597e9f
push 0
push 0xa
mov esi, eax
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x34]
pop eax
push eax
push edx
push ebx
mov dword [esp + 0x58], esi
call fcn.00597e9f
push 0
push 0xa
mov ebx, eax
mov dword [esp + 0x34], edx
pop eax
push eax
push edi
push ebp
call fcn.00597e9f
mov ecx, dword [esp + 0x18]
mov ebp, eax
mov edi, edx
mov eax, esi
mov edx, dword [esp + 0x10]
call 0x5a862f
mov edx, dword [esp + 0x1c]
add al, 0x30
mov ecx, dword [esp + 0x90]
push 0xa
mov esi, dword [edx]
mov byte [ecx + esi], al
inc dword [edx]
mov eax, dword [edx]
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x14]
and esi, dword [esp + 0x50]
and ecx, dword [esp + 0x54]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x2c]
pop edx
dec dword [eax]
cmp ecx, edi
ja 0x59052b
jb 0x5905bb
cmp esi, ebp
jae 0x59052b
push dword [esp + 0x94]
mov edx, dword [esp + 0x30]
push dword [esp + 0x94]
mov dword [esp + 0x58], ebx
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x60]
push edx
push eax
push dword [esp + 0x44]
mov dword [esp + 0x28], edi
push dword [esp + 0x4c]
mov edi, dword [esp + 0x6c]
sub edi, dword [esp + 0x88]
push ecx
sbb ebx, dword [esp + 0x90]
push esi
push dword [esp + 0x34]
push ebp
push edx
push eax
push ebx
push edi
call fcn.00597e9f
mov ecx, dword [esp + 0x6c]
push edx
push eax
call fcn.00590105
add esp, 0x30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
push dword [esp + 0x94]
sub edi, dword [esp + 0x74]
push dword [esp + 0x94]
sbb ebx, dword [esp + 0x7c]
xor edx, edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
push 0
push 1
call 0x5acfdf
mov ecx, dword [esp + 0x58]
push edx
push eax
push dword [esp + 0x58]
push dword [esp + 0x60]
push dword [esp + 0x34]
push ebp
push ebx
push edi
jmp 0x59060f