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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5fbd39
sub esp, 0x54
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x58]
movzx ecx, byte [eax + 0x40]
test cl, cl
jne 0x5fbcf5
mov ecx, dword [esp + 0x60]
test ecx, ecx
jne 0x5fbce8
lea ecx, [0x684aeb]
mov edx, 7
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
mov ebx, dword [eax + 0x24]
lea ebp, [0x642560]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.0040e690
movzx eax, byte [esp + 0x14]
test al, al
je 0x5fbc78
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x24]
lea edx, [0x642560]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0xc], ebx
call fcn.0040e300
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
lea ecx, [0x642720]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
mov edx, dword [esp + 0x68]
mov dword [esp + 0xc], edx
call fcn.0040e690
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov edx, dword [eax + 4]
mov eax, dword [eax]
test cl, cl
je 0x5fbb7b
xor ecx, ecx
jmp 0x5fb950
mov edx, dword [esp + 0x3c]
mov dword [esp], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 0xffffffff
call fcn.004c7390
mov eax, dword [esp + 0x34]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], edx
cmp ecx, 0xc8
jge 0x5fbb51
mov dword [esp + 0x34], ecx
mov ecx, dword [0x8942b8]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.005d7b10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x5fbb51
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x683f3f]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 2
call fcn.004c7260
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x683f4b]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
call fcn.004c7310
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x58]
mov dword [esp], edx
lea ebx, [0x684aeb]
mov dword [esp + 4], ebx
mov dword [esp + 8], 7
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.005fb810
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x5fbb48
mov edx, dword [esp + 0x60]
cmp edx, 7
je 0x5fbb0e
mov ebx, 1
test bl, bl
je 0x5fb90d
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x24]
lea ebx, [0x642560]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.0040e300
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
lea ecx, [0x642720]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
mov edx, dword [esp + 0x30]
mov dword [esp + 0xc], edx
call fcn.0040e690
movzx eax, byte [esp + 0x14]
test al, al
jne 0x5fbaa9
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
jmp 0x5fb90d
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x24]
lea edx, [0x642560]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0xc], ebx
call fcn.0040e300
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
lea ecx, [0x642720]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
call fcn.0040e300
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, eax
mov eax, ecx
mov ecx, edx
jmp 0x5fb90d
mov ebx, dword [esp + 0x5c]
cmp dword [ebx], 0x41464544
je 0x5fbb24
mov ebx, 1
jmp 0x5fba36
cmp word [ebx + 4], 0x4c55
je 0x5fbb36
mov ebx, 1
jmp 0x5fba36
cmp byte [ebx + 6], 0x54
xchg ebp, ebx
setne bl
xchg ebp, ebx
mov ebx, ebp
jmp 0x5fba36
mov edx, dword [esp + 0x60]
jmp 0x5fb90d
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
nop
call fcn.00427bc0
add esp, 0x54
ret
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
lea edx, [0x683f10]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call fcn.004c5710
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
jle 0x5fbc08
mov ecx, dword [esp + 0x60]
cmp eax, ecx
ja 0x5fbd32
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], eax
call fcn.005fb810
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
nop
call fcn.00427bc0
add esp, 0x54
ret
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], 2
mov eax, dword [esp + 0x64]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x50], eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea eax, [0x6e6100]
mov dword [esp], eax
lea eax, [esp + 0x48]
mov dword [esp + 4], eax
call fcn.004075a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
nop
call fcn.00427bc0
add esp, 0x54
ret
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], 1
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x50], eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea eax, [0x6e6100]
mov dword [esp], eax
lea eax, [esp + 0x48]
mov dword [esp + 4], eax
call fcn.004075a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
nop
call fcn.00427bc0
add esp, 0x54
ret
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
jmp 0x5fb870
mov dword [esp], eax
call fcn.0045c8e0
mov dword [esp], 4
lea eax, [0x69c5c8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
call fcn.004273f0
test eax, eax
jne 0x5fbd28
mov eax, dword [esp + 0x58]
jmp 0x5fb859
nop
call fcn.00427bc0
add esp, 0x54
ret
call fcn.00427250
ud2
call fcn.0044b940
jmp fcn.005fb810