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

Disassembly:
push 0xffffffffffffffff
push 0x46e978
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
push esi
xor ebx, ebx
mov esi, ecx
cmp ebp, ebx
push edi
mov dword [esp + 0x14], esi
je 0x42e6b0
mov edi, dword [esp + 0x78]
cmp edi, ebx
jle 0x42e6b0
mov eax, dword [esi + 4]
push eax
mov ecx, dword [eax]
lea eax, [esp + 0x7c]
push ecx
push eax
mov ecx, esi
call fcn.0042e6e0
cmp edi, 0xc
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edi
jae 0x42e4f2
lea ecx, [esp + 0x78]
push 0x47ed14
push ecx
mov byte [esp + 0x80], bl
call fcn.004462cb
mov eax, ebp
push 4
sub edi, 0xc
push str.HELP
push eax
mov dword [esp + 0x80], eax
add ebp, 0xc
mov dword [esp + 0x84], edi
call fcn.00445700
add esp, 0xc
test eax, eax
jne 0x42e6b0
mov edx, dword [esp + 0x74]
push 4
add edx, 4
push str.1000
push edx
call fcn.00445700
add esp, 0xc
test eax, eax
jne 0x42e6b0
mov eax, dword [esp + 0x74]
mov dword [esp + 0x74], ebx
mov eax, dword [eax + 8]
cmp eax, ebx
mov dword [esp + 0x10], eax
jbe 0x42e69f
add ebp, 4
jmp 0x42e563
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x78]
cmp edi, ebx
jle 0x42e69f
mov eax, dword [ebp]
mov ecx, dword [esp + 0x18]
cmp eax, ebx
lea edx, [eax + ecx]
jl 0x42e6b0
mov eax, edx
sub eax, ecx
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jg 0x42e6b0
mov cl, byte [esp + 0x78]
mov edi, edx
mov byte [esp + 0x30], cl
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.00424c75
mov dl, byte [esp + 0x78]
push ebx
lea ecx, [esp + 0x44]
mov dword [esp + 0x70], ebx
mov byte [esp + 0x44], dl
call fcn.00421380
mov eax, dword [ebp - 4]
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x58]
mov byte [esp + 0x70], 1
mov dword [esp + 0x54], eax
call fcn.0042411f
lea edx, [esp + 0x50]
lea eax, [esp + 0x20]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x74], 2
call fcn.00429b10
lea ecx, [esp + 0x24]
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.00429d30
mov esi, dword [esp + 0x28]
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x70], 1
call fcn.00421380
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x70], bl
call fcn.00421380
push 0xffffffffffffffff
lea eax, [esp + 0x34]
push ebx
lea ecx, [esi + 0x10]
push eax
call fcn.00424850
mov eax, dword [esp + 0x34]
mov dword [esp + 0x6c], 0xffffffff
cmp eax, ebx
je 0x42e670
mov cl, byte [eax - 1]
dec eax
cmp cl, bl
je 0x42e667
cmp cl, 0xff
je 0x42e667
dec cl
mov byte [eax], cl
jmp 0x42e670
push eax
call fcn.004617ff
add esp, 4
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x10]
inc eax
add ebp, 8
sub edx, 8
cmp eax, ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
jb 0x42e55b
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x74]
xor eax, eax
cmp edx, ecx
sete al
jmp 0x42e6b2
xor al, al
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 8