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

Disassembly:
mov ecx, dword [0x82b814]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x2c]
cmp eax, dword [ecx + 8]
jbe 0x5f14d6
sub esp, 0xac
mov eax, 0
mov dword [esp + 0xa8], eax
mov byte [esp + 0x2b], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x20]
mov edx, dword [edx + 0x10]
mov dword [esp], ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0xc], ecx
call edx
movzx eax, byte [esp + 0x18]
test al, al
je 0x5f12a3
mov eax, dword [esp + 0xb0]
mov eax, dword [eax]
mov eax, dword [eax + 0x3c]
test eax, eax
jne 0x5f0c50
lea eax, [0x673dcc]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x50], edx
mov ebx, dword [esp + 0xc4]
mov esi, dword [ebx + 0x10]
test byte [esi], al
lea edi, [esp + 0x60]
call fcn.0046c084
lea edi, [esp]
lea esi, [esp + 0x60]
call fcn.0046c084
call fcn.005f02d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov edx, dword [esp + 0x4c]
mov ebx, dword [edx]
mov ebp, dword [esp + 0x38]
mov dword [esp], ebp
mov ebp, dword [esp + 0x50]
mov dword [esp + 4], ebp
lea ebp, [0x66079a]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call ebx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
test eax, eax
je 0x5f0f25
mov dword [esp + 0x3c], eax
mov dword [esp + 0xa0], ecx
mov edx, dword [eax + 0x10]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x660ebd]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 7
call fcn.0047dc40
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x5f0d4f
mov eax, 5
jmp 0x5f0d89
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
lea eax, [0x6656e0]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x16
call fcn.0047dc40
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x5f0d84
mov eax, 3
jmp 0x5f0d89
mov eax, 4
mov ecx, dword [esp + 0xbc]
test ecx, ecx
je 0x5f0db8
mov byte [esp + 0x2a], al
mov eax, dword [ecx + 4]
lea ecx, [0x7e75d8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040ac60
mov eax, dword [esp + 8]
mov ecx, eax
movzx eax, byte [esp + 0x2a]
mov dword [esp], ecx
mov ecx, dword [esp + 0xc0]
mov dword [esp + 4], ecx
mov byte [esp + 8], al
mov dword [esp + 0xc], 0
call fcn.005f1e10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x5f0e6e
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
test eax, eax
je 0x5f0e04
mov eax, dword [eax + 4]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
lea eax, [0x6666c2]
mov dword [esp], eax
mov dword [esp + 4], 0x18
lea eax, [esp + 0x90]
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 + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
add esp, 0xac
ret
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0xc4]
mov eax, dword [eax + 0xc]
lea ecx, [0x63bac0]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x5f0eb7
mov eax, dword [eax + 4]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x84], eax
lea eax, [0x6666da]
mov dword [esp], eax
mov dword [esp + 4], 0x18
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.00523710
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
add esp, 0xac
ret
mov dword [esp + 0x40], ebx
mov dword [esp + 0x2c], edx
test byte [edx], al
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea eax, [0x5f15a0]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ebx
lea eax, [esp + 0x54]
mov dword [esp + 0xa8], eax
mov byte [esp + 0x2b], 1
mov eax, dword [edx + 0x14]
mov dword [esp], ebx
call eax
mov eax, dword [esp + 4]
lea ecx, [0x6b9fd4]
cmp eax, ecx
jne 0x5f14ad
mov eax, dword [esp + 8]
mov dword [esp + 0xa0], eax
lea ecx, [0x648f20]
mov dword [esp], ecx
call fcn.0040d2d0
mov edi, dword [esp + 4]
mov dword [esp + 0xa4], edi
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax]
mov dword [esp + 0x9c], ecx
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov ebp, eax
xor eax, eax
call fcn.0046bbaa
mov eax, dword [0x82b968]
test eax, eax
jne 0x5f0fe3
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa4]
jmp 0x5f0ffe
call fcn.0046b940
mov eax, dword [esp + 0x9c]
mov dword [edi], eax
mov ecx, dword [esp + 0xa4]
mov esi, dword [ecx + 8]
mov dword [edi + 4], esi
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebp
mov eax, dword [esp + 0xbc]
test eax, eax
je 0x5f1035
mov ecx, dword [eax + 4]
lea edx, [0x7e75e8]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0040ac60
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xa4]
mov dword [esp], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
mov byte [esp + 8], 0
mov dword [esp + 0xc], ecx
call fcn.005f1e10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x5f10f6
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
je 0x5f107c
mov eax, dword [eax + 4]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
lea eax, [0x6666c2]
mov dword [esp], eax
mov dword [esp + 4], 0x18
lea eax, [esp + 0x90]
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 + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0xa8]
mov eax, dword [edx]
call eax
add esp, 0xac
ret
lea eax, [0x62bf20]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00405a90
mov eax, dword [esp + 8]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x5f1137
mov eax, dword [ecx + 4]
lea edx, [0x7e75f8]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0040ac60
mov edx, dword [esp + 8]
mov ecx, edx
mov dword [esp + 0xa0], ecx
mov eax, dword [esp + 0xc4]
mov edx, dword [eax + 0x18]
mov dword [esp + 0x98], edx
mov eax, dword [eax + 0x14]
mov dword [esp + 0x3c], eax
lea ebx, [0x6413a0]
mov dword [esp], ebx
call fcn.0040d2d0
mov eax, dword [esp + 4]
lea ecx, [0x5f1540]
mov dword [eax], ecx
mov ecx, dword [esp + 0xa0]
mov dword [eax + 4], ecx
mov ecx, dword [0x82b968]
test ecx, ecx
jne 0x5f1195
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x48]
jmp 0x5f11b1
call fcn.0046b950
mov ecx, dword [esp + 0x40]
mov dword [edi], ecx
mov edx, dword [esp + 0x98]
mov dword [edi + 4], edx
mov ebx, dword [esp + 0x48]
mov dword [edi + 8], ebx
mov dword [eax + 8], ecx
mov ebp, dword [esp + 0x3c]
mov dword [eax + 0xc], ebp
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ebx
mov dword [esp], eax
call fcn.00445b70
mov eax, dword [esp + 0xbc]
test eax, eax
je 0x5f11f5
mov eax, dword [eax + 4]
lea ecx, [0x7e7608]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040ac60
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jmp 0x5f11fb
mov ecx, dword [esp + 0x2c]
test ecx, ecx
mov dword [esp + 0xa0], eax
je 0x5f121f
mov eax, dword [ecx + 4]
lea ecx, [0x7e7618]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040ac60
mov edx, dword [esp + 8]
mov ecx, edx
mov dword [esp + 0x98], ecx
lea eax, [0x6413a0]
mov dword [esp], eax
call fcn.0040d2d0
mov eax, dword [esp + 4]
lea ecx, [0x5f14e0]
mov dword [eax], ecx
mov ecx, dword [esp + 0xa0]
mov dword [eax + 4], ecx
mov ecx, dword [0x82b968]
test ecx, ecx
jne 0x5f1265
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x48]
jmp 0x5f1281
call fcn.0046b950
mov ecx, dword [esp + 0xc0]
mov dword [edi], ecx
mov edx, dword [esp + 0x40]
mov dword [edi + 4], edx
mov ebx, dword [esp + 0x48]
mov dword [edi + 8], ebx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x98]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ebx
mov dword [esp], eax
call fcn.00445b70
xor eax, eax
jmp 0x5f1413
mov eax, dword [esp + 0xbc]
test eax, eax
je 0x5f12c7
mov eax, dword [eax + 4]
lea ecx, [0x7e75c8]
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 + 0xc0]
mov dword [esp + 4], eax
mov byte [esp + 8], 2
mov dword [esp + 0xc], 0
call fcn.005f1e10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x5f137c
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
je 0x5f1312
mov eax, dword [eax + 4]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
lea eax, [0x6666c2]
mov dword [esp], eax
mov dword [esp + 4], 0x18
lea eax, [esp + 0x90]
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 + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
add esp, 0xac
ret
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov eax, dword [esp + 0xc4]
mov eax, dword [eax + 0xc]
lea ecx, [0x63bac0]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
lea eax, [0x668f31]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
lea eax, [esp + 0x90]
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 + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
add esp, 0xac
ret
mov ecx, dword [esp + 0x34]
lea eax, [ecx + 1]
cmp eax, 2
jge 0x5f1480
mov dword [esp + 0x34], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
lea ecx, [esp + 0x88]
mov dword [esp + 4], ecx
call fcn.00406710
mov eax, dword [esp + 0x88]
test eax, eax
je 0x5f140c
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0xa8]
mov eax, dword [edx]
call eax
add esp, 0xac
ret
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0xa8]
mov eax, dword [edx]
call eax
add esp, 0xac
ret
mov ecx, dword [0x6b9fd8]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x63a740]
mov dword [esp + 8], eax
call fcn.0040a820
nop
call fcn.00438d70
add esp, 0xac
ret
call fcn.0046a530
jmp fcn.005f0bb0