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

Disassembly:
mov ecx, dword [0x95eda0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5f73a0
sub esp, 0x6c
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov edx, dword [esp + 0x70]
mov ebx, dword [edx + 0x2ac]
add ebx, 0xfffffffe
mov eax, dword [esp + 0x74]
cmp eax, ebx
jbe 0x5f6a0f
mov ebx, dword [0x932770]
xor ebp, ebp
jmp 0x5f6a43
mov ecx, dword [edx + 0x28c]
cmp eax, ecx
ja 0x5f739a
mov ebx, dword [edx + 0x290]
sub ecx, eax
sub ebx, eax
neg ebx
sar ebx, 0x1f
and ebx, eax
cmp ecx, 1
jbe 0x5f7390
mov ebp, dword [edx + 0x288]
movzx ebp, word [ebx + ebp]
xor ebx, ebx
test ebx, ebx
jne 0x5f72f2
xchg ebp, eax
mov byte [esp + 0x54], al
xchg ebp, eax
mov ebx, ebp
and ebp, 0xf00
shr bp, 8
xchg ebp, eax
mov byte [esp + 0x55], al
xchg ebp, eax
and ebx, 0xfffff000
shr bx, 0xc
mov byte [esp + 0x56], bl
xchg ebp, eax
cmp al, 5
xchg ebp, eax
ja 0x5f6f09
xchg ebp, eax
cmp al, 2
xchg ebp, eax
ja 0x5f6c8f
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5f6c26
xchg ebp, eax
cmp al, 1
xchg ebp, eax
jne 0x5f6bcc
test bl, bl
jne 0x5f6b3a
mov ecx, dword [edx + 0x28c]
lea ebx, [eax + 2]
cmp ecx, ebx
jb 0x5f7389
mov ebp, dword [edx + 0x290]
sub ecx, eax
sub ebp, eax
add ecx, 0xfffffffe
add ebp, 0xfffffffe
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebx, ebp
cmp ecx, 1
jbe 0x5f737f
mov eax, dword [edx + 0x288]
movzx eax, word [ebx + eax]
shl eax, 3
movzx eax, ax
mov ecx, eax
sar eax, 0x1f
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
call fcn.004c6e60
mov dword [esp], 0
lea eax, [0x6f726e]
mov dword [esp + 4], eax
mov dword [esp + 8], 5
call fcn.00450a00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov eax, 2
jmp 0x5f72da
mov ecx, dword [edx + 0x28c]
lea ebx, [eax + 2]
cmp ecx, ebx
jb 0x5f7378
mov ebp, dword [edx + 0x290]
sub ebp, eax
sub ecx, eax
add ecx, 0xfffffffe
add ebp, 0xfffffffe
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebx, ebp
cmp ecx, 3
jbe 0x5f736e
mov eax, dword [edx + 0x288]
mov eax, dword [ebx + eax]
shl eax, 0x10
mov ecx, eax
sar eax, 0x1f
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
call fcn.004c6e60
mov dword [esp], 0
lea eax, [0x6f726e]
mov dword [esp + 4], eax
mov dword [esp + 8], 5
call fcn.00450a00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov eax, 3
jmp 0x5f72da
shl ebx, 3
lea eax, [ebx + 8]
movzx eax, al
mov ecx, eax
sar eax, 0x1f
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
call fcn.004c6e60
mov dword [esp], 0
lea eax, [0x6f726e]
mov dword [esp + 4], eax
mov dword [esp + 8], 5
call fcn.00450a00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov eax, 1
jmp 0x5f72da
mov eax, dword [0x93eb78]
lea ecx, [0x6abd00]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x56]
mov dword [esp + 8], eax
call fcn.0040cbb0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], 0
lea edx, [0x6f87b3]
mov dword [esp + 4], edx
mov dword [esp + 8], 9
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.00450a00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov eax, 1
jmp 0x5f72da
xchg ebp, eax
cmp al, 3
xchg ebp, eax
je 0x5f6ea0
xchg ebp, eax
cmp al, 4
xchg ebp, eax
jne 0x5f6da3
mov ecx, dword [edx + 0x28c]
lea ebx, [eax + 2]
cmp ecx, ebx
jb 0x5f7367
mov ebp, dword [edx + 0x290]
sub ecx, eax
sub ebp, eax
add ecx, 0xfffffffe
add ebp, 0xfffffffe
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebx, ebp
cmp ecx, 1
jbe 0x5f735d
mov eax, dword [edx + 0x288]
movzx eax, word [ebx + eax]
shl eax, 3
mov word [esp + 0x60], ax
movzx eax, ax
mov ecx, eax
sar eax, 0x1f
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
call fcn.004c6e60
mov eax, dword [0x93eb78]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x3c], edx
lea ebx, [0x6abd00]
mov dword [esp], ebx
mov dword [esp + 4], eax
lea eax, [esp + 0x56]
mov dword [esp + 8], eax
call fcn.0040cbb0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], 0
lea edx, [0x6f87b3]
mov dword [esp + 4], edx
mov dword [esp + 8], 9
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
lea eax, [0x6f87bc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 9
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
call fcn.00450b30
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov eax, 2
jmp 0x5f72da
mov ecx, dword [edx + 0x28c]
lea ebx, [eax + 2]
cmp ecx, ebx
jb 0x5f7356
mov ebp, dword [edx + 0x290]
sub ebp, eax
sub ecx, eax
add ecx, 0xfffffffe
add ebp, 0xfffffffe
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebx, ebp
cmp ecx, 3
jbe 0x5f734c
mov eax, dword [edx + 0x288]
mov eax, dword [ebx + eax]
shl eax, 3
mov word [esp + 0x60], ax
movzx eax, ax
mov ecx, eax
sar eax, 0x1f
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
call fcn.004c6e60
mov eax, dword [0x93eb78]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x38], edx
lea ebx, [0x6abd00]
mov dword [esp], ebx
mov dword [esp + 4], eax
lea eax, [esp + 0x56]
mov dword [esp + 8], eax
call fcn.0040cbb0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], 0
lea edx, [0x6f87b3]
mov dword [esp + 4], edx
mov dword [esp + 8], 9
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
lea eax, [0x6f87bc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 9
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], eax
call fcn.00450b30
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov eax, 3
jmp 0x5f72da
mov eax, dword [0x93eb78]
lea ecx, [0x6abd00]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x56]
mov dword [esp + 8], eax
call fcn.0040cbb0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], 0
lea edx, [0x6f87b3]
mov dword [esp + 4], edx
mov dword [esp + 8], 9
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.00450a00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov eax, 1
jmp 0x5f72da
xchg ebp, eax
cmp al, 8
xchg ebp, eax
ja 0x5f70ef
xchg ebp, eax
cmp al, 6
xchg ebp, eax
jne 0x5f6fe1
movzx eax, byte [esp + 0x78]
cmp al, 2
jne 0x5f6fd7
movzx eax, bl
mov ecx, eax
sar eax, 0x1f
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
call fcn.004c6e60
movzx eax, byte [esp + 0x54]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x2c], edx
mov ebx, eax
sar eax, 0x1f
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
call fcn.004c6e60
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], 0
lea edx, [0x6f774e]
mov dword [esp + 4], edx
mov dword [esp + 8], 6
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x10], edx
lea edx, [0x6f7c51]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 7
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.00450b30
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov eax, 2
jmp 0x5f72da
xchg ebp, eax
cmp al, 7
xchg ebp, eax
jne 0x5f6ff2
mov eax, 3
jmp 0x5f72da
mov ecx, dword [edx + 0x28c]
lea ebx, [eax + 2]
cmp ecx, ebx
jb 0x5f7345
mov ebp, dword [edx + 0x290]
sub ecx, eax
sub ebp, eax
add ecx, 0xfffffffe
add ebp, 0xfffffffe
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebx, ebp
cmp ecx, 1
jbe 0x5f733b
mov eax, dword [edx + 0x288]
movzx eax, word [ebx + eax]
shl eax, 4
mov word [esp + 0x60], ax
movzx eax, byte [esp + 0x56]
mov ecx, eax
sar eax, 0x1f
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
call fcn.004c6e60
movzx eax, word [esp + 0x60]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x34], edx
mov ebx, eax
sar eax, 0x1f
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
call fcn.004c6e60
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], 0
lea edx, [0x6fa28d]
mov dword [esp + 4], edx
mov dword [esp + 8], 0xc
mov edx, dword [esp + 0x48]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], edx
lea edx, [0x6f87bc]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 9
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.00450b30
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov eax, 2
jmp 0x5f72da
xchg ebp, eax
cmp al, 9
xchg ebp, eax
jne 0x5f71f3
mov ecx, dword [edx + 0x28c]
lea ebx, [eax + 2]
cmp ecx, ebx
jb 0x5f7334
mov ebp, dword [edx + 0x290]
sub ecx, eax
sub ebp, eax
add ecx, 0xfffffffe
add ebp, 0xfffffffe
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebx, ebp
cmp ecx, 3
jbe 0x5f732a
mov eax, dword [edx + 0x288]
mov eax, dword [ebx + eax]
mov word [esp + 0x60], ax
movzx eax, byte [esp + 0x56]
mov ecx, eax
sar eax, 0x1f
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
call fcn.004c6e60
movzx eax, word [esp + 0x60]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x30], edx
mov ebx, eax
sar eax, 0x1f
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
call fcn.004c6e60
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], 0
lea edx, [0x6fa28d]
mov dword [esp + 4], edx
mov dword [esp + 8], 0xc
mov edx, dword [esp + 0x44]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], edx
lea edx, [0x6f87bc]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 9
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.00450b30
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov eax, 3
jmp 0x5f72da
xchg ebp, eax
cmp al, 0xa
xchg ebp, eax
jne 0x5f7204
mov eax, 1
jmp 0x5f72da
xchg ebp, eax
cmp al, 0xb
xchg ebp, eax
jne 0x5f7271
mov eax, dword [0x93eb78]
lea ecx, [0x6abd00]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x56]
mov dword [esp + 8], eax
call fcn.0040cbb0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], 0
lea edx, [0x6f87b3]
mov dword [esp + 4], edx
mov dword [esp + 8], 9
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.00450a00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov eax, 2
jmp 0x5f72da
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
movzx eax, byte [esp + 0x55]
lea ecx, [0x6ae720]
mov dword [esp + 0x64], ecx
lea ecx, [0x911380]
lea eax, [ecx + eax*8]
mov dword [esp + 0x68], eax
mov eax, dword [edx + 0x2c0]
mov dword [esp], eax
lea eax, [0x700201]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x16
lea eax, [esp + 0x64]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.0052ce40
mov eax, 1
lea edi, [esp + 0x7c]
lea esi, [esp + 0x54]
call fcn.00471f48
mov dword [esp + 0x8c], eax
add esp, 0x6c
ret
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x6c
ret
mov eax, 3
call fcn.00471840
mov eax, ebx
call fcn.004718b0
mov eax, 1
call fcn.00471840
mov eax, ebx
call fcn.004718b0
mov eax, 3
call fcn.00471840
mov eax, ebx
call fcn.004718b0
mov eax, 1
call fcn.00471840
mov eax, ebx
call fcn.004718b0
mov eax, 3
call fcn.00471840
mov eax, ebx
call fcn.004718b0
mov eax, 1
call fcn.00471840
mov eax, ebx
call fcn.004718b0
mov eax, 1
call fcn.00471840
call fcn.004718b0
nop
call fcn.004703c0
jmp fcn.005f6990