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

Disassembly:
push ebp
push edi
push esi
push ebx
mov esi, eax
mov eax, ecx
mov ebx, edx
sub esp, 0x5c
sub eax, 1
mov dword [esp + 0x28], edx
mov edx, eax
mov dword [esp + 0x2c], ecx
shr edx, 0x1f
add eax, edx
sar eax, 1
cmp ebx, eax
mov dword [esp + 0x24], eax
jge 0x471453
lea eax, [esp + 0x38]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
jmp 0x4712a8
mov dword [esp], ebp
call sub.msvcrt.dll_strlen
mov dword [esp + 4], eax
mov dword [esp], ebp
call dword [method.QString.fromAscii_helper_char_const__int_]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call dword [sym.imp.libmemuqt.dll_GetVmIndex_QString_const_]
test edi, edi
mov ebp, eax
je 0x4712f0
mov dword [esp], edi
call sub.msvcrt.dll_strlen
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [method.QString.fromAscii_helper_char_const__int_]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
mov dword [esp], eax
call dword [sym.imp.libmemuqt.dll_GetVmIndex_QString_const_]
lea ecx, [esp + 0x34]
mov edi, eax
call fcn.004f6890
mov ecx, dword [esp + 0x18]
call fcn.004f6890
cmp ebp, edi
mov eax, dword [esp + 0x20]
cmovge eax, dword [esp + 0x10]
mov edx, dword [esi]
cmovl ebx, dword [esp + 0x1c]
cmp ebx, dword [esp + 0x24]
mov ecx, eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
mov eax, dword [edx + eax*4]
mov edx, dword [edx + ecx]
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x10], ecx
mov edx, dword [edx + 0x14]
mov dword [eax + 0x14], edx
jge 0x471300
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
add eax, 1
lea ebx, [eax + eax]
mov ebp, dword [edx + eax*8]
lea edi, [ebx - 1]
test ebp, ebp
lea ecx, [edi*4]
mov dword [esp + 0x1c], edi
mov edi, dword [edx + edi*4]
mov dword [esp + 0x20], ecx
lea ecx, [eax*8]
mov dword [esp + 0x10], ecx
jne 0x4711f0
mov eax, 0xffffffff
jmp 0x4711f8
mov eax, 0xffffffff
jmp 0x471228
test byte [esp + 0x2c], 1
jne 0x47131b
mov eax, dword [esp + 0x2c]
sub eax, 2
mov edx, eax
shr edx, 0x1f
add eax, edx
sar eax, 1
cmp ebx, eax
je 0x471392
mov eax, dword [esp + 0x70]
cmp ebx, dword [esp + 0x28]
mov edi, dword [esi]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x4c], eax
jg 0x4713d4
mov esi, dword [esp + 0x10]
add esi, edi
mov eax, dword [esi]
mov edx, dword [esp + 0x38]
mov dword [eax], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x44]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x48]
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 0x14], edx
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [esi]
mov eax, dword [esp + 0x10]
lea ebx, [ebx + ebx + 1]
lea edi, [ebx*4]
mov eax, dword [edx + eax]
mov edx, dword [edx + ebx*4]
mov dword [esp + 0x10], edi
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x10], ecx
mov edx, dword [edx + 0x14]
mov dword [eax + 0x14], edx
jmp 0x47131b
lea eax, [ebx - 1]
mov ebp, eax
shr ebp, 0x1f
add ebp, eax
lea eax, [esp + 0x38]
sar ebp, 1
mov dword [esp + 0x18], eax
mov eax, edi
mov edi, ebx
mov ebx, eax
lea esi, [ebx + ebp*4]
mov edx, dword [esp + 0x18]
mov eax, dword [esi]
call fcn.00470c70
test al, al
jne 0x471410
mov eax, ebx
mov ebx, edi
lea esi, [eax + ebx*4]
jmp 0x47135f
mov edx, dword [esi]
mov eax, dword [ebx + edi*4]
mov edi, dword [edx]
mov dword [eax], edi
mov edi, dword [edx + 4]
mov dword [eax + 4], edi
mov edi, dword [edx + 8]
mov dword [eax + 8], edi
mov edi, dword [edx + 0xc]
mov dword [eax + 0xc], edi
mov edi, dword [edx + 0x10]
mov dword [eax + 0x10], edi
mov edx, dword [edx + 0x14]
mov dword [eax + 0x14], edx
lea eax, [ebp - 1]
mov edx, eax
shr edx, 0x1f
add eax, edx
sar eax, 1
cmp dword [esp + 0x28], ebp
jge 0x47135f
mov edi, ebp
mov ebp, eax
jmp 0x4713ee
test byte [esp + 0x2c], 1
jne 0x471470
mov eax, dword [esp + 0x28]
lea ebx, [eax*4]
mov dword [esp + 0x10], ebx
mov ebx, eax
jmp 0x471307
mov edx, dword [esp + 0x70]
mov eax, dword [esi]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x74]
lea esi, [eax + esi*4]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x4c], edx
jmp 0x47135f