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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xac
mov dword [esp + 0x5c], eax
lea ebx, [esp + 0x69]
mov eax, dword [0xd3b044]
mov dword [esp + 0x9c], eax
xor eax, eax
lea eax, [esp + 0x6b]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x6a]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
lea eax, [esp + 0x70]
mov dword [esp + 4], eax
lea eax, [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], ecx
call fcn.0053c7e0
lea eax, [esp + 0x6b]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x6a]
mov dword [esp + 8], eax
lea eax, [esp + 0x78]
mov dword [esp + 4], eax
lea eax, [esp + 0x6c]
mov dword [esp], eax
call fcn.0053c840
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x50], eax
cmp eax, dword [esp + 0x6c]
jl 0x59887d
mov eax, dword [esp + 0x58]
lea esi, [esp + 0x74]
mov dword [esp + 0x4c], eax
jmp 0x598585
cmp edx, dword [esp + 0x70]
je 0x598840
lea eax, [esp + 0x98]
lea ebp, [esp + 0x84]
mov dword [esp + 8], esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x94]
lea edi, [esp + 0x58]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x90]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x80]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
mov dword [esp + 0x10], ebp
mov dword [esp], edi
call fcn.0053cad0
mov eax, dword [esp + 0x80]
test eax, eax
je 0x5986b0
mov dword [esp], ebx
call fcn.0053cbb0
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x8c]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x88]
mov dword [esp + 0xc], edx
mov dword [esp + 0x40], edx
lea edx, [esp + 0x70]
mov dword [esp + 0x14], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], edi
call fcn.0053cbe0
mov eax, dword [esp + 0x84]
test eax, eax
je 0x5986b0
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 8], ebx
lea ecx, [esp + 0x90]
lea ebp, [esp + 0x98]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x70]
mov dword [esp + 4], eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0xc], edx
mov dword [esp], edi
call fcn.0053ccc0
mov eax, dword [esp + 0x88]
test eax, eax
je 0x5986b0
lea eax, [esp + 0x70]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.0053d550
mov eax, dword [esp + 0x78]
test eax, eax
je 0x5986d0
cmp eax, dword [esp + 0x74]
je 0x598860
mov byte [esp + 0x6a], 7
mov byte [esp + 0x6b], 4
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.00402690
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x6c], eax
cmp eax, ecx
jg 0x59887d
mov eax, dword [esp + 0x4c]
mov eax, dword [eax]
mov eax, dword [eax]
test eax, 0x40000000
jne 0x5986b0
lea eax, [esp + 0x78]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
lea eax, [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 8], esi
call fcn.0053c890
movzx eax, byte [esp + 0x69]
cmp al, byte [esp + 0x6a]
jae 0x5985d1
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x74], ecx
je 0x598561
cmp al, byte [esp + 0x6b]
jb 0x5986f0
mov edx, dword [esp + 0x74]
test edx, edx
jne 0x598410
cmp al, 0xa
ja 0x598798
lea edi, [esp + 0x70]
lea eax, [esp + 0x94]
mov dword [esp + 0xc], edi
lea ecx, [esp + 0x88]
lea edi, [esp + 0x6c]
mov dword [esp + 0x3c], eax
lea edx, [esp + 0x90]
lea ebp, [esp + 0x84]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x8c]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 8], edi
lea edi, [esp + 0x58]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
mov dword [esp + 4], edi
mov dword [esp], ecx
mov dword [esp + 0x40], eax
call fcn.0053cdb0
mov ebp, dword [esp + 0x8c]
test ebp, ebp
je 0x5986b0
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x90]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], esi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x70]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.0053d2a0
mov ecx, dword [esp + 0x90]
test ecx, ecx
jne 0x59852d
lea esi, [esi]
xor eax, eax
mov edx, dword [esp + 0x9c]
sub edx, dword [0xd3b044]
jne 0x598887
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x6a]
mov dword [esp], eax
call fcn.0053d600
lea eax, [esp + 0x6b]
mov dword [esp], eax
call fcn.0053d630
jmp 0x598561
lea eax, [esp + 0x94]
lea edx, [esp + 0x7c]
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x5c]
lea edi, [esp + 0x58]
lea eax, [esp + 0x80]
mov dword [esp + 0x44], ecx
lea ebp, [esp + 0x98]
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], edx
jmp 0x59873b
mov dword [esp], ebx
call fcn.0053ca50
cmp byte [esp + 0x69], 0
je 0x59852d
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], eax
lea eax, [esp + 0x8c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x70]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x6c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.0053c970
mov eax, dword [esp + 0x7c]
test eax, eax
jne 0x598728
jmp 0x5986b0
lea eax, [esp + 0x94]
lea edx, [esp + 0x88]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x90]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x80]
lea ebp, [esp + 0x98]
mov dword [esp + 0xc], eax
lea edi, [esp + 0x58]
lea eax, [esp + 0x70]
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ebp
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], ecx
call fcn.0053d380
mov edx, dword [esp + 0x94]
test edx, edx
je 0x5986b0
lea eax, [esp + 0x8c]
lea edx, [esp + 0x88]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], eax
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.0053d460
mov eax, dword [esp + 0x98]
test eax, eax
jne 0x59852d
jmp 0x5986b0
lea eax, [esp + 0x94]
lea edi, [esp + 0x58]
mov dword [esp + 0x3c], eax
lea ebp, [esp + 0x84]
jmp 0x598484
lea eax, [esp + 0x6a]
mov dword [esp], eax
call fcn.0053d660
lea eax, [esp + 0x6b]
mov dword [esp], eax
call fcn.0053d6e0
jmp 0x598561
mov eax, 1
jmp 0x5986b2
call fcn.00401690
nop
nop
nop
nop
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0xa4]
lea ebp, [esp + 0x38]
lea edi, [esp + 0x34]
lea esi, [esp + 0x30]
lea ebx, [esp + 0x2c]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x2c], eax
mov eax, dword [0xd3b044]
mov dword [esp + 0x4c], eax
xor eax, eax
lea eax, [esp + 0x40]
mov dword [esp + 8], edi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x10], eax
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.0053e290
lea eax, [esp + 0x48]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x14], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x10], eax
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.0053e370
mov eax, dword [esp + 0x4c]
sub eax, dword [0xd3b044]
jne 0x598919
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.00401690
nop
nop