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

Disassembly:
push ebp
push edi
push esi
push ebx
mov esi, edx
sub esp, 0x5c
mov ebx, dword [esp + 0x7c]
cmp dword [esp + 0x70], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov edi, dword [esp + 0x78]
jg 0x41ec02
mov ebx, dword [esp + 0x74]
cmp dword [esp + 0x70], ebx
jg 0x41ec02
mov ecx, dword [eax]
mov edx, dword [edx]
xor eax, eax
sub edx, ecx
cmp edx, 3
jle 0x41ebfa
mov ebx, dword [ecx + eax]
mov dword [edi + eax], ebx
add eax, 4
cmp eax, edx
jne 0x41ea82
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
add eax, edi
cmp edi, eax
mov dword [esp + 0x30], eax
mov esi, dword [esi]
mov ecx, dword [edx]
mov ebx, dword [ebx]
mov dword [esp + 0x34], ecx
je 0x41ebfa
mov eax, dword [sym.imp.libmemuqt.dll_GetVmIndex_QString_const_]
cmp ecx, esi
mov dword [esp + 0x24], eax
mov eax, dword [sym.imp.Qt5Core.dll_operator__QString_const__QString_const_]
mov dword [esp + 0x38], eax
je 0x41ef34
mov dword [esp + 0x28], ebx
jmp 0x41eb16
mov ebx, dword [esp + 0x80]
mov edx, dword [ebx + 0x3bc]
test edx, edx
jne 0x41ef20
cmp ecx, eax
setl al
test al, al
je 0x41ebe0
mov eax, dword [esi]
mov ebx, dword [esp + 0x28]
add esi, 4
add dword [esp + 0x28], 4
cmp edi, dword [esp + 0x30]
mov dword [ebx], eax
je 0x41ebfa
cmp dword [esp + 0x34], esi
je 0x41ef30
mov ebp, dword [esi]
mov ebx, dword [edi]
mov eax, dword [ebp + 8]
add eax, 0xc
mov dword [esp], eax
mov eax, dword [esp + 0x24]
call eax
mov edx, dword [ebx + 8]
mov dword [esp + 0x2c], eax
lea eax, [edx + 0xc]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
call eax
mov ecx, dword [esp + 0x2c]
cmp ecx, 0xffffffff
je 0x41ebe0
cmp eax, 0xffffffff
je 0x41eaf2
mov edx, dword [esp + 0x80]
mov edx, dword [edx + 0x3b8]
test edx, edx
je 0x41ead0
cmp edx, 1
mov eax, dword [esp + 0x80]
je 0x41ef60
cmp edx, 2
je 0x41ef90
cmp edx, 4
je 0x41efe3
mov ecx, dword [eax + 0x3d0]
add ebp, 0x40
mov dword [esp + 4], 0
mov dword [esp], ebp
test ecx, ecx
mov ecx, 0x554198
je 0x41efb4
call fcn.005058d0
add ebx, 0x40
sub esp, 8
mov ebp, eax
mov dword [esp + 4], 0
mov dword [esp], ebx
mov ecx, 0x554198
call fcn.005058d0
sub esp, 8
cmp ebp, eax
setg al
test al, al
jne 0x41eaf2
nop
lea esi, [esi]
mov eax, dword [edi]
mov ebx, dword [esp + 0x28]
add edi, 4
add dword [esp + 0x28], 4
cmp edi, dword [esp + 0x30]
mov dword [ebx], eax
jne 0x41eb0c
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x7c]
cmp dword [esp + 0x74], eax
jg 0x41edb0
mov eax, dword [esp + 0x28]
mov ecx, dword [esi]
mov eax, dword [eax]
mov edx, eax
mov dword [esp + 0x2c], eax
sub edx, ecx
cmp edx, 3
jle 0x41ebfa
xor eax, eax
mov esi, esi
lea edi, [edi]
mov ebx, dword [ecx + eax]
mov dword [edi + eax], ebx
add eax, 4
cmp eax, edx
jne 0x41ec30
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x28]
lea ecx, [edi + eax]
mov esi, dword [esi]
lea ebp, [edi + eax - 4]
mov edx, dword [ebx]
mov ebx, dword [esp + 0x24]
mov ebx, dword [ebx]
cmp esi, ebx
mov dword [esp + 0x30], ebx
je 0x41f234
cmp edi, ecx
je 0x41ebfa
lea eax, [esi - 4]
lea esi, [edx - 4]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x78], edi
mov dword [esp + 0x2c], esi
mov esi, dword [sym.imp.libmemuqt.dll_GetVmIndex_QString_const_]
mov dword [esp + 0x24], esi
mov esi, dword [sym.imp.Qt5Core.dll_operator__QString_const__QString_const_]
mov dword [esp + 0x38], esi
mov esi, eax
jmp 0x41ecd1
mov edi, dword [esp + 0x80]
mov edx, dword [edi + 0x3bc]
test edx, edx
jne 0x41f0e0
cmp dword [esp + 0x28], eax
setl al
test al, al
je 0x41ed90
cmp dword [esp + 0x30], esi
mov eax, dword [esi]
mov edi, dword [esp + 0x2c]
mov dword [edi], eax
je 0x41f200
sub esi, 4
sub dword [esp + 0x2c], 4
mov ebx, dword [ebp]
mov eax, dword [ebx + 8]
mov edi, dword [esi]
add eax, 0xc
mov dword [esp], eax
mov eax, dword [esp + 0x24]
call eax
mov ecx, dword [edi + 8]
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x24]
lea eax, [ecx + 0xc]
mov dword [esp], eax
call edx
cmp dword [esp + 0x28], 0xffffffff
je 0x41ed90
cmp eax, 0xffffffff
je 0x41ecb4
mov ecx, dword [esp + 0x80]
mov ecx, dword [ecx + 0x3b8]
test ecx, ecx
je 0x41ec90
cmp ecx, 1
mov eax, dword [esp + 0x80]
je 0x41f0f0
cmp ecx, 2
je 0x41f120
cmp ecx, 4
je 0x41f173
mov eax, dword [eax + 0x3d0]
lea edx, [ebx + 0x40]
mov dword [esp + 4], 0
mov ecx, 0x554198
mov dword [esp], edx
test eax, eax
je 0x41f144
call fcn.005058d0
add edi, 0x40
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0
mov dword [esp], edi
mov ecx, 0x554198
call fcn.005058d0
sub esp, 8
cmp ebx, eax
setg al
test al, al
jne 0x41ecb4
nop
cmp dword [esp + 0x78], ebp
mov eax, dword [ebp]
mov edi, dword [esp + 0x2c]
mov dword [edi], eax
je 0x41ebfa
sub ebp, 4
jmp 0x41ecc9
mov ebx, dword [esp + 0x74]
cmp dword [esp + 0x70], ebx
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov eax, dword [esi]
jg 0x41f050
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x48], eax
lea ebp, [esp + 0x4c]
mov dword [esp + 0x44], edx
shr ecx, 0x1f
add ecx, dword [esp + 0x74]
sar ecx, 1
lea ebx, [eax + ecx*4]
lea eax, [esp + 0x48]
mov dword [esp + 0x2c], ecx
mov edx, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x80]
mov ecx, ebx
mov dword [esp + 0x38], ebx
lea ebx, [esp + 0x44]
mov dword [esp], ecx
mov ecx, edx
mov dword [esp + 4], eax
mov edx, ebx
mov eax, ebp
call fcn.004178b0
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
sub eax, dword [edx]
sar eax, 2
mov dword [esp + 0x34], eax
mov eax, dword [esi]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x70]
sub esi, dword [esp + 0x34]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x18], edi
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [esp + 8], edx
call fcn.00506780
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
mov ecx, ebp
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, ebx
call fcn.0041ea40
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov ecx, ebp
mov eax, dword [eax]
mov dword [esp + 8], edi
mov dword [esp], esi
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, ebx
call fcn.0041ea40
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp ecx, eax
setg al
jmp 0x41eaea
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
sub edx, edi
cmp edx, 3
jle 0x41ebfa
xor eax, eax
mov ecx, dword [edi + eax]
mov dword [ebx + eax], ecx
add eax, 4
cmp eax, edx
jne 0x41ef45
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [eax + 0x3c0]
test eax, eax
jne 0x41f020
mov eax, dword [ebx + 8]
add eax, 8
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
add eax, 8
mov dword [esp], eax
mov eax, dword [esp + 0x38]
call eax
jmp 0x41eaea
mov eax, dword [eax + 0x3c4]
mov edx, dword [ebp + 8]
test eax, eax
mov eax, dword [ebx + 8]
movzx eax, word [eax + 0x38]
jne 0x41f040
cmp word [edx + 0x38], ax
setl al
jmp 0x41eaea
call fcn.005058d0
add ebx, 0x40
sub esp, 8
mov ebp, eax
mov dword [esp + 4], 0
mov dword [esp], ebx
mov ecx, 0x554198
call fcn.005058d0
sub esp, 8
cmp ebp, eax
setl al
jmp 0x41eaea
mov eax, dword [eax + 0x3c8]
mov edx, dword [ebx + 8]
test eax, eax
mov eax, dword [ebp + 8]
mov ebx, dword [edx + 0x44]
mov ecx, dword [eax + 0x40]
jne 0x41f0c0
cmp dword [eax + 0x44], ebx
jb 0x41eaf2
ja 0x41ebe0
cmp ecx, dword [edx + 0x40]
jb 0x41eaf2
jmp 0x41ebe0
mov eax, dword [ebp + 8]
add eax, 8
mov dword [esp + 4], eax
mov eax, dword [ebx + 8]
add eax, 8
mov dword [esp], eax
call dword [sym.imp.Qt5Core.dll_operator__QString_const__QString_const_]
jmp 0x41eaea
cmp word [edx + 0x38], ax
setg al
jmp 0x41eaea
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x48]
lea ebp, [esp + 0x4c]
mov dword [esp + 0x30], eax
shr ecx, 0x1f
add ecx, dword [esp + 0x70]
sar ecx, 1
lea ebx, [edx + ecx*4]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], ebx
mov ecx, ebx
mov ebx, dword [esp + 0x28]
mov edx, dword [ebx]
lea ebx, [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 0x48], edx
mov edx, eax
mov eax, dword [esp + 0x80]
mov ecx, edx
mov edx, ebx
mov dword [esp + 4], eax
mov eax, ebp
call fcn.00417680
mov eax, dword [esp + 0x4c]
mov edx, eax
mov dword [esp + 0x38], eax
mov eax, dword [esi]
sub edx, eax
sar edx, 2
mov dword [esp + 0x2c], edx
jmp 0x41ee2a
cmp dword [eax + 0x44], ebx
ja 0x41eaf2
jb 0x41ebe0
cmp ecx, dword [edx + 0x40]
ja 0x41eaf2
jmp 0x41ebe0
cmp dword [esp + 0x28], eax
setg al
jmp 0x41ecac
mov eax, dword [eax + 0x3c0]
test eax, eax
jne 0x41f1b0
mov eax, dword [edi + 8]
add eax, 8
mov dword [esp + 4], eax
mov eax, dword [ebx + 8]
add eax, 8
mov dword [esp], eax
mov eax, dword [esp + 0x38]
call eax
jmp 0x41ecac
mov ecx, dword [eax + 0x3c4]
mov eax, dword [edi + 8]
mov edx, dword [ebx + 8]
test ecx, ecx
movzx eax, word [eax + 0x38]
jne 0x41f1d0
cmp word [edx + 0x38], ax
setl al
jmp 0x41ecac
call fcn.005058d0
add edi, 0x40
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0
mov dword [esp], edi
mov ecx, 0x554198
call fcn.005058d0
sub esp, 8
cmp ebx, eax
setl al
jmp 0x41ecac
mov edx, dword [eax + 0x3c8]
mov eax, dword [ebx + 8]
test edx, edx
mov edx, dword [edi + 8]
mov ecx, dword [eax + 0x40]
mov edi, dword [edx + 0x44]
jne 0x41f1e0
cmp dword [eax + 0x44], edi
jb 0x41ecb4
ja 0x41ed90
cmp ecx, dword [edx + 0x40]
jb 0x41ecb4
jmp 0x41ed90
mov eax, dword [ebx + 8]
add eax, 8
mov dword [esp + 4], eax
mov eax, dword [edi + 8]
add eax, 8
mov dword [esp], eax
call dword [sym.imp.Qt5Core.dll_operator__QString_const__QString_const_]
jmp 0x41ecac
cmp word [edx + 0x38], ax
setg al
jmp 0x41ecac
cmp dword [eax + 0x44], edi
ja 0x41ecb4
jb 0x41ed90
cmp ecx, dword [edx + 0x40]
ja 0x41ecb4
jmp 0x41ed90
mov edi, dword [esp + 0x78]
lea ecx, [ebp + 4]
sub ecx, edi
sar ecx, 2
test ecx, ecx
jle 0x41ebfa
mov ebx, dword [esp + 0x2c]
neg ecx
xor eax, eax
lea esi, [esi]
mov edx, dword [ebp + eax*4]
mov dword [ebx + eax*4 - 4], edx
sub eax, 1
cmp eax, ecx
jne 0x41f220
jmp 0x41ebfa
sar eax, 2
test eax, eax
jle 0x41ebfa
neg eax
xor ebx, ebx
mov esi, dword [ecx + ebx*4 - 4]
mov dword [edx + ebx*4 - 4], esi
sub ebx, 1
cmp ebx, eax
jne 0x41f243
jmp 0x41ebfa