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

Disassembly:
mov ecx, dword [0x8c8600]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x28]
cmp eax, dword [ecx + 8]
jbe 0x5bfc11
sub esp, 0xa8
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x74], ecx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x1c], edx
mov ebx, dword [eax + 0x14]
mov dword [esp + 0x20], ebx
lea esi, [eax + 0x18]
lea edi, [esp + 0x50]
call fcn.00477896
mov ecx, dword [eax + 0x3c]
mov ebp, dword [eax + 0x40]
mov esi, dword [eax + 0x44]
mov eax, dword [eax + 0x48]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
call fcn.00593150
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
mov eax, dword [0x8a22b0]
mov ecx, dword [0x8a22b4]
mov edx, dword [0x8a22b8]
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
mov ebp, dword [esp + 0x1c]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x20]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.005933d0
movzx eax, byte [esp + 0x18]
test al, al
je 0x5bf387
mov eax, dword [0x8a25b0]
mov ecx, dword [0x8a25b4]
mov edx, dword [0x8a25b8]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x70]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004d62e0
movzx eax, byte [esp + 0x18]
test al, al
je 0x5bf33e
lea eax, [0x6d4f00]
mov dword [esp], eax
call fcn.0040dea0
mov eax, dword [esp + 4]
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], eax
mov byte [esp + 8], 0x30
call fcn.005a00a0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5bf2f5
mov eax, dword [esp + 0xa0]
lea ecx, [esp + 0x7c]
mov dword [esp], ecx
lea ecx, [0x7010c0]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0059eef0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5bf2ac
lea eax, [esp + 0x7c]
mov dword [esp], eax
lea eax, [0x6b0c60]
mov dword [esp + 4], eax
lea eax, [esp + 0xa4]
mov dword [esp + 8], eax
call fcn.0059eef0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5bf263
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call fcn.004d8ee0
mov eax, dword [esp + 4]
test eax, eax
jle 0x5bf21a
mov eax, dword [esp + 0xa4]
test eax, eax
jle 0x5bf1d1
lea eax, [0x6d4fc0]
mov dword [esp], eax
call fcn.0040dea0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xa4]
mov dword [eax + 4], ecx
mov ecx, dword [0x8c88d8]
mov edx, dword [esp + 0xa0]
test ecx, ecx
je 0x5bf19e
call fcn.004772e0
mov dword [edi], edx
mov dword [eax], edx
lea ecx, [0x6d10e0]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
add esp, 0xa8
ret
lea eax, [0x716a3f]
mov dword [esp], eax
mov dword [esp + 4], 0x32
call fcn.00480a00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
add esp, 0xa8
ret
lea eax, [0x71416e]
mov dword [esp], eax
mov dword [esp + 4], 0x2a
call fcn.00480a00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
add esp, 0xa8
ret
lea eax, [0x71031a]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.00480a00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
add esp, 0xa8
ret
lea eax, [0x70b9fe]
mov dword [esp], eax
mov dword [esp + 4], 0x19
call fcn.00480a00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
add esp, 0xa8
ret
lea eax, [0x70d6b9]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.00480a00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
add esp, 0xa8
ret
lea eax, [0x711eef]
mov dword [esp], eax
mov dword [esp + 4], 0x25
call fcn.00480a00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
add esp, 0xa8
ret
mov eax, dword [0x8a22d0]
mov ecx, dword [0x8a22d4]
mov edx, dword [0x8a22d8]
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
mov ebp, dword [esp + 0x1c]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.005933d0
movzx eax, byte [esp + 0x18]
test al, al
je 0x5bf608
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
lea eax, [esp + 0x44]
mov dword [esp], eax
lea eax, [esp + 0x94]
mov dword [esp + 4], eax
call fcn.0059f9a0
movzx eax, byte [esp + 8]
test al, al
je 0x5bf5bf
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.005cbff0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x5bf576
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x84]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.0058add0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5bf52d
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
lea ecx, [0x6f0100]
mov dword [esp], ecx
call fcn.0040dea0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x24]
mov dword [eax], ecx
mov ecx, dword [0x8c88d8]
test ecx, ecx
jne 0x5bf4da
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
jmp 0x5bf4f3
call fcn.00477300
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov edx, dword [esp + 0x30]
mov dword [edi + 4], edx
mov ebx, dword [esp + 0x2c]
mov dword [edi + 8], ebx
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
lea ecx, [0x6ee9c0]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
add esp, 0xa8
ret
lea eax, [0x71576a]
mov dword [esp], eax
mov dword [esp + 4], 0x2e
call fcn.00480a00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
add esp, 0xa8
ret
lea eax, [0x70f91b]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.00480a00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
add esp, 0xa8
ret
lea eax, [0x70eaa8]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
call fcn.00480a00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
add esp, 0xa8
ret
mov eax, dword [0x8a22f0]
mov ecx, dword [0x8a22f4]
mov edx, dword [0x8a22f8]
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
mov ebp, dword [esp + 0x1c]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.005933d0
movzx eax, byte [esp + 0x18]
test al, al
je 0x5bf749
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x5bf700
mov eax, dword [esp + 0x80]
cmp eax, 0x20
je 0x5bf6b0
lea eax, [0x71105d]
mov dword [esp], eax
mov dword [esp + 4], 0x23
call fcn.00480a00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
add esp, 0xa8
ret
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x84]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0046b8e0
mov eax, dword [esp + 0xc]
lea ecx, [0x6c8960]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
add esp, 0xa8
ret
lea eax, [0x716629]
mov dword [esp], eax
mov dword [esp + 4], 0x31
call fcn.00480a00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
add esp, 0xa8
ret
mov eax, dword [0x8a22e0]
mov ecx, dword [0x8a22e4]
mov edx, dword [0x8a22e8]
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
mov ebp, dword [esp + 0x1c]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.005933d0
movzx eax, byte [esp + 0x18]
test al, al
je 0x5bf848
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x5bf7e1
lea eax, [0x7160a3]
mov dword [esp], eax
mov dword [esp + 4], 0x30
call fcn.00480a00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
add esp, 0xa8
ret
call fcn.005894e0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov eax, dword [eax + 0x14]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x84]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea ebx, [0x6dcac0]
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
add esp, 0xa8
ret
mov eax, dword [0x8a22c0]
mov ecx, dword [0x8a22c4]
mov edx, dword [0x8a22c8]
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.005933d0
movzx eax, byte [esp + 0x18]
test al, al
je 0x5bfbc8
lea eax, [0x6d4f00]
mov dword [esp], eax
call fcn.0040dea0
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x7c]
mov dword [esp], ecx
lea ecx, [0x7010c0]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0059eef0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5bfb7f
lea eax, [0x6d4f00]
mov dword [esp], eax
call fcn.0040dea0
mov eax, dword [esp + 4]
mov dword [esp + 0x90], eax
lea ecx, [0x6d4f00]
mov dword [esp], ecx
call fcn.0040dea0
mov eax, dword [esp + 4]
mov dword [esp + 0x8c], eax
lea ecx, [0x6d4f00]
mov dword [esp], ecx
call fcn.0040dea0
mov eax, dword [esp + 4]
mov dword [esp + 0x88], eax
lea ecx, [0x6d5440]
mov dword [esp], ecx
call fcn.0040dea0
mov eax, dword [0x8c88d8]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x5bf94e
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x90]
mov ebx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x88]
jmp 0x5bf977
call fcn.00477310
mov eax, dword [esp + 0x28]
mov dword [edi], eax
mov edx, dword [esp + 0x90]
mov dword [edi + 4], edx
mov ebx, dword [esp + 0x8c]
mov dword [edi + 8], ebx
mov ebp, dword [esp + 0x88]
mov dword [edi + 0xc], ebp
mov dword [esp + 0x34], ecx
mov dword [ecx + 0xc], eax
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebp
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ebx
lea eax, [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], eax
mov byte [esp + 8], 0x30
call fcn.005a00a0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5bf9c3
mov eax, 1
jmp 0x5bfa1c
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
lea edx, [esp + 0x38]
mov dword [esp], edx
lea edx, [0x7010c0]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0059eef0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5bf9f3
mov eax, 1
jmp 0x5bfa1c
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x38]
mov dword [esp], edx
lea edx, [0x7010c0]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0059eef0
movzx eax, byte [esp + 0xc]
xor eax, 1
test al, al
jne 0x5bfa4a
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 8]
lea edx, [esp + 0x38]
mov dword [esp], edx
lea edx, [0x7010c0]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0059eef0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5bfa93
lea eax, [0x70d6f1]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.00480a00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
add esp, 0xa8
ret
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0xc]
mov dword [esp], ecx
call fcn.004d8ee0
mov eax, dword [esp + 4]
test eax, eax
jg 0x5bfab1
mov eax, 1
jmp 0x5bfae6
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov dword [esp], ecx
call fcn.004d8ee0
mov eax, dword [esp + 4]
test eax, eax
jg 0x5bface
mov eax, 1
jmp 0x5bfae6
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
mov dword [esp], ecx
call fcn.004d8ee0
mov eax, dword [esp + 4]
test eax, eax
setle al
test al, al
jne 0x5bfb01
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 8]
mov dword [esp], ecx
call fcn.004d8ee0
mov eax, dword [esp + 4]
test eax, eax
jg 0x5bfb4a
lea eax, [0x71180a]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.00480a00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
add esp, 0xa8
ret
lea eax, [0x6b46a0]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
add esp, 0xa8
ret
lea eax, [0x70d6d5]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.00480a00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
add esp, 0xa8
ret
lea eax, [0x71096f]
mov dword [esp], eax
mov dword [esp + 4], 0x22
call fcn.00480a00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
add esp, 0xa8
ret
call fcn.00475ee0
jmp fcn.005bef90