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

Disassembly:
push 0xffffffffffffffff
push 0x6838b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
mov ebp, dword [esp + 0x70]
xor ebx, ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 8], ebx
mov eax, dword [ebp + 8]
cmp eax, ebx
mov dword [esp + 0x14], eax
jg 0x40efe8
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 4
push esi
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x10], esi
jle 0x40f1e2
push edi
mov eax, dword [ebp + 4]
cmp eax, ebx
jne 0x40f006
mov eax, 0x6a3560
jmp 0x40f008
add eax, esi
test byte [eax], 0x80
je 0x40f0e7
push 2
lea eax, [esp + 0x5c]
push esi
push eax
mov ecx, ebp
call fcn.00408170
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x70], ebx
cmp esi, ebx
jne 0x40f031
mov esi, 0x6a3560
mov cl, byte [esp + 0x78]
push ebx
mov byte [esp + 0x3c], cl
lea ecx, [esp + 0x3c]
call fcn.004031c0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x3c]
push ebp
call fcn.00403350
test al, al
je 0x40f07f
mov edi, dword [esp + 0x3c]
mov ecx, ebp
mov edx, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x3c]
call fcn.00403330
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x3c]
push 2
push ecx
mov ecx, dword [edx + 0xb0]
mov byte [esp + 0x7c], 1
call fcn.0042bcd0
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x74], bl
call fcn.004031c0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
add ecx, 2
add edx, eax
mov dword [esp + 0x14], ecx
push 1
lea ecx, [esp + 0x5c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x74], 0xffffffff
call fcn.004031c0
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x14]
jmp 0x40f1d7
push 1
lea ecx, [esp + 0x4c]
push esi
push ecx
mov ecx, ebp
call fcn.00408170
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x70], 2
cmp edx, ebx
jne 0x40f10b
mov edx, 0x6a3560
mov al, byte [esp + 0x78]
mov edi, edx
mov byte [esp + 0x28], al
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.004083a0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
mov ecx, dword [eax + 0xb0]
push 1
push edx
mov byte [esp + 0x7c], 3
call fcn.0042bcd0
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x70], 2
cmp eax, ebx
je 0x40f180
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x40f177
cmp al, 0xff
je 0x40f177
dec al
mov byte [ecx], al
jmp 0x40f180
push ecx
call fcn.006713a0
add esp, 4
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
add edx, ecx
mov ecx, dword [esp + 0x4c]
inc esi
cmp ecx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x70], 0xffffffff
je 0x40f1cb
mov al, byte [ecx - 1]
cmp al, bl
je 0x40f1c1
cmp al, 0xff
je 0x40f1c1
dec al
mov byte [ecx - 1], al
jmp 0x40f1cb
dec ecx
push ecx
call fcn.006713a0
add esp, 4
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
cmp esi, dword [esp + 0x1c]
jl 0x40eff8
pop edi
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0xc]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 4