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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x98
mov ecx, dword [esp + 0xb8]
mov ebx, dword [esp + 0xb0]
mov edi, dword [esp + 0xac]
movzx eax, byte [esp + 0xbc]
mov dword [esp + 0x18], eax
mov eax, 1
sub eax, ecx
mov ecx, eax
mov esi, dword [edi]
mov ebp, dword [ebx]
mov eax, ebp
sub eax, esi
mov ebx, eax
sar ebx, 2
cmp ebx, 5
jbe switch.0x004de631
cmp eax, 0x5f
jle 0x4de7b4
cmp ecx, 1
je 0x4de7e7
shr ebx, 1
add ebp, 0xfffffffc
cmp eax, 0x201
mov dword [esp + 0x14], ecx
jb 0x4de490
mov dword [esp + 0x80], esi
lea eax, [esi + ebx*4]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], ebp
mov ebp, dword [esp + 0xb4]
push ebp
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.004dea20
add esp, 0x10
mov edi, dword [esp + 0xac]
mov eax, dword [edi]
lea ecx, [eax + 4]
mov dword [esp + 0x74], ecx
lea eax, [eax + ebx*4 - 4]
mov dword [esp + 0x70], eax
mov esi, dword [esp + 0xb0]
mov eax, dword [esi]
add eax, 0xfffffff8
mov dword [esp + 0x6c], eax
push ebp
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.004dea20
add esp, 0x10
mov eax, dword [edi]
lea ecx, [eax + 8]
mov dword [esp + 0x68], ecx
lea eax, [eax + ebx*4]
add eax, 4
mov dword [esp + 0x64], eax
mov eax, dword [esi]
add eax, 0xfffffff4
mov dword [esp + 0x60], eax
push ebp
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.004dea20
add esp, 0x10
mov eax, dword [edi]
lea ecx, [eax + ebx*4]
add ecx, 0xfffffffc
mov dword [esp + 0x5c], ecx
lea ecx, [eax + ebx*4]
mov dword [esp + 0x58], ecx
lea eax, [eax + ebx*4 + 4]
mov dword [esp + 0x54], eax
push ebp
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.004dea20
add esp, 0x10
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [eax + ebx*4]
mov dword [eax], edx
mov dword [eax + ebx*4], ecx
test byte [esp + 0x18], 1
je 0x4de4cc
jmp 0x4de51b
lea eax, [esi + ebx*4]
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0xb4]
push ebp
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.004dea20
add esp, 0x10
mov edi, dword [esp + 0xac]
test byte [esp + 0x18], 1
jne 0x4de51b
mov eax, dword [edi]
push eax
add eax, 0xfffffffc
push eax
call dword [sym.imp.Qt5Core.dll_operator__QString_const__QString_const_]
add esp, 8
test al, al
jne 0x4de51b
mov eax, dword [edi]
mov dword [esp + 0x44], eax
mov ebx, dword [esp + 0xb0]
mov eax, dword [ebx]
mov dword [esp + 0x40], eax
push ebp
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004deb00
add esp, 0x10
mov eax, dword [esp + 0xc]
mov dword [edi], eax
mov ecx, dword [esp + 0x14]
inc ecx
jmp 0x4de354
mov eax, dword [edi]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xb0]
mov eax, dword [eax]
mov dword [esp + 0x38], eax
push ebp
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004dec50
add esp, 0x10
mov esi, edi
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
neg ecx
cmp byte [esp + 0x10], 0
je 0x4de5e7
mov dword [esp + 0x14], ecx
mov eax, dword [esi]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edi
push ebp
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.004deda0
add esp, 0xc
mov byte [esp + 3], al
lea ebx, [edi + 4]
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0xb0]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
push ebp
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.004deda0
add esp, 0xc
test al, al
je 0x4de5d1
cmp byte [esp + 3], 0
jne case.0x4de631.0
mov ebx, dword [esp + 0xb0]
mov dword [ebx], edi
mov edi, dword [esp + 0xac]
mov ecx, dword [esp + 0x14]
jmp 0x4de34b
cmp byte [esp + 3], 0
mov esi, dword [esp + 0xac]
mov ecx, dword [esp + 0x14]
je 0x4de5e7
mov dword [esi], ebx
jmp 0x4de623
mov edx, dword [esp + 0x18]
and dl, 1
mov eax, dword [esi]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edi
movzx eax, dl
push eax
push ecx
push ebp
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x34]
push eax
mov ebx, edi
mov edi, ecx
call fcn.004de320
mov ecx, edi
add esp, 0x14
add ebx, 4
mov dword [esi], ebx
mov dword [esp + 0x18], 0
mov ebx, dword [esp + 0xb0]
mov edi, esi
jmp 0x4de34b
jmp dword [ebx*4 + 0x4de854]
add ebp, 0xfffffffc
mov eax, dword [esp + 0xb0]
mov dword [eax], ebp
mov eax, dword [esp + 0xac]
push dword [eax]
push ebp
call dword [sym.imp.Qt5Core.dll_operator__QString_const__QString_const_]
add esp, 8
test al, al
je case.0x4de631.0
mov eax, dword [esp + 0xac]
mov eax, dword [eax]
mov ecx, dword [esp + 0xb0]
mov ecx, dword [ecx]
mov edx, dword [eax]
mov esi, dword [ecx]
mov dword [eax], esi
mov dword [ecx], edx
jmp case.0x4de631.0
add ebp, 0xfffffffc
mov eax, dword [esp + 0xb0]
mov dword [eax], ebp
mov dword [esp + 0xc], esi
add esi, 4
mov dword [esp + 8], esi
mov dword [esp + 4], ebp
lea eax, [esp + 4]
lea ecx, [esp + 8]
push dword [esp + 0xb4]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
call fcn.004dea20
add esp, 0x10
jmp case.0x4de631.0
lea eax, [esi + 4]
lea ecx, [esi + 8]
add ebp, 0xfffffffc
mov edx, dword [esp + 0xb0]
mov dword [edx], ebp
mov dword [esp + 0xc], esi
add esi, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x94], ebp
lea eax, [esp + 0x94]
lea ecx, [esp + 0x1c]
lea edx, [esp + 4]
lea esi, [esp + 8]
push dword [esp + 0xb4]
push eax
push ecx
push edx
push esi
lea eax, [esp + 0x20]
push eax
call fcn.004df050
add esp, 0x18
jmp case.0x4de631.0
lea edi, [esi + 4]
lea ebx, [esi + 8]
add ebp, 0xfffffffc
mov eax, dword [esp + 0xb0]
mov dword [eax], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
lea eax, [esp + 4]
lea ecx, [esp + 8]
push dword [esp + 0xb4]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
call fcn.004dea20
add esp, 0x10
push ebx
push ebp
call dword [sym.imp.Qt5Core.dll_operator__QString_const__QString_const_]
add esp, 8
test al, al
je case.0x4de631.0
mov eax, dword [ebx]
mov ecx, dword [ebp]
mov dword [ebx], ecx
mov dword [ebp], eax
push edi
push ebx
call dword [sym.imp.Qt5Core.dll_operator__QString_const__QString_const_]
add esp, 8
test al, al
je case.0x4de631.0
movsd xmm0, qword [esi + 4]
shufps xmm0, xmm0, 0xe1
movlps qword [esi + 4], xmm0
push esi
push edi
call dword [sym.imp.Qt5Core.dll_operator__QString_const__QString_const_]
add esp, 8
test al, al
je case.0x4de631.0
movsd xmm0, qword [esi]
shufps xmm0, xmm0, 0xe1
movlps qword [esi], xmm0
jmp case.0x4de631.0
test byte [esp + 0x18], 1
jne 0x4de81c
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], ebp
lea eax, [esp + 0x84]
lea ecx, [esp + 0x88]
push dword [esp + 0xb4]
push eax
push ecx
call fcn.004de940
jmp 0x4de846
cmp esi, ebp
je case.0x4de631.0
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebp
mov dword [esp + 4], ebp
lea eax, [esp + 4]
lea ecx, [esp + 8]
lea edx, [esp + 0x1c]
push dword [esp + 0xb4]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
push edx
call fcn.004df190
add esp, 0x14
jmp case.0x4de631.0
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebp
lea eax, [esp + 0x8c]
lea ecx, [esp + 0x90]
push dword [esp + 0xb4]
push eax
push ecx
call fcn.004de870
add esp, 0xc
add esp, 0x98
pop esi
pop edi
pop ebx
pop ebp
ret