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

Disassembly:
mov ecx, dword [0x8c8600]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x618c19
sub esp, 0x68
mov eax, dword [esp + 0x70]
test eax, eax
je 0x6186e6
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x702299]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call fcn.004d3630
mov eax, dword [esp + 0x10]
test eax, eax
je 0x6186ab
lea ecx, [eax + 1]
mov edx, dword [esp + 0x70]
cmp edx, ecx
je 0x618685
mov dword [esp + 0x5c], eax
mov dword [esp + 0x28], ecx
lea eax, [0x6c01c0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], edx
call fcn.004726e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x5c]
cmp ecx, 0xffffffff
je 0x61867a
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x6c]
mov ebp, edx
xor esi, esi
xor edi, edi
jmp 0x618b73
xor ecx, ecx
mov edx, dword [esp + 0x70]
jmp 0x61870d
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x74], eax
lea eax, [edx - 1]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
call fcn.00618560
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x68
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x68
ret
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x28]
xor edi, edi
mov edi, 0x48
mov dword [esp + 0x44], edi
mov edi, pe_nt_image_headers32
mov dword [esp + 0x34], edi
xor edi, edi
jmp 0x618769
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x58]
mov dword [ebp + eax*4], edx
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x54]
mov ecx, ebx
mov eax, ebp
mov dword [esp + 0x34], edx
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x6c]
mov edx, dword [esp + 0x30]
cmp ebx, esi
jle 0x6188e1
mov dword [esp + 0x3c], edi
mov dword [esp + 0x60], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x48], eax
mov eax, 1
mov dword [esp + 0x20], eax
mov eax, 0x24
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
jmp 0x61894f
mov eax, dword [esp + 0x2c]
cmp eax, 0x400
jge 0x618a82
inc eax
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x3c]
sub ebp, ecx
mov dword [esp], ebp
mov dword [esp + 4], eax
test ecx, ecx
sete cl
mov byte [esp + 8], cl
call fcn.006194b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x618b66
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x58]
mov ebx, eax
cmp ecx, 0xffffffff
je 0x6187f3
cdq
idiv ecx
jmp 0x6187f5
neg eax
mov edx, dword [esp + 0x34]
add edx, eax
mov eax, ebx
mov ebx, edx
cmp ecx, 0xffffffff
je 0x618809
cdq
idiv ecx
jmp 0x61880b
xor edx, edx
cmp ebx, 0x10ffff
ja 0x618a47
mov dword [esp + 0x58], ebx
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x30]
cmp eax, ecx
jb 0x61882d
mov ebp, dword [esp + 0x60]
jmp 0x61886b
mov edx, dword [esp + 0x60]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x6c01c0]
mov dword [esp + 0x10], eax
call fcn.00472770
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x58]
mov ebp, eax
mov eax, edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
mov dword [ebp + ecx*4 - 4], 0
mov esi, eax
sub eax, edx
mov edi, ecx
sub ecx, edx
dec ecx
dec eax
neg eax
sar eax, 0x1f
lea ebx, [edx + 1]
mov dword [esp + 0x54], ebx
shl ebx, 2
and eax, ebx
mov ebx, edi
sub edi, edx
sub esi, edx
xchg esi, ebx
neg ebx
xchg esi, ebx
shl edx, 2
sar esi, 0x1f
and esi, edx
add eax, ebp
lea edx, [esi + ebp]
cmp edi, ecx
jl 0x6188b1
mov edi, ecx
cmp edx, eax
je 0x618731
mov dword [esp + 0x64], ebp
mov dword [esp + 0x5c], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
shl edi, 2
mov dword [esp + 8], edi
call fcn.00477ad0
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x64]
jmp 0x618731
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.00456310
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x68
ret
mov eax, dword [esp + 0x38]
add eax, 0x24
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x20], ecx
mov edi, dword [esp + 0x58]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x2c]
cmp ebx, esi
je 0x618b33
mov dword [esp + 0x58], edi
mov dword [esp + 0x28], esi
movzx eax, byte [ebp + esi]
mov byte [esp], al
call fcn.006193e0
movzx eax, byte [esp + 8]
mov ecx, dword [esp + 4]
test al, al
je 0x618af8
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
call fcn.00619350
movzx eax, byte [esp + 0x10]
test al, al
jne 0x618abd
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
mov edx, eax
sub eax, ecx
cmp edx, ecx
jg 0x6189b9
mov eax, 1
jmp 0x6189c5
lea ebx, [ecx + 0x1a]
cmp edx, ebx
jl 0x6189c5
mov eax, 0x1a
mov ebx, dword [esp + 0x28]
inc ebx
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x58], ebp
mov esi, dword [esp + 0x40]
cmp eax, esi
jg 0x6187a0
mov dword [esp], 0
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
add eax, 0xffffffdc
neg eax
mov dword [esp + 8], eax
call fcn.00619350
movzx eax, byte [esp + 0x10]
test al, al
je 0x618920
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
call fcn.00618560
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
call fcn.00618560
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
call fcn.00618560
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
call fcn.00618560
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
call fcn.00618560
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x68
ret
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.00618560
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x68
ret
call fcn.0043a740
mov dword [eax + edi*4 - 4], ebp
mov ebp, dword [esp + 0x70]
cmp esi, ecx
jge 0x618c12
movzx ebp, byte [ebx + esi]
cmp ebp, 0x80
jge 0x618b8a
inc esi
jmp 0x618bc2
mov dword [esp + 0x60], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edx
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call fcn.00467e70
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x6c]
mov edi, dword [esp + 0x2c]
inc edi
cmp edx, edi
jae 0x618b6b
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, [0x6c01c0]
mov dword [esp + 0x10], eax
call fcn.00472770
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x50]
jmp 0x618b6b
mov ecx, edi
jmp 0x61870d
call fcn.00475ee0
jmp fcn.006185e0