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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5f2c73
sub esp, 0x70
mov eax, dword [esp + 0x78]
test eax, eax
je 0x5f24ce
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x7c835c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call fcn.004b29a0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5f245f
lea ecx, [eax + 1]
mov edx, dword [esp + 0x78]
cmp edx, ecx
je 0x5f2433
mov dword [esp + 0x5c], eax
mov dword [esp + 0x3c], ecx
lea eax, [0x733fe0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], edx
call fcn.004426a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x5c]
cmp ecx, 0xffffffff
je 0x5f2428
mov edx, dword [esp + 0x78]
cmp edx, ecx
jb 0x5f2c6d
mov ebx, dword [esp + 0x74]
mov ebp, edx
xor esi, esi
xor edi, edi
jmp 0x5f2bc5
mov ecx, dword [esp + 0x78]
xor edx, edx
jmp 0x5f24fb
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, [0x74ef60]
mov dword [esp], eax
call fcn.0040b440
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x78]
mov dword [edi + 4], eax
mov eax, dword [0x900e70]
test eax, eax
jne 0x5f248a
mov eax, dword [esp + 0x74]
mov dword [edi], eax
jmp 0x5f2493
mov eax, dword [esp + 0x74]
call fcn.00456ac0
mov dword [edi + 0xc], 2
lea eax, [0x769768]
mov dword [edi + 8], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x7ca474]
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 + 0x3c]
xor edi, edi
mov edi, 0x48
mov dword [esp + 0x4c], edi
mov edi, pe_nt_image_headers32
mov dword [esp + 0x20], edi
xor edi, edi
jmp 0x5f254e
mov edx, dword [esp + 0x28]
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 + 0x38]
mov edi, ecx
mov ecx, dword [esp + 0x38]
mov edx, esi
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x78]
mov esi, dword [esp + 0x3c]
cmp ebx, esi
jle 0x5f2726
mov dword [esp + 0x34], edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x60], eax
mov eax, 1
mov dword [esp + 0x48], eax
mov eax, 0x24
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x60]
jmp 0x5f2796
mov edx, dword [esp + 0x34]
cmp edx, 0x400
jge 0x5f294d
mov ebx, dword [esp + 0x28]
mov ebp, edi
sub edi, ebx
test ebx, ebx
jne 0x5f25b0
mov eax, 0x5d9f7391
mov ebx, edx
imul edi
sar edx, 8
sar edi, 0x1f
sub edx, edi
jmp 0x5f25bf
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 0x5f2baf
mov eax, edx
mov esi, eax
cmp ebx, 0xffffffff
je 0x5f25d6
cdq
idiv ebx
jmp 0x5f25d8
neg eax
lea edx, [esi + eax]
xor eax, eax
jmp 0x5f2b1c
lea esi, [edx + edx*8]
cmp edx, 0xffffffda
je 0x5f2baa
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x30], edx
mov edi, eax
mov eax, ebp
cmp ebx, 0xffffffff
je 0x5f2604
cdq
idiv ebx
jmp 0x5f2606
neg eax
mov edx, dword [esp + 0x20]
add edx, eax
mov eax, ebp
mov ebp, edx
cmp ebx, 0xffffffff
je 0x5f261a
cdq
idiv ebx
jmp 0x5f261c
xor edx, edx
mov dword [esp + 0x28], edx
shl esi, 2
mov edx, dword [esp + 0x30]
add edx, 0x26
mov eax, esi
mov ebx, edx
cmp ebx, 0xffffffff
je 0x5f2638
cdq
idiv ebx
jmp 0x5f263a
neg eax
lea edx, [eax + edi]
cmp ebp, 0x10ffff
ja 0x5f2b29
mov dword [esp + 0x4c], edx
mov dword [esp + 0x58], ebp
mov ebx, dword [esp + 0x5c]
cmp ecx, ebx
jb 0x5f265f
mov eax, dword [esp + 0x68]
jmp 0x5f2699
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, [0x733fe0]
mov dword [esp + 0x10], eax
call fcn.00442820
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 + 0x28]
lea edi, [esi + 1]
cmp ebx, edi
jb 0x5f2ba1
mov dword [esp + 0x38], 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 0x5f2b98
mov dword [esp + 0x5c], edi
dec ebx
sub edi, esi
mov ebp, dword [esp + 0x38]
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 0x5f26f6
mov edi, ebx
cmp ebp, edx
je 0x5f251f
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.00457450
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x54]
jmp 0x5f251f
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.004459a0
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 + 0x24]
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 + 0x3c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x34]
cmp ebx, esi
je 0x5f2a9a
jbe 0x5f2bb4
movzx edx, byte [ebp + esi]
lea ebp, [edx - 0x30]
xchg ebp, eax
cmp al, 9
xchg ebp, eax
ja 0x5f27c0
add edx, 0xffffffea
movzx edx, dl
mov ebp, 1
jmp 0x5f27ec
lea ebp, [edx - 0x41]
xchg ebp, eax
cmp al, 0x19
xchg ebp, eax
ja 0x5f27d6
xchg ebp, eax
movzx edx, al
xchg ebp, eax
mov ebp, 1
jmp 0x5f27ec
add edx, 0xffffff9f
cmp dl, 0x19
ja 0x5f27e8
movzx edx, dl
mov ebp, 1
jmp 0x5f27ec
xor edx, edx
xor ebp, ebp
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5f2a2b
mov dword [esp + 0x2c], edx
mov dword [esp + 0x58], edi
mov dword [esp + 0x3c], esi
mov eax, edx
mov ebp, dword [esp + 0x48]
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 + 0x2c]
sar edi, 0x1f
imul edi, ebp
add edx, edi
sar ebp, 0x1f
mov edi, dword [esp + 0x2c]
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 0x5f29bc
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x4c]
mov esi, edx
sub edx, ebx
mov edi, dword [esp + 0x58]
add edi, eax
cmp esi, ebx
jg 0x5f2875
mov eax, ebx
mov edx, 1
jmp 0x5f2883
mov eax, ebx
add ebx, 0x1a
cmp esi, ebx
jl 0x5f2883
mov edx, 0x1a
mov ebx, dword [esp + 0x3c]
inc ebx
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x2c]
cmp edx, ebx
jg 0x5f2581
mov dword [esp + 0x58], edi
add edx, 0xffffffdc
neg edx
mov dword [esp + 0x40], edx
mov eax, edx
mov ebx, dword [esp + 0x48]
mul ebx
cmp eax, 0x7fffffff
xchg edi, ebx
seta bl
xchg edi, ebx
mov esi, dword [esp + 0x40]
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 0x5f276b
lea eax, [0x74ef60]
mov dword [esp], eax
call fcn.0040b440
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x78]
mov dword [edi + 4], eax
mov eax, dword [0x900e70]
test eax, eax
jne 0x5f2909
mov eax, dword [esp + 0x74]
mov dword [edi], eax
jmp 0x5f2912
mov eax, dword [esp + 0x74]
call fcn.00456ac0
mov dword [edi + 0xc], 2
lea eax, [0x769768]
mov dword [edi + 8], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x7ca474]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x70
ret
lea eax, [0x74ef60]
mov dword [esp], eax
call fcn.0040b440
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x78]
mov dword [edi + 4], eax
mov eax, dword [0x900e70]
test eax, eax
jne 0x5f2978
mov eax, dword [esp + 0x74]
mov dword [edi], eax
jmp 0x5f2981
mov eax, dword [esp + 0x74]
call fcn.00456ac0
mov dword [edi + 0xc], 2
lea eax, [0x769768]
mov dword [edi + 8], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x7ca474]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x70
ret
lea eax, [0x74ef60]
mov dword [esp], eax
call fcn.0040b440
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x78]
mov dword [edi + 4], eax
mov eax, dword [0x900e70]
test eax, eax
jne 0x5f29e7
mov eax, dword [esp + 0x74]
mov dword [edi], eax
jmp 0x5f29f0
mov eax, dword [esp + 0x74]
call fcn.00456ac0
mov dword [edi + 0xc], 2
lea eax, [0x769768]
mov dword [edi + 8], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x7ca474]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x70
ret
lea eax, [0x74ef60]
mov dword [esp], eax
call fcn.0040b440
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x78]
mov dword [edi + 4], eax
mov eax, dword [0x900e70]
test eax, eax
jne 0x5f2a56
mov eax, dword [esp + 0x74]
mov dword [edi], eax
jmp 0x5f2a5f
mov eax, dword [esp + 0x74]
call fcn.00456ac0
mov dword [edi + 0xc], 2
lea eax, [0x769768]
mov dword [edi + 8], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x7ca474]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x70
ret
lea eax, [0x74ef60]
mov dword [esp], eax
call fcn.0040b440
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x78]
mov dword [edi + 4], eax
mov eax, dword [0x900e70]
test eax, eax
jne 0x5f2ac5
mov eax, dword [esp + 0x74]
mov dword [edi], eax
jmp 0x5f2ace
mov eax, dword [esp + 0x74]
call fcn.00456ac0
mov dword [edi + 0xc], 2
lea eax, [0x769768]
mov dword [edi + 8], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x7ca474]
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 0x5f2b09
jmp 0x5f25e2
lea eax, [0x74ef60]
mov dword [esp], eax
call fcn.0040b440
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x78]
mov dword [edi + 4], eax
mov eax, dword [0x900e70]
test eax, eax
jne 0x5f2b54
mov eax, dword [esp + 0x74]
mov dword [edi], eax
jmp 0x5f2b5d
mov eax, dword [esp + 0x74]
call fcn.00456ac0
mov dword [edi + 0xc], 2
lea eax, [0x769768]
mov dword [edi + 8], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x7ca474]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x70
ret
mov eax, esi
mov ecx, edi
call fcn.00456ba0
mov eax, edi
mov ecx, ebx
call fcn.00456ba0
call fcn.0042f690
call fcn.0042f690
mov eax, esi
mov ecx, ebx
call fcn.00456b40
mov dword [eax + edi*4 - 4], ebp
mov ebp, dword [esp + 0x78]
cmp esi, ecx
jge 0x5f2c64
movzx ebp, byte [ebx + esi]
cmp ebp, 0x80
jge 0x5f2bdc
inc esi
jmp 0x5f2c14
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x68], eax
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call fcn.00450500
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x74]
mov edi, dword [esp + 0x34]
inc edi
cmp edx, edi
jae 0x5f2bbd
mov dword [esp + 0x44], 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, [0x733fe0]
mov dword [esp + 0x10], eax
call fcn.00442820
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 + 0x44]
mov esi, dword [esp + 0x50]
jmp 0x5f2bbd
mov ecx, edx
mov edx, edi
jmp 0x5f24fb
call fcn.00456b60
nop
call fcn.00455690
jmp fcn.005f2380