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

Disassembly:
mov ecx, dword [0x82b814]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x64]
cmp eax, dword [ecx + 8]
jbe 0x5f32a3
sub esp, 0xe4
mov eax, 0
mov dword [esp + 0xe0], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov eax, dword [esp + 0xec]
test byte [eax], al
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
lea ecx, [0x5f34b0]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0xf0]
mov dword [esp + 0xa8], ecx
lea edx, [esp + 0xa0]
mov dword [esp + 0xe0], edx
mov byte [esp + 0x23], 1
test eax, eax
je 0x5f28b1
mov ecx, dword [eax + 4]
lea edx, [0x7e7678]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0040ac60
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xf0]
mov edx, dword [esp + 0xec]
jmp 0x5f28b3
mov edx, eax
nop
lea ebx, [0x6b96b8]
cmp eax, ebx
jne 0x5f28c2
mov ebp, ecx
jmp 0x5f28c9
mov ebp, ecx
mov ecx, 0
mov dword [esp + 0xd4], eax
jne 0x5f28df
cmp dword [ecx + 4], 0x1000
jge 0x5f29b6
lea eax, [0x64da60]
mov dword [esp], eax
call fcn.0040d2d0
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
lea ecx, [0x630a60]
mov dword [esp], ecx
mov dword [esp + 4], 0x1000
mov dword [esp + 8], 0x1000
call fcn.00450080
mov eax, dword [esp + 0xc]
mov dword [esp + 0xd0], eax
lea edi, [esp + 0x74]
xor eax, eax
call fcn.0046bba5
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0x1000
mov dword [esp + 0x7c], 0x1000
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x84], eax
mov dword [esp + 0x98], 0xffffffff
mov dword [esp + 0x9c], 0xffffffff
mov ecx, dword [0x82b968]
test ecx, ecx
je 0x5f29a5
lea eax, [0x64da60]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
lea ecx, [esp + 0x74]
mov dword [esp + 8], ecx
call fcn.00412430
mov eax, dword [esp + 0xf0]
mov edi, dword [esp + 0x34]
lea esi, [esp + 0x74]
call fcn.0046c052
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x34], ecx
lea eax, [0x62d980]
mov dword [esp], eax
call fcn.0040d2d0
mov eax, dword [esp + 4]
mov dword [esp + 0xcc], eax
mov ecx, dword [esp + 0x34]
mov dword [esp], ecx
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.0047e5a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x5f2ad8
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0xe8]
mov edx, dword [edx]
mov edx, dword [edx + 0x38]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
je 0x5f2a26
mov ebx, dword [eax + 4]
jmp 0x5f2a28
mov ebx, eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ecx
lea edi, [esp + 0xb4]
xor eax, eax
call fcn.0046bbaa
lea ecx, [0x5f3430]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xbc], 0x2b
lea ecx, [0x66de1d]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xc4], 1
mov dword [esp + 0xc8], 1
lea ecx, [esp + 0x6c]
mov dword [esp + 0xc0], ecx
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea ecx, [esp + 0xb4]
mov dword [esp + 0xc], ecx
call fcn.005eefc0
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xf8], ecx
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0xe0]
mov ecx, dword [edx]
call ecx
add esp, 0xe4
ret
mov eax, dword [esp + 0xcc]
cmp byte [eax], 5
jne 0x5f3135
mov eax, dword [esp + 0xec]
test eax, eax
je 0x5f2b0c
mov ecx, dword [eax + 4]
lea edx, [0x7e7688]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0040ac60
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xe8]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 8], eax
lea edx, [0x6b96b8]
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x10], ebx
call fcn.005efe60
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x5f2c95
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
je 0x5f2b6b
mov eax, dword [eax + 4]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], edx
lea eax, [0x6673a8]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
lea eax, [esp + 0xac]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00523710
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0xe8]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x38]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
test eax, eax
je 0x5f2bdb
mov ebx, dword [eax + 4]
jmp 0x5f2bdd
mov ebx, eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], edx
lea edi, [esp + 0xb4]
xor eax, eax
call fcn.0046bbaa
lea ecx, [0x5f3330]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xbc], 0xf
lea ecx, [0x662e51]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xc4], 1
mov dword [esp + 0xc8], 1
lea ecx, [esp + 0x5c]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea ecx, [esp + 0xb4]
mov dword [esp + 0xc], ecx
call fcn.005eefc0
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xf8], ecx
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0xe0]
mov ecx, dword [edx]
call ecx
add esp, 0xe4
ret
mov dword [esp + 0x58], ecx
lea eax, [0x6b96b8]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.005f0530
mov eax, dword [esp + 0xc]
test eax, eax
je 0x5f2e73
mov ecx, dword [esp + 0x10]
cmp dword [0x7ec548], eax
je 0x5f2cce
test eax, eax
jmp 0x5f2dec
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x28], eax
mov edx, dword [0x7ec54c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00404d00
movzx eax, byte [esp + 0xc]
test al, al
je 0x5f2de2
mov eax, dword [esp + 0xec]
test eax, eax
je 0x5f2d1d
mov eax, dword [eax + 4]
lea ecx, [0x7e7698]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040ac60
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 4], eax
mov byte [esp + 8], 8
mov dword [esp + 0xc], 0
call fcn.005f1e10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x5f2dd6
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
test eax, eax
je 0x5f2d6a
mov eax, dword [eax + 4]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
lea eax, [0x6666c2]
mov dword [esp], eax
mov dword [esp + 4], 0x18
lea eax, [esp + 0xac]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00523710
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], ecx
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0xe0]
mov eax, dword [edx]
call eax
add esp, 0xe4
ret
mov eax, dword [esp + 0x28]
test eax, eax
mov ecx, dword [esp + 0x4c]
jmp 0x5f2dec
mov eax, dword [esp + 0x28]
test eax, eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
je 0x5f2e07
mov eax, dword [eax + 4]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
lea eax, [0x66c456]
mov dword [esp], eax
mov dword [esp + 4], 0x26
lea eax, [esp + 0xac]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00523710
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], ecx
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0xe0]
mov eax, dword [edx]
call eax
add esp, 0xe4
ret
mov eax, dword [esp + 8]
test byte [eax], al
mov ecx, dword [0x82b968]
test ecx, ecx
jne 0x5f2e89
mov ecx, dword [esp + 0x58]
jmp 0x5f2e9a
call fcn.0046b940
mov ecx, dword [esp + 0x58]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov dword [esp + 0x38], eax
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xec]
mov edx, dword [ecx + 0x1c]
mov ebx, dword [esp + 0xf0]
mov dword [esp], ebx
call edx
lea eax, [0x6b9fd4]
cmp dword [esp + 4], eax
jne 0x5f2f52
mov eax, dword [esp + 8]
mov dword [esp + 0xd4], eax
lea ecx, [0x648f20]
mov dword [esp], ecx
call fcn.0040d2d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xd4]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov ebp, dword [ecx]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov edx, dword [0x82b968]
test edx, edx
je 0x5f2f0a
call fcn.0046b930
mov dword [edi], ebp
mov dword [eax + 8], ebp
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0x14], ecx
mov ecx, dword [0x82b968]
test ecx, ecx
jne 0x5f2f33
mov ecx, dword [esp + 0xec]
test ecx, ecx
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0xec]
jmp 0x5f2f4d
call fcn.0046b940
mov dword [edi], eax
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 8]
mov dword [edi + 4], edx
mov edx, dword [esp + 0xec]
test edx, edx
mov dword [ecx + 8], eax
jmp 0x5f2f61
mov eax, dword [esp + 0xec]
test eax, eax
mov ecx, dword [esp + 0x38]
mov edx, eax
je 0x5f2f82
mov eax, dword [edx + 4]
lea ecx, [0x7e76a8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040ac60
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x38]
mov edx, eax
mov eax, dword [esp + 0xe8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov ecx, dword [esp + 0xf0]
mov dword [esp + 0xc], ecx
call fcn.005f0740
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x5f3108
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
je 0x5f2fcf
mov eax, dword [eax + 4]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
lea eax, [0x6681e5]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
lea eax, [esp + 0xac]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00523710
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0xe8]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x38]
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
test eax, eax
je 0x5f3045
mov ebx, dword [eax + 4]
jmp 0x5f3047
mov ebx, eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], edx
lea edi, [esp + 0xb4]
xor eax, eax
call fcn.0046bbaa
lea ecx, [0x5f32b0]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xbc], 0xf
lea ecx, [0x662e51]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xc4], 1
mov dword [esp + 0xc8], 1
lea ecx, [esp + 0xd8]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea ecx, [esp + 0xb4]
mov dword [esp + 0xc], ecx
call fcn.005eefc0
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xf8], ecx
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0xe0]
mov ecx, dword [edx]
call ecx
add esp, 0xe4
ret
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0xe0]
mov eax, dword [edx]
call eax
add esp, 0xe4
ret
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0040abe0
mov eax, dword [esp + 0xc]
lea ecx, [0x62a140]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
lea eax, [0x668899]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
lea eax, [esp + 0xac]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00523710
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0xe8]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x38]
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
test eax, eax
je 0x5f31dd
mov ebx, dword [eax + 4]
jmp 0x5f31df
mov ebx, eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], edx
lea edi, [esp + 0xb4]
xor eax, eax
call fcn.0046bbaa
lea ecx, [0x5f33b0]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xbc], 0xf
lea ecx, [0x662e51]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xc4], 1
mov dword [esp + 0xc8], 1
lea ecx, [esp + 0x64]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea ecx, [esp + 0xb4]
mov dword [esp + 0xc], ecx
call fcn.005eefc0
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xf8], ecx
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0xe0]
mov ecx, dword [edx]
call ecx
add esp, 0xe4
ret
call fcn.0046a530
jmp fcn.005f27e0