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

Disassembly:
mov ecx, dword [0x95eda0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x104]
cmp eax, dword [ecx + 8]
jbe 0x5ff8e7
sub esp, 0x184
mov eax, dword [esp + 0x18c]
test eax, eax
je 0x5ff031
mov ecx, dword [eax + 8]
cmp ecx, 0x9eaa9ae
jne 0x5ff001
lea ecx, [0x68ef20]
cmp eax, ecx
jne 0x5ff029
mov eax, dword [esp + 0x190]
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
xor edx, edx
jmp 0x5ff037
cmp ecx, 0x4b6059d3
jne 0x5ff029
lea ecx, [0x68f960]
cmp eax, ecx
jne 0x5ff029
mov edx, dword [esp + 0x190]
mov ebx, dword [edx]
mov ecx, dword [edx + 0x10]
mov eax, dword [edx + 0xc]
test ebx, ebx
sete dl
jmp 0x5ff037
xor edx, edx
xor ecx, ecx
xor eax, eax
jmp 0x5ff037
xor edx, edx
xor ecx, ecx
xor eax, eax
mov byte [esp + 0x27], dl
mov dword [esp + 0x4c], eax
mov ebx, dword [esp + 0x188]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x194]
mov dword [esp + 8], ecx
mov byte [esp + 0xc], dl
call fcn.005fd810
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x5ff1e1
mov dword [esp + 0x3c], edx
mov dword [esp + 0x170], ecx
mov eax, dword [esp + 0x188]
mov dword [esp], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x194]
mov dword [esp + 8], ecx
movzx ecx, byte [esp + 0x27]
mov byte [esp + 0xc], cl
call fcn.005fd810
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
test eax, eax
jne 0x5ff1ab
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
test edx, edx
jne 0x5ff111
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x5ff11b
mov eax, dword [0x932798]
mov ecx, dword [0x93279c]
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov dword [esp + 0x1a0], 0
mov dword [esp + 0x1a4], eax
mov dword [esp + 0x1a8], ecx
add esp, 0x184
ret
mov ebp, dword [esp + 0x3c]
test ebp, ebp
je 0x5ff126
mov ecx, ebp
mov eax, ecx
mov ebp, dword [esp + 0x170]
jmp 0x5ff130
test edx, edx
je 0x5ff175
mov eax, ebp
mov ecx, edx
mov ebp, ebx
mov dword [esp + 0x44], edx
mov dword [esp + 0x174], ebx
mov dword [esp + 0x13c], ebp
mov dword [esp + 0x28], ecx
mov esi, dword [esp + 0x188]
xor edi, edi
xor edi, edi
mov dword [esp + 0x2c], edi
xor edi, edi
mov dword [esp + 0x38], edi
lea edi, [0x95eb80]
mov dword [esp + 0x144], edi
xor edi, edi
mov dword [esp + 0x34], edi
xor edi, edi
jmp 0x5ff25d
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov dword [esp + 0x1a0], 0
mov dword [esp + 0x1a4], eax
mov dword [esp + 0x1a8], ecx
add esp, 0x184
ret
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov dword [esp + 0x1a0], 0
mov dword [esp + 0x1a4], eax
mov dword [esp + 0x1a8], ecx
add esp, 0x184
ret
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov dword [esp + 0x1a0], 0
mov dword [esp + 0x1a4], eax
mov dword [esp + 0x1a8], ecx
add esp, 0x184
ret
mov esi, dword [esp + 0x40]
lea edi, [esi + 1]
mov esi, dword [esp + 0x13c]
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x188]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x144], ebp
mov dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x174]
mov ebp, dword [esp + 0x13c]
cmp ecx, edi
jbe 0x5ff6e5
mov dword [esp + 0x40], edi
lea edi, [esp + 0x148]
xor eax, eax
call fcn.00471a56
mov ecx, dword [esp + 0x40]
lea edi, [ebp + ecx*8]
mov ebx, dword [edi]
test ebx, ebx
jbe 0x5ff538
test ebx, 0x80000000
jbe 0x5ff365
mov byte [esp + 0x152], 1
mov ebx, dword [edi]
and ebx, 0xffff
mov dword [esp + 0x154], ebx
mov ebx, dword [esp + 0x3c]
cmp ecx, ebx
jae 0x5ff2d6
mov edi, dword [esp + 0x170]
lea ebx, [edi + ecx*8]
mov ebx, dword [ebx]
mov dword [esp + 0x158], ebx
lea ebx, [edi + ecx*8 + 4]
mov ebx, dword [ebx]
mov dword [esp + 0x16c], ebx
jmp 0x5ff2dd
mov edi, dword [esp + 0x170]
cmp ecx, edx
jae 0x5ff30c
mov ebx, dword [esp + 0x174]
lea edx, [ebx + ecx*8]
mov edx, dword [edx]
mov dword [esp + 0x160], edx
mov dword [esp + 0x164], 0
lea edx, [ebx + ecx*8 + 4]
mov edx, dword [edx]
mov dword [esp + 0x168], edx
mov eax, dword [esp + 0x154]
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, [0x6f67d5]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call fcn.00450a00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], ecx
jmp 0x5ff520
mov dword [esp + 0x180], edi
movzx ebx, byte [esp + 0x27]
test bl, bl
je 0x5ff3c3
lea edi, [esp + 0x5c]
call fcn.00471a28
mov ecx, dword [esi + 0x78]
lea ebx, [0x6ea1a0]
cmp ecx, ebx
jne 0x5ff8d0
mov ecx, dword [esi + 0x7c]
lea edi, [esp + 0x5c]
mov esi, ecx
call fcn.00471d40
mov ecx, dword [esp + 0x180]
mov esi, dword [ecx]
sub esi, dword [esp + 0x78]
mov dword [ecx], esi
mov ecx, dword [esp + 0x40]
movzx ebx, byte [esp + 0x27]
mov esi, dword [esp + 0x188]
mov edi, dword [esp + 0x180]
mov ebx, dword [esp + 0x3c]
cmp ecx, ebx
jae 0x5ff409
mov ebx, dword [esp + 0x170]
lea ebp, [ebx + ecx*8]
mov ebp, dword [ebp]
and ebp, 0x7fffffff
mov dword [esp + 0x158], ebp
mov dword [esp + 0x15c], 0
lea ebp, [ebx + ecx*8 + 4]
mov ebp, dword [ebp]
mov dword [esp + 0x16c], ebp
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x13c]
cmp ecx, edx
jae 0x5ff43e
mov edx, dword [esp + 0x174]
lea ebx, [edx + ecx*8]
mov ebx, dword [ebx]
and ebx, 0x7fffffff
mov dword [esp + 0x160], ebx
mov dword [esp + 0x164], 0
lea ebx, [edx + ecx*8 + 4]
mov ebx, dword [ebx]
mov dword [esp + 0x168], ebx
mov eax, dword [edi]
mov dword [esp], esi
and eax, 0x7fffffff
mov dword [esp + 4], eax
call fcn.005fc110
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x188]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffe
cmp eax, edx
jbe 0x5ff473
mov eax, dword [0x932770]
xor edx, edx
jmp 0x5ff4a7
mov edx, dword [ecx + 0x28c]
cmp edx, eax
jb 0x5ff8c9
mov ebx, dword [ecx + 0x290]
sub edx, eax
sub ebx, eax
neg ebx
sar ebx, 0x1f
and eax, ebx
cmp edx, 1
jbe 0x5ff8bd
mov edx, dword [ecx + 0x288]
movzx edx, word [edx + eax]
xor eax, eax
mov word [esp + 0x150], dx
test eax, eax
je 0x5ff4bd
mov word [esp + 0x150], 0xffff
mov eax, dword [esp + 0x180]
mov eax, dword [eax]
mov dword [esp], ecx
add eax, 2
mov dword [esp + 4], eax
mov dword [esp + 8], 0x200
call fcn.005fc530
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005fbbf0
movzx eax, byte [esp + 8]
test al, al
jne 0x5ff520
lea ecx, [0x6f8786]
mov dword [esp + 0x148], ecx
mov dword [esp + 0x14c], 9
xor eax, eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x13c]
mov esi, dword [esp + 0x188]
mov ebx, dword [esp + 0x154]
test ebx, ebx
jne 0x5ff589
mov ebx, dword [esp + 0x14c]
test ebx, ebx
jne 0x5ff589
mov ebx, dword [0x932790]
mov dword [esp + 0x178], ebx
mov edi, dword [0x932794]
mov dword [esp + 0x48], edi
mov edx, dword [esi + 0x274]
mov dword [esp + 0x30], edx
mov ebp, dword [esi + 0x270]
mov dword [esp + 0x140], ebp
xor eax, eax
mov dword [esp + 0x50], eax
xor eax, eax
jmp 0x5ff797
cmp dword [esp + 0x14c], 9
jne 0x5ff609
mov eax, dword [esp + 0x148]
mov dword [esp], eax
lea eax, [0x6f8786]
mov dword [esp + 4], eax
mov dword [esp + 8], 9
call fcn.004024a0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5ff5f1
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x3e8
jbe 0x5ff5d6
mov edx, dword [esp + 0x40]
cmp ecx, edx
jne 0x5ff5da
jmp 0x5ff726
mov edx, dword [esp + 0x40]
inc ecx
xor eax, eax
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x144]
jmp 0x5ff21b
xor eax, eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x13c]
mov esi, dword [esp + 0x188]
mov ebx, dword [esp + 0x34]
inc ebx
mov edi, edx
mov edx, dword [esp + 0x38]
cmp edx, ebx
jae 0x5ff66e
mov eax, dword [esp + 0x144]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6da8e0]
mov dword [esp + 0x10], eax
call fcn.0046c6b0
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x13c]
mov esi, dword [esp + 0x188]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x144], eax
mov edx, ecx
xor eax, eax
mov ecx, dword [esp + 0x40]
mov edi, dword [0x95f020]
lea esi, [ebx + ebx*4]
mov ebp, dword [esp + 0x144]
lea esi, [ebp + esi*8 - 0x28]
test edi, edi
je 0x5ff6ce
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], edx
mov dword [esp + 0x17c], esi
lea eax, [0x6da8e0]
mov dword [esp], eax
mov dword [esp + 4], esi
lea eax, [esp + 0x148]
mov dword [esp + 8], eax
call fcn.0040ed00
xor eax, eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x144]
mov esi, dword [esp + 0x17c]
mov edi, esi
lea esi, [esp + 0x148]
call fcn.00471f0c
mov ecx, dword [esp + 0x2c]
jmp 0x5ff21b
mov eax, dword [esp + 0x144]
mov dword [esp + 0x198], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x19c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1a0], eax
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1a8], 0
add esp, 0x184
ret
lea eax, [0x6b6b60]
mov dword [esp], eax
call fcn.0040c000
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x28
lea ecx, [0x708ccd]
mov dword [eax], ecx
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov dword [esp + 0x1a0], 0
lea ecx, [0x762e24]
mov dword [esp + 0x1a4], ecx
mov dword [esp + 0x1a8], eax
add esp, 0x184
ret
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x188]
mov dword [esp + 0x50], eax
xor eax, eax
mov ecx, dword [esp + 0x50]
cmp ecx, edx
jge 0x5ff7f7
lea eax, [ebp + ecx*8]
mov esi, dword [eax + 4]
cmp esi, edi
jne 0x5ff783
mov eax, dword [eax]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
call fcn.004024a0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5ff7e1
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x178]
mov ebp, dword [esp + 0x140]
mov edi, dword [esp + 0x48]
jmp 0x5ff783
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x30]
cmp ecx, edx
mov eax, 0
mov esi, dword [esp + 0x188]
jl 0x5ff8a9
mov ecx, dword [esi + 0x278]
mov edx, dword [esi + 0x274]
inc edx
mov ebx, dword [esi + 0x270]
cmp ecx, edx
jae 0x5ff875
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x6a7120]
mov dword [esp + 0x10], eax
call fcn.0046c6b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x188]
mov dword [ebx + 0x278], eax
mov eax, dword [0x95f020]
test eax, eax
je 0x5ff869
call fcn.004717d0
mov dword [edi], ecx
mov ebp, dword [ebx + 0x270]
mov dword [edi + 4], ebp
mov dword [ebx + 0x270], ecx
xor eax, eax
mov esi, ebx
mov ebx, ecx
mov dword [esi + 0x274], edx
lea ecx, [ebx + edx*8 - 4]
mov ebp, dword [0x932794]
lea edx, [ebx + edx*8 - 8]
mov ebx, dword [0x932790]
mov dword [ecx], ebp
mov ecx, dword [0x95f020]
test ecx, ecx
je 0x5ff8a7
call fcn.004717d0
mov dword [edi], ebx
mov ecx, dword [edx]
mov dword [edi + 4], ecx
mov dword [edx], ebx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x13c]
jmp 0x5ff589
mov eax, 1
mov ecx, edx
call fcn.00471840
mov ecx, edx
call fcn.004718b0
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x6a8ba0]
mov dword [esp + 8], eax
call fcn.0040a040
nop
call fcn.004703c0
jmp fcn.005fefb0