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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x5bf882
sub esp, 0x9c
mov ecx, dword [esp + 0xbc]
test ecx, ecx
jne 0x5bf20f
xor eax, eax
jmp 0x5bf23d
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov edx, dword [esp + 0xb8]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004c2b50
mov eax, dword [esp + 0x14]
test eax, eax
setne al
mov ecx, dword [esp + 0xbc]
test al, al
jne 0x5bf6b6
mov edx, dword [esp + 0xac]
test edx, edx
je 0x5bf2d5
nop
movzx ebx, byte [0x7bd150]
test bl, bl
je 0x5bf29a
mov ebx, dword [esp + 0xac]
mov dword [0x7bd154], ebx
mov ebx, dword [0x7e34c0]
test ebx, ebx
jne 0x5bf286
mov eax, dword [esp + 0xb0]
mov dword [0x7bd158], eax
jmp 0x5bf2a1
lea edi, [0x7bd158]
mov eax, dword [esp + 0xb0]
call fcn.00463860
jmp 0x5bf2a1
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
mov edx, dword [esp + 0x7c]
test edx, edx
je 0x5bf2cd
nop
movzx ebx, byte [edx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x5bf2db
or ebx, 0x80
jmp 0x5bf2db
xor ebx, ebx
xor edx, edx
xor eax, eax
jmp 0x5bf2db
xor ebx, ebx
xor edx, edx
xor eax, eax
nop
mov ebp, ebx
and ebx, 0x1f
cmp ebx, 0x16
jne 0x5bf3d1
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], edx
test ebp, 0x200
jne 0x5bf30a
lea esi, [0x676140]
jmp 0x5bf324
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.004c53c0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov esi, eax
mov eax, dword [esi + 0x28]
mov dword [esp], edx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0xbc]
test edx, edx
je 0x5bf35e
test edx, 0x200
jne 0x5bf35e
lea ebx, [0x676140]
mov ebp, dword [esp + 0xb4]
jmp 0x5bf397
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov ecx, dword [esp + 0xb8]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004c53c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xbc]
mov ebx, eax
mov ebp, ecx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
cmp ebx, eax
je 0x5bf39f
xor eax, eax
jmp 0x5bf3bb
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.00403850
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0xbc]
mov ecx, edx
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
mov esi, eax
mov eax, dword [esp + 0x48]
jmp 0x5bf3d3
xor esi, esi
xchg esi, eax
test al, al
xchg esi, eax
je 0x5bf403
cmp ebx, 0x16
jne 0x5bf403
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.004c2b50
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0xbc]
mov ebp, ebx
test ebp, ebp
jne 0x5bf469
test ecx, ecx
je 0x5bf422
test ecx, 0x200
jne 0x5bf422
lea eax, [0x676140]
mov edx, dword [esp + 0xb4]
jmp 0x5bf44a
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov edx, dword [esp + 0xb8]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004c53c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004c6120
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x30], ebp
test ebp, ebp
je 0x5bf48d
test ebp, 0x200
jne 0x5bf48d
test ecx, ecx
mov ebx, edx
lea esi, [0x676140]
jmp 0x5bf4bc
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.004c53c0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xbc]
test ecx, ecx
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x30]
mov esi, eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x54], edx
mov dword [esp + 0x2c], esi
je 0x5bf4e7
test ecx, 0x200
jne 0x5bf4e7
lea edi, [0x676140]
mov edi, dword [esp + 0xb4]
mov dword [esp + 0x50], edi
lea edi, [0x676140]
jmp 0x5bf51b
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov edx, dword [esp + 0xb8]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004c53c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x50], ecx
mov eax, dword [esi + 0x14]
mov dword [esp], edx
mov dword [esp + 4], edi
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], ecx
call eax
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5bf65c
mov ecx, dword [esp + 0xbc]
test ecx, ecx
je 0x5bf55e
test ecx, 0x200
jne 0x5bf55e
lea eax, [0x676140]
mov ecx, dword [esp + 0xb4]
jmp 0x5bf584
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004c53c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], eax
mov dword [esp + 0x4c], ecx
lea edi, [esp + 0x84]
xor eax, eax
call fcn.00463a8a
mov ecx, dword [esp + 0xa4]
mov dword [esp], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 4], ecx
call fcn.004096f0
mov ecx, dword [esp + 8]
lea edx, [0x5f0dc0]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x5bf5d9
mov eax, dword [ecx + 4]
jmp 0x5bf5db
mov eax, ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x5bf5fa
mov esi, dword [eax + 4]
jmp 0x5bf5fc
mov esi, eax
mov dword [esp + 0x94], esi
mov eax, dword [esp + 0x54]
mov dword [esp + 0x98], eax
lea eax, [0x628178]
mov dword [esp], eax
mov dword [esp + 4], 0x21
lea eax, [esp + 0x84]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
call fcn.004cb520
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
add esp, 0x9c
ret
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], eax
call fcn.004c43a0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
add esp, 0x9c
ret
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov edx, dword [esp + 0xb8]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004c2b50
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, edx
and edx, 0x100
mov dword [esp + 0x40], edx
test edx, edx
jne 0x5bf7a4
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
test ebx, ebx
je 0x5bf714
test ebx, 0x200
jne 0x5bf714
lea ebp, [0x676140]
jmp 0x5bf730
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.004c53c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebp, eax
mov eax, ecx
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.004c6200
mov eax, dword [esp + 0xc]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x38], edx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004c2b50
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
call fcn.004c43a0
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0xa0]
mov dword [esp], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xa8]
mov dword [esp + 8], edx
mov edx, dword [esp + 0xac]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
call fcn.005be770
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
test eax, eax
jne 0x5bf80f
mov eax, dword [esp + 0x40]
test eax, eax
je 0x5bf824
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
add esp, 0x9c
ret
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
call fcn.004c2b50
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 8], eax
call fcn.004c43a0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
add esp, 0x9c
ret
call fcn.00462450
jmp fcn.005bf1e0