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

Disassembly:
push 0xffffffffffffffff
push 0x7ce994
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1f8
push ebx
push ebp
mov ebp, dword [esp + 0x218]
xor ebx, ebx
cmp ebp, ebx
mov dword [esp + 0x1fc], ebx
je 0x5f6f83
cmp dword [esp + 0x214], ebx
jl 0x5f6f83
mov eax, dword [esp + 0x210]
cmp eax, ebx
jbe 0x5f6f83
mov ecx, dword [0x9ea180]
push eax
call fcn.005f8250
cmp eax, ebx
je 0x5f6f83
mov eax, dword [eax + 0x3c]
push esi
mov esi, dword [0x9ea164]
lea ecx, [esp + 0x14]
push edi
lea edx, [esp + 0x14]
push ecx
push edx
lea ecx, [esi + 0x14]
mov dword [esp + 0x20], eax
call fcn.005f87d0
mov esi, dword [esi + 0x18]
mov eax, dword [esp + 0x14]
cmp eax, esi
jne 0x5f6a65
xor esi, esi
jmp 0x5f6a68
lea esi, [eax + 0x10]
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x60]
mov byte [esp + 0x60], al
call fcn.00404e60
mov cl, byte [esp + 0x13]
mov dword [esp + 0x210], ebx
mov byte [esp + 0x1c], cl
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dl, byte [esp + 0x13]
mov byte [esp + 0x210], 1
push ebx
lea ecx, [esp + 0x48]
mov byte [esp + 0x48], dl
call fcn.00404e60
lea eax, [esp + 0x44]
mov byte [esp + 0x210], 2
push eax
push 0x1cfc
call fcn.00709cc0
mov ecx, dword [esi + 0x10]
add esp, 8
cmp ecx, ebx
jne 0x5f6ad5
mov ecx, 0x7e5658
mov eax, dword [esp + 0x48]
cmp eax, ebx
jne 0x5f6ae2
mov eax, 0x7e5658
push ecx
lea ecx, [esp + 0x104]
push eax
push ecx
call fcn.007a3155
mov dl, byte [esp + 0x1f]
add esp, 0xc
lea ecx, [esp + 0x30]
mov byte [esp + 0x30], dl
push ebx
call fcn.00404e60
lea edi, [esp + 0x100]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x100]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.00404eb0
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x30]
push ecx
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x218], 3
call fcn.005f8840
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x214], 2
call fcn.00404e60
lea eax, [esp + 0xbc]
lea ecx, [esp + 0xbc]
mov dword [esp + 0x6c], 0x7ebfa8
mov dword [esp + 0x2c], eax
call fcn.005acf30
mov byte [esp + 0x210], 4
mov dword [esp + 0xbc], 0x7f36d8
mov byte [esp + 0x210], 2
mov dword [esp + 0x204], 1
push ebx
push 1
lea ecx, [esp + 0x78]
push ebx
push ecx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x220], 5
call fcn.005f8460
push 2
lea ecx, [esp + 0x74]
mov dword [esp + 0x214], 6
call fcn.005ada80
mov edx, dword [esp + 0x6c]
mov byte [esp + 0x210], 7
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x6c], 0x7ebfa4
mov dword [esp + 0x18], ebx
mov byte [esp + 0x210], 8
lea ebx, [ebp + 0xc]
mov ecx, dword [ebx - 4]
mov edx, dword [0x9eba88]
push ecx
mov ecx, dword [edx + 0x3c]
call fcn.004c5a10
mov edi, dword [ebx - 4]
mov dword [esp + 0x14], eax
cmp edi, 0x35a4e900
jne 0x5f6c24
mov eax, dword [0x9ea1d4]
mov ecx, dword [eax + 0x888]
mov dword [esp + 0x14], ecx
mov eax, ecx
cmp edi, dword [esp + 0x21c]
jne 0x5f6c35
cmp eax, dword [ebx]
jg 0x5f6e46
test eax, eax
jl 0x5f6e2f
mov eax, 0x10624dd3
mov esi, dword [0x9ea098]
mul edi
shr edx, 6
lea ecx, [esp + 0x54]
lea eax, [edx + edx*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
lea eax, [esp + 0x58]
push eax
push ecx
shl edx, 3
lea ecx, [esi + 0x14]
mov dword [esp + 0x60], edx
call fcn.00464b00
mov esi, dword [esi + 0x18]
mov eax, dword [esp + 0x54]
cmp eax, esi
jne 0x5f6d31
xor ebp, ebp
xor esi, esi
test ebp, ebp
je 0x5f6e2f
test esi, esi
je 0x5f6e2f
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x34], cl
lea ecx, [esp + 0x34]
call fcn.00404e60
mov edi, 0x870c08
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x870c08
lea ecx, [esp + 0x38]
call fcn.00404eb0
lea edx, [esp + 0x30]
lea ecx, [esp + 0x70]
push edx
mov byte [esp + 0x214], 9
call fcn.005f20c0
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x214], 8
call fcn.00404e60
mov al, byte [esi + 0x34]
cmp al, 4
je 0x5f6cfb
cmp al, 6
jne 0x5f6d8d
mov eax, dword [esi + 8]
test eax, eax
jne 0x5f6d07
mov eax, 0x7e5658
push eax
lea eax, [esp + 0x70]
push eax
call fcn.005adf80
mov ecx, dword [ebx]
mov edx, dword [esp + 0x1c]
add esp, 8
lea eax, [esp + 0x6c]
push ecx
push 0x82eaf4
push edx
push 0x82c2b8
push eax
jmp 0x5f6dbe
lea ebp, [eax + 0x10]
test ebp, ebp
je 0x5f6c80
mov cl, byte [ebp + 4]
cmp cl, 0x2b
jae 0x5f6c80
mov eax, edi
xor edx, edx
mov esi, 0x3e8
and ecx, 0xff
div esi
mov esi, dword [ecx*4 + 0x9ea09c]
lea eax, [esp + 0x2c]
lea ecx, [esi + 0x14]
mov dword [esp + 0x40], edx
lea edx, [esp + 0x40]
push edx
push eax
call fcn.00464b70
mov esi, dword [esi + 0x18]
mov eax, dword [esp + 0x2c]
cmp eax, esi
je 0x5f6c80
lea esi, [eax + 0x10]
jmp 0x5f6c82
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x5f6d99
mov eax, 0x7e5658
lea ecx, [esp + 0x6c]
push eax
push ecx
call fcn.005adf80
mov edx, dword [ebx]
mov eax, dword [esp + 0x1c]
add esp, 8
lea ecx, [esp + 0x6c]
push edx
push 0x82eaf4
push eax
push 0x82c2b8
push ecx
call fcn.005adf80
add esp, 8
mov ecx, eax
call fcn.005ac7d0
push eax
call fcn.005adf80
add esp, 8
mov ecx, eax
call fcn.005ac7d0
mov esi, eax
push 0xa
mov ecx, esi
call fcn.005f7e50
mov ecx, esi
call fcn.005f7fd0
lea edx, [esp + 0xf0]
lea ecx, [esp + 0x6c]
push edx
call fcn.005f83e0
push eax
mov eax, dword [esp + 0x28]
push 1
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x21c], 0xa
call fcn.005f9a00
push 1
lea ecx, [esp + 0xf4]
mov byte [esp + 0x214], 8
call fcn.00404e60
mov eax, dword [esp + 0x18]
add ebx, 8
inc eax
cmp eax, 5
mov dword [esp + 0x18], eax
jl 0x5f6bf2
jmp 0x5f6e59
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.005f89d0
mov ecx, dword [esp + 0x6c]
lea eax, [esp + 0xbc]
mov byte [esp + 0x210], 2
mov dword [esp + 0x2c], eax
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x6c], 0x7ebfa4
lea ecx, [esp + 0x70]
mov byte [esp + 0x210], 0xb
call fcn.005ad1b0
mov eax, dword [esp + 0x6c]
mov byte [esp + 0x210], 2
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x6c], 0x7f36d0
lea ecx, [esp + 0xbc]
call fcn.005acc20
mov eax, dword [esp + 0x20]
xor ebx, ebx
cmp eax, ebx
je 0x5f6edd
mov edx, dword [esp + 0x24]
sub edx, eax
sar edx, 4
cmp edx, 1
jbe 0x5f6edd
mov ecx, dword [0x9eba88]
lea eax, [esp + 0x1c]
push eax
mov ecx, dword [ecx + 0x198]
call fcn.005fb0f0
mov eax, dword [esp + 0x48]
mov byte [esp + 0x210], 1
cmp eax, ebx
je 0x5f6f0a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5f6f01
cmp al, 0xff
je 0x5f6f01
dec al
mov byte [ecx], al
jmp 0x5f6f0a
push ecx
call fcn.007a02e0
add esp, 4
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
cmp esi, edi
mov byte [esp + 0x210], 0
je 0x5f6f39
push ebx
mov ecx, esi
call fcn.00580bd0
add esi, 0x10
cmp esi, edi
jne 0x5f6f2a
mov edx, dword [esp + 0x20]
push edx
call fcn.007a02e0
mov ecx, dword [esp + 0x64]
add esp, 4
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
pop edi
cmp ecx, ebx
mov dword [esp + 0x20c], 0xffffffff
pop esi
je 0x5f6f83
mov al, byte [ecx - 1]
test al, al
je 0x5f6f79
cmp al, 0xff
je 0x5f6f79
dec al
mov byte [ecx - 1], al
jmp 0x5f6f83
dec ecx
push ecx
call fcn.007a02e0
add esp, 4
mov ecx, dword [esp + 0x200]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x204
ret 0xc