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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x604a13
sub esp, 0x70
mov eax, dword [esp + 0x78]
test eax, eax
je 0x60426e
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x72eacc]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call fcn.00478d40
mov eax, dword [esp + 0x10]
test eax, eax
je 0x6041ff
lea ecx, [eax + 1]
mov edx, dword [esp + 0x78]
cmp edx, ecx
je 0x6041d3
mov dword [esp + 0x5c], eax
mov dword [esp + 0x28], ecx
lea eax, [0x68d6c0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], edx
call fcn.0044aea0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x5c]
cmp ecx, 0xffffffff
je 0x6041c8
mov edx, dword [esp + 0x78]
cmp edx, ecx
jb 0x604a0d
mov ebx, dword [esp + 0x74]
mov ebp, edx
xor esi, esi
xor edi, edi
jmp 0x604965
mov ecx, dword [esp + 0x78]
xor edx, edx
jmp 0x60429b
mov eax, dword [esp + 0x74]
mov dword [esp + 0x7c], eax
lea eax, [edx - 1]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x70
ret
lea eax, [0x6ada60]
mov dword [esp], eax
call fcn.0040bd00
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x78]
mov dword [edi + 4], eax
mov eax, dword [0x8e7a50]
test eax, eax
jne 0x60422a
mov eax, dword [esp + 0x74]
mov dword [edi], eax
jmp 0x604233
mov eax, dword [esp + 0x74]
call fcn.00464190
mov dword [edi + 0xc], 2
lea eax, [0x6c7fde]
mov dword [edi + 8], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x730cc4]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x70
ret
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x70
ret
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x74]
mov esi, dword [esp + 0x28]
xor edi, edi
mov edi, 0x48
mov dword [esp + 0x4c], edi
mov edi, pe_nt_image_headers32
mov dword [esp + 0x34], edi
xor edi, edi
jmp 0x6042ee
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x58]
mov dword [eax + edx*4], ebx
mov edx, dword [esp + 0x78]
mov ebp, dword [esp + 0x74]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x30]
mov edi, ecx
mov ecx, dword [esp + 0x30]
mov edx, esi
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x78]
mov esi, dword [esp + 0x28]
cmp ebx, esi
jle 0x6044c6
mov dword [esp + 0x2c], edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x60], eax
mov eax, 1
mov dword [esp + 0x20], eax
mov eax, 0x24
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x60]
jmp 0x604536
mov edx, dword [esp + 0x2c]
cmp edx, 0x400
jge 0x6046ed
mov ebx, dword [esp + 0x3c]
mov ebp, edi
sub edi, ebx
test ebx, ebx
jne 0x604350
mov eax, 0x5d9f7391
mov ebx, edx
imul edi
sar edx, 8
sar edi, 0x1f
sub edx, edi
jmp 0x60435f
mov ebx, edi
shr edi, 0x1f
add ebx, edi
sar ebx, 1
mov eax, ebx
mov ebx, edx
mov edx, eax
inc ebx
test ebx, ebx
je 0x60494f
mov eax, edx
mov esi, eax
cmp ebx, 0xffffffff
je 0x604376
cdq
idiv ebx
jmp 0x604378
neg eax
lea edx, [esi + eax]
xor eax, eax
jmp 0x6048bc
lea esi, [edx + edx*8]
cmp edx, 0xffffffda
je 0x60494a
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x44], edx
mov edi, eax
mov eax, ebp
cmp ebx, 0xffffffff
je 0x6043a4
cdq
idiv ebx
jmp 0x6043a6
neg eax
mov edx, dword [esp + 0x34]
add edx, eax
mov eax, ebp
mov ebp, edx
cmp ebx, 0xffffffff
je 0x6043ba
cdq
idiv ebx
jmp 0x6043bc
xor edx, edx
mov dword [esp + 0x3c], edx
shl esi, 2
mov edx, dword [esp + 0x44]
add edx, 0x26
mov eax, esi
mov ebx, edx
cmp ebx, 0xffffffff
je 0x6043d8
cdq
idiv ebx
jmp 0x6043da
neg eax
lea edx, [eax + edi]
cmp ebp, 0x10ffff
ja 0x6048c9
mov dword [esp + 0x4c], edx
mov dword [esp + 0x58], ebp
mov ebx, dword [esp + 0x5c]
cmp ecx, ebx
jb 0x6043ff
mov eax, dword [esp + 0x68]
jmp 0x604439
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x68d6c0]
mov dword [esp + 0x10], eax
call fcn.0044af60
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x58]
mov dword [eax + ebx*4 - 4], 0
mov esi, dword [esp + 0x3c]
lea edi, [esi + 1]
cmp ebx, edi
jb 0x604941
mov dword [esp + 0x30], ecx
sub ecx, esi
lea edx, [ecx - 1]
neg edx
mov ecx, edi
shl edi, 2
sar edx, 0x1f
and edx, edi
add edx, eax
mov edi, ebx
sub ebx, esi
cmp edi, esi
jb 0x604938
mov dword [esp + 0x5c], edi
dec ebx
sub edi, esi
mov ebp, dword [esp + 0x30]
sub ebp, esi
xchg ebp, ebx
neg ebx
xchg ebp, ebx
shl esi, 2
sar ebp, 0x1f
and ebp, esi
add ebp, eax
cmp edi, ebx
jl 0x604496
mov edi, ebx
cmp ebp, edx
je 0x6042bf
mov dword [esp + 0x6c], eax
mov dword [esp + 0x54], ecx
mov dword [esp], edx
mov dword [esp + 4], ebp
shl edi, 2
mov dword [esp + 8], edi
call fcn.00464b20
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x54]
jmp 0x6042bf
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.0044efe0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x70
ret
mov edx, dword [esp + 0x38]
add edx, 0x24
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x74]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x2c]
cmp ebx, esi
je 0x60483a
jbe 0x604954
movzx edx, byte [ebp + esi]
lea ebp, [edx - 0x30]
xchg ebp, eax
cmp al, 9
xchg ebp, eax
ja 0x604560
add edx, 0xffffffea
movzx edx, dl
mov ebp, 1
jmp 0x60458c
lea ebp, [edx - 0x41]
xchg ebp, eax
cmp al, 0x19
xchg ebp, eax
ja 0x604576
xchg ebp, eax
movzx edx, al
xchg ebp, eax
mov ebp, 1
jmp 0x60458c
add edx, 0xffffff9f
cmp dl, 0x19
ja 0x604588
movzx edx, dl
mov ebp, 1
jmp 0x60458c
xor edx, edx
xor ebp, ebp
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x6047cb
mov dword [esp + 0x40], edx
mov dword [esp + 0x58], edi
mov dword [esp + 0x28], esi
mov eax, edx
mov ebp, dword [esp + 0x20]
mul ebp
sar edi, 0x1f
mov ebx, 0x7fffffff
mov esi, dword [esp + 0x58]
sub ebx, esi
mov esi, 0
sbb esi, edi
mov edi, dword [esp + 0x40]
sar edi, 0x1f
imul edi, ebp
add edx, edi
sar ebp, 0x1f
mov edi, dword [esp + 0x40]
imul edi, ebp
add edx, edi
cmp esi, edx
xchg edi, ebx
sete bl
xchg edi, ebx
cmp eax, ebx
seta bl
cmp esi, edx
setl dl
and ebx, edi
or ebx, edx
test bl, bl
jne 0x60475c
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x4c]
mov esi, edx
sub edx, ebx
mov edi, dword [esp + 0x58]
add edi, eax
cmp esi, ebx
jg 0x604615
mov eax, ebx
mov edx, 1
jmp 0x604623
mov eax, ebx
add ebx, 0x1a
cmp esi, ebx
jl 0x604623
mov edx, 0x1a
mov ebx, dword [esp + 0x28]
inc ebx
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x40]
cmp edx, ebx
jg 0x604321
mov dword [esp + 0x58], edi
add edx, 0xffffffdc
neg edx
mov dword [esp + 0x48], edx
mov eax, edx
mov ebx, dword [esp + 0x20]
mul ebx
cmp eax, 0x7fffffff
xchg edi, ebx
seta bl
xchg edi, ebx
mov esi, dword [esp + 0x48]
imul ebp, esi
sar esi, 0x1f
imul ebx, esi
add edx, ebx
add edx, ebp
test edx, edx
sete dl
setg bl
and edx, edi
or ebx, edx
test bl, bl
je 0x60450b
lea eax, [0x6ada60]
mov dword [esp], eax
call fcn.0040bd00
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x78]
mov dword [edi + 4], eax
mov eax, dword [0x8e7a50]
test eax, eax
jne 0x6046a9
mov eax, dword [esp + 0x74]
mov dword [edi], eax
jmp 0x6046b2
mov eax, dword [esp + 0x74]
call fcn.00464190
mov dword [edi + 0xc], 2
lea eax, [0x6c7fde]
mov dword [edi + 8], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x730cc4]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x70
ret
lea eax, [0x6ada60]
mov dword [esp], eax
call fcn.0040bd00
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x78]
mov dword [edi + 4], eax
mov eax, dword [0x8e7a50]
test eax, eax
jne 0x604718
mov eax, dword [esp + 0x74]
mov dword [edi], eax
jmp 0x604721
mov eax, dword [esp + 0x74]
call fcn.00464190
mov dword [edi + 0xc], 2
lea eax, [0x6c7fde]
mov dword [edi + 8], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x730cc4]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x70
ret
lea eax, [0x6ada60]
mov dword [esp], eax
call fcn.0040bd00
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x78]
mov dword [edi + 4], eax
mov eax, dword [0x8e7a50]
test eax, eax
jne 0x604787
mov eax, dword [esp + 0x74]
mov dword [edi], eax
jmp 0x604790
mov eax, dword [esp + 0x74]
call fcn.00464190
mov dword [edi + 0xc], 2
lea eax, [0x6c7fde]
mov dword [edi + 8], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x730cc4]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x70
ret
lea eax, [0x6ada60]
mov dword [esp], eax
call fcn.0040bd00
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x78]
mov dword [edi + 4], eax
mov eax, dword [0x8e7a50]
test eax, eax
jne 0x6047f6
mov eax, dword [esp + 0x74]
mov dword [edi], eax
jmp 0x6047ff
mov eax, dword [esp + 0x74]
call fcn.00464190
mov dword [edi + 0xc], 2
lea eax, [0x6c7fde]
mov dword [edi + 8], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x730cc4]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x70
ret
lea eax, [0x6ada60]
mov dword [esp], eax
call fcn.0040bd00
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x78]
mov dword [edi + 4], eax
mov eax, dword [0x8e7a50]
test eax, eax
jne 0x604865
mov eax, dword [esp + 0x74]
mov dword [edi], eax
jmp 0x60486e
mov eax, dword [esp + 0x74]
call fcn.00464190
mov dword [edi + 0xc], 2
lea eax, [0x6c7fde]
mov dword [edi + 8], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x730cc4]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x70
ret
mov esi, eax
mov eax, 0xea0ea0eb
mov edi, edx
imul edx
add edx, edi
sar edx, 5
lea eax, [esi + 0x24]
cmp edx, 0x1c7
jg 0x6048a9
jmp 0x604382
lea eax, [0x6ada60]
mov dword [esp], eax
call fcn.0040bd00
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x78]
mov dword [edi + 4], eax
mov eax, dword [0x8e7a50]
test eax, eax
jne 0x6048f4
mov eax, dword [esp + 0x74]
mov dword [edi], eax
jmp 0x6048fd
mov eax, dword [esp + 0x74]
call fcn.00464190
mov dword [edi + 0xc], 2
lea eax, [0x6c7fde]
mov dword [edi + 8], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x730cc4]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x70
ret
mov eax, esi
mov ecx, edi
call fcn.00464270
mov eax, edi
mov ecx, ebx
call fcn.00464270
call fcn.00435010
call fcn.00435010
mov eax, esi
mov ecx, ebx
call fcn.00464210
mov dword [eax + edi*4 - 4], ebp
mov ebp, dword [esp + 0x78]
cmp esi, ecx
jge 0x604a04
movzx ebp, byte [ebx + esi]
cmp ebp, 0x80
jge 0x60497c
inc esi
jmp 0x6049b4
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x68], eax
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call fcn.0045cc80
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x74]
mov edi, dword [esp + 0x2c]
inc edi
cmp edx, edi
jae 0x60495d
mov dword [esp + 0x24], ebp
mov dword [esp + 0x50], esi
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x68d6c0]
mov dword [esp + 0x10], eax
call fcn.0044af60
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x50]
jmp 0x60495d
mov ecx, edx
mov edx, edi
jmp 0x60429b
call fcn.00464230
nop
call fcn.00462d80
jmp fcn.00604120