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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5f84e1
sub esp, 0x6c
mov eax, 0
mov dword [esp + 0x68], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
call fcn.005f6860
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0xc]
test ecx, ecx
jne 0x5f8337
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x24], esi
mov ecx, dword [esp + 0x7c]
cmp ecx, 5
jge 0x5f80aa
xor edx, edx
jmp 0x5f80df
mov eax, dword [esp + 0x78]
mov dword [esp], eax
lea ecx, [0x66c93f]
mov dword [esp + 4], ecx
mov dword [esp + 8], 5
call fcn.00402a70
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x24]
mov edx, eax
mov eax, dword [esp + 0x3c]
test dl, dl
jne 0x5f80ec
mov eax, dword [esp + 0x78]
jmp 0x5f819b
lea ecx, [0x63adc0]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x66cfb2]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 7
call fcn.0040fc90
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
test eax, eax
je 0x5f8125
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
jmp 0x5f819b
lea eax, [0x63adc0]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
lea ecx, [0x66cfb2]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 7
call fcn.00410320
mov edi, dword [esp + 0x10]
mov dword [edi + 4], 5
mov eax, dword [0x893c80]
test eax, eax
jne 0x5f816c
lea eax, [0x66c953]
mov dword [edi], eax
jmp 0x5f8177
lea eax, [0x66c953]
call fcn.00463680
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
call fcn.005f4f80
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x54], eax
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x70]
mov dword [esp], edx
mov ebx, dword [esp + 0x74]
mov dword [esp + 4], ebx
call fcn.004d47a0
mov eax, dword [esp + 8]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x70]
mov dword [esp], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
call fcn.00409600
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 4], edx
call fcn.00409600
mov eax, dword [esp + 8]
lea ecx, [0x86e580]
mov dword [esp], ecx
lea ecx, [0x638660]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.0046c220
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call fcn.00409600
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
call fcn.00409600
mov eax, dword [esp + 8]
lea ecx, [0x86e5a0]
mov dword [esp], ecx
lea ecx, [0x638660]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.0046c220
lea eax, [0x8939e0]
mov dword [esp], eax
call fcn.0046ca00
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea eax, [0x5f84f0]
mov dword [esp + 0x60], eax
lea eax, [0x8939e0]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x68], eax
mov byte [esp + 0x23], 1
mov eax, dword [esp + 0x40]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x5c], ecx
lea edx, [0x86e560]
mov dword [esp], edx
lea ebx, [0x638660]
mov dword [esp + 4], ebx
lea ebp, [esp + 0x58]
mov dword [esp + 8], ebp
call fcn.0046bb10
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test al, al
je 0x5f8317
lea ebx, [0x630520]
cmp edx, ebx
jne 0x5f84c1
mov edx, dword [ecx]
mov ebp, dword [ecx + 4]
mov ecx, dword [ecx + 8]
jmp 0x5f8323
lea ebx, [0x630520]
xor ecx, ecx
xor edx, edx
xor ebp, ebp
mov dword [esp + 0x44], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x30]
xor eax, eax
jmp 0x5f8352
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ebx
add esp, 0x6c
ret
inc eax
mov ecx, edi
lea ebx, [0x630520]
cmp ebp, eax
jle 0x5f83c2
lea ebx, [edx + eax*8]
mov edi, ecx
mov ecx, dword [ebx + 4]
mov ebx, dword [ebx]
cmp ecx, esi
jne 0x5f8349
mov dword [esp + 0x38], eax
mov dword [esp], ebx
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00402a70
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5f839b
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
jmp 0x5f8349
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
inc ebp
cmp ecx, ebp
jae 0x5f83ff
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x638660]
mov dword [esp + 0x10], eax
call fcn.0044aa20
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea ebx, [0x630520]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ecx
lea ebx, [edx + ebp*8 - 4]
mov dword [ebx], esi
lea edi, [edx + ebp*8 - 8]
mov ebx, dword [0x893c80]
test ebx, ebx
jne 0x5f8427
mov eax, dword [esp + 0x48]
mov dword [edi], eax
jmp 0x5f8430
mov eax, dword [esp + 0x48]
call fcn.00463680
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00409600
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
call fcn.00409680
mov eax, dword [esp + 0xc]
lea ecx, [0x86e560]
mov dword [esp], ecx
lea ecx, [0x638660]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], ecx
lea ecx, [0x630520]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.0046c220
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
mov dword [esp], edx
mov dword [esp + 4], ebx
lea eax, [0x638020]
mov dword [esp + 8], eax
call fcn.00409250
nop
call fcn.00435160
add esp, 0x6c
ret
call fcn.00462270
jmp fcn.005f8020