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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x78]
cmp eax, dword [ecx + 8]
jbe 0x5fa499
sub esp, 0xf8
mov eax, dword [esp + 0xfc]
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 0x5c]
test ecx, ecx
je 0x5f9fdf
mov dword [esp], ecx
call fcn.005815b0
mov eax, dword [esp + 4]
jmp 0x5f9ff1
lea eax, [0x65bb20]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x44]
test ecx, ecx
jne 0x5fa02b
mov ecx, dword [esp + 0x10c]
mov dword [eax + 0x44], ecx
mov ecx, dword [0x84d450]
test ecx, ecx
jne 0x5fa018
mov ecx, dword [esp + 0x108]
mov dword [eax + 0x40], ecx
jmp 0x5fa02b
lea edi, [eax + 0x40]
mov ecx, eax
mov eax, dword [esp + 0x108]
call fcn.0045f3a0
mov eax, ecx
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0xfc]
movzx edx, byte [ecx + 0x24]
test dl, dl
je 0x5fa06d
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
mov edx, dword [0x84d450]
test edx, edx
jne 0x5fa05f
mov dword [eax + 0x34], 0
jmp 0x5fa06d
lea edi, [eax + 0x34]
mov edx, eax
xor eax, eax
call fcn.0045f3a0
mov eax, edx
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x64], eax
mov edx, dword [ecx + 0x2c]
mov dword [esp + 0x80], edx
lea ebx, [0x65d780]
mov dword [esp], ebx
call fcn.0040b470
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x64]
mov dword [eax], ecx
mov edx, dword [0x84d450]
test edx, edx
jne 0x5fa0b3
mov edx, dword [esp + 0x80]
mov dword [eax + 4], edx
mov ebx, dword [esp + 0x78]
mov dword [eax + 0x28], ebx
jmp 0x5fa0d2
lea edi, [eax + 4]
mov edx, eax
mov eax, dword [esp + 0x80]
call fcn.0045f3a0
lea edi, [edx + 0x28]
mov eax, dword [esp + 0x78]
call fcn.0045f3a0
mov eax, edx
mov dword [esp + 0x8c], eax
mov byte [eax + 8], 1
lea ecx, [0x63ac00]
mov dword [esp], ecx
call fcn.0040b470
mov eax, dword [esp + 4]
lea ecx, [0x5ac9e0]
mov dword [eax], ecx
mov ecx, dword [0x84d450]
test ecx, ecx
jne 0x5fa110
mov ecx, dword [esp + 0x8c]
mov dword [eax + 4], ecx
mov dword [ecx + 0xc], eax
jmp 0x5fa12b
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x8c]
call fcn.0045f3a0
lea edi, [eax + 0xc]
mov eax, ecx
call fcn.0045f3a0
lea eax, [0x62e500]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00404540
mov eax, dword [esp + 0xfc]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x60]
test edx, edx
setne bl
mov ecx, dword [ecx + 0x64]
test ecx, ecx
xchg ebp, ebx
setne bl
xchg ebp, ebx
mov esi, dword [esp + 8]
mov dword [esp + 0x84], esi
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5fa176
xor ecx, ecx
jmp 0x5fa1df
mov dword [esp + 0x70], ecx
mov dword [esp + 0x6c], edx
lea eax, [0x63b7a0]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
lea ecx, [0x5fa5a0]
mov dword [eax], ecx
mov ecx, dword [0x84d450]
test ecx, ecx
jne 0x5fa1ae
mov ecx, dword [esp + 0x84]
mov dword [eax + 4], ecx
jmp 0x5fa1c1
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x84]
call fcn.0045f3a0
mov eax, ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.004a0580
mov eax, dword [esp + 0xc]
mov ecx, eax
mov dword [esp + 0x7c], ecx
lea eax, [0x64d340]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
lea ecx, [0x5fa4b0]
mov dword [eax], ecx
mov ecx, dword [0x84d450]
test ecx, ecx
jne 0x5fa21d
mov ecx, dword [esp + 0x110]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x8c]
mov dword [eax + 8], edx
jmp 0x5fa24a
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x110]
call fcn.0045f3a0
lea edi, [ecx + 8]
mov edx, eax
mov eax, dword [esp + 0x8c]
call fcn.0045f3a0
mov eax, ecx
mov ecx, edx
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x100]
mov dword [eax + 0xc], ebx
mov ebx, dword [0x84d450]
test ebx, ebx
jne 0x5fa27b
mov ebx, dword [esp + 0x104]
mov dword [eax + 0x10], ebx
mov ebx, dword [esp + 0x7c]
mov dword [eax + 0x14], ebx
mov ebx, dword [esp + 0x84]
mov dword [eax + 0x18], ebx
jmp 0x5fa2a9
lea edi, [eax + 0x10]
mov ebx, eax
mov eax, dword [esp + 0x104]
call fcn.0045f3a0
lea edi, [ebx + 0x14]
mov eax, dword [esp + 0x7c]
call fcn.0045f3a0
lea edi, [ebx + 0x18]
mov eax, dword [esp + 0x84]
call fcn.0045f3a0
mov eax, ebx
mov dword [esp], eax
call fcn.0043f4c0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov eax, dword [esp + 0x84]
mov dword [esp], eax
lea eax, [esp + 0x94]
mov dword [esp + 4], eax
call fcn.00405160
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x98]
test eax, eax
je 0x5fa36c
mov dword [esp + 0x88], ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x110]
test eax, eax
je 0x5fa34c
mov edx, dword [eax + 0x2c]
test edx, edx
je 0x5fa34c
mov ecx, dword [edx]
mov dword [esp + 0x74], ecx
lea edi, [esp]
xor eax, eax
call fcn.0045f629
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x5c], ecx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x60], ebx
mov ebp, dword [esp + 0x74]
call ebp
mov eax, dword [esp + 0x68]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x118], eax
add esp, 0xf8
ret
lea eax, [0x656b00]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
call fcn.0058a920
mov eax, dword [0x84d450]
test eax, eax
jne 0x5fa3b0
mov edi, dword [esp + 0x90]
lea esi, [esp + 4]
call fcn.0045fa6a
jmp 0x5fa3e4
lea edi, [esp + 0x9c]
lea esi, [esp + 4]
call fcn.0045fa6a
lea eax, [0x656b00]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
lea ecx, [esp + 0x9c]
mov dword [esp + 8], ecx
call fcn.00410a60
mov ecx, dword [esp + 0x110]
test ecx, ecx
je 0x5fa419
mov edx, dword [ecx + 0x2c]
test edx, edx
je 0x5fa419
mov eax, dword [edx]
lea edi, [esp]
mov esi, dword [esp + 0x90]
call fcn.0045fa6a
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
call eax
mov ecx, dword [0x84d450]
test ecx, ecx
jne 0x5fa436
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0xfc]
mov dword [edx + 0x30], ecx
jmp 0x5fa44e
mov ecx, dword [esp + 0xfc]
lea edi, [ecx + 0x30]
mov eax, dword [esp + 0x90]
call fcn.0045f3a0
mov edx, ecx
lea ecx, [0x6d071c]
mov dword [edx + 0x28], ecx
mov ecx, dword [0x84d450]
test ecx, ecx
jne 0x5fa46d
mov eax, dword [esp + 0x8c]
mov dword [edx + 0x2c], eax
jmp 0x5fa47c
lea edi, [edx + 0x2c]
mov eax, dword [esp + 0x8c]
call fcn.0045f3a0
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
add esp, 0xf8
ret
call fcn.0045df90
jmp fcn.005f9fa0