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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x7c]
test esi, esi
je 0x4d5505
cmp eax, 0xffffffff
sete bl
cmp eax, 0x29
sete dl
or bl, dl
je 0x4d5514
mov dword [esp], edi
mov ecx, esi
call dword [0x543f34]
sub esp, 4
mov ebx, 1
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
test eax, eax
je 0x4d5610
mov ecx, edi
call dword [0x54412c]
cmp eax, 0xc
je 0x4d5b10
jbe 0x4d5573
cmp eax, 0x19
je 0x4d5af0
ja 0x4d5632
cmp eax, 0x10
je 0x4d5792
jbe 0x4d5770
cmp eax, 0x13
je 0x4d5ab3
cmp eax, 0x15
jne 0x4d5875
mov ecx, edi
mov ebx, 1
call dword [0x544144]
mov dword [esi], eax
mov dword [esi + 4], edx
jmp 0x4d550a
cmp eax, 4
je 0x4d5a92
jbe 0x4d56d0
cmp eax, 9
je 0x4d5a30
jbe 0x4d5740
cmp eax, 0xa
je 0x4d59d5
cmp eax, 0xb
jne 0x4d5875
lea ecx, [esp + 0x3c]
mov dword [esp], edi
call dword [0x544128]
sub esp, 4
mov edx, dword [0x543f80]
mov eax, dword [esi]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x3c], edx
mov dword [esi], ecx
mov ecx, dword [eax]
test ecx, ecx
je 0x4d5b79
cmp ecx, 0xffffffff
je 0x4d55e2
lock sub dword [eax], 1
je 0x4d5b79
mov edx, dword [esp + 0x3c]
mov eax, dword [edx]
test eax, eax
je 0x4d55ff
cmp eax, 0xffffffff
je 0x4d5505
lock sub dword [edx], 1
jne 0x4d5505
mov edx, dword [esp + 0x3c]
mov eax, edx
call fcn.004d5290
jmp 0x4d5505
mov eax, dword [esp + 0x78]
mov dword [esp + 4], str.QVariant
mov dword [esp], eax
call dword [0x543d1c]
test eax, eax
je 0x4d54f7
jmp 0x4d551c
cmp eax, 0x43
je 0x4d58e0
ja 0x4d5710
cmp eax, 0x40
je 0x4d57f4
cmp eax, 0x41
jne 0x4d5875
mov ecx, edi
call dword [0x544164]
cmp eax, 0x41
je 0x4d5c13
lea ebx, [esp + 0x3c]
mov ebp, dword [0x544240]
mov ecx, ebx
call ebp
mov ecx, edi
mov dword [esp + 4], ebx
mov dword [esp], 0x41
call dword [0x544150]
sub esp, 8
test al, al
lea edi, [esp + 0x2c]
je 0x4d5b67
mov dword [esp], ebx
mov ecx, edi
call dword [0x54423c]
sub esp, 4
mov ecx, ebx
mov ebx, dword [0x544244]
call ebx
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x38]
mov ecx, edi
mov dword [esi + 0xc], edx
mov dword [esp + 0x38], eax
call ebx
mov ebx, 1
jmp 0x4d550a
cmp eax, 1
je 0x4d57e0
jb 0x4d5505
cmp eax, 2
je 0x4d58c0
cmp eax, 3
jne 0x4d5875
mov dword [esp], 0
mov ecx, edi
mov ebx, 1
call dword [0x54414c]
sub esp, 4
mov dword [esi], eax
jmp 0x4d550a
cmp eax, 0x4a
je 0x4d5960
cmp eax, 0x400
jne 0x4d5875
mov ecx, edi
mov ebx, 1
call dword [0x544168]
mov eax, dword [eax]
mov dword [esi], eax
jmp 0x4d550a
cmp eax, 5
je 0x4d5a71
cmp eax, 6
jne 0x4d5875
mov dword [esp], 0
mov ecx, edi
mov ebx, 1
call dword [0x544158]
sub esp, 4
fstp qword [esi]
jmp 0x4d550a
cmp eax, 0xe
je 0x4d57c2
cmp eax, 0xf
jne 0x4d5875
mov ecx, edi
mov ebx, 1
call dword [0x544148]
mov dword [esi], eax
jmp 0x4d550a
lea ecx, [esp + 0x3c]
mov dword [esp], edi
mov ebx, 1
call dword [0x544118]
sub esp, 4
mov eax, dword [esi]
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], eax
mov dword [esi], edx
call dword [0x543f4c]
jmp 0x4d550a
mov ecx, edi
mov ebx, 1
call dword [0x544138]
mov dword [esi], eax
mov dword [esi + 4], edx
jmp 0x4d550a
mov ecx, edi
mov ebx, 1
call dword [0x544134]
mov byte [esi], al
jmp 0x4d550a
mov ecx, edi
call dword [0x544164]
cmp eax, 0x40
je 0x4d5bee
lea ebx, [esp + 0x3c]
mov ebp, dword [0x5441fc]
mov ecx, ebx
call ebp
mov ecx, edi
mov dword [esp + 4], ebx
mov dword [esp], 0x40
call dword [0x544150]
sub esp, 8
test al, al
lea edi, [esp + 0x2c]
je 0x4d5b70
mov dword [esp], ebx
mov ecx, edi
call dword [0x5441f8]
sub esp, 4
mov ecx, ebx
mov ebx, dword [0x544200]
call ebx
mov eax, dword [esi]
mov edx, dword [esp + 0x2c]
mov ecx, edi
mov dword [esi], edx
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x30]
mov eax, dword [esi + 4]
mov dword [esi + 4], edx
mov dword [esp + 0x30], eax
call ebx
mov ebx, 1
jmp 0x4d550a
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 2
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], str.default
mov dword [esp + 4], str.QVariantToVoidStar:_Unhandled_QVariant_type
mov dword [esp], eax
call dword [0x544070]
jmp 0x4d550a
mov dword [esp], 0
mov ecx, edi
mov ebx, 1
call dword [0x544130]
sub esp, 4
mov dword [esi], eax
jmp 0x4d550a
mov ecx, edi
call dword [0x544164]
cmp eax, 0x43
je 0x4d5ba3
lea ebx, [esp + 0x3c]
mov ebp, dword [0x544214]
mov ecx, ebx
call ebp
mov dword [esp + 4], ebx
mov dword [esp], 0x43
mov ecx, edi
call dword [0x544150]
sub esp, 8
test al, al
je 0x4d5b87
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x34], eax
movzx eax, word [esp + 0x48]
mov word [esp + 0x38], ax
mov eax, dword [esp + 0x30]
mov dword [esi], edx
mov ebx, 1
mov dword [esi + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 8], eax
movzx eax, word [esp + 0x38]
mov word [esi + 0xc], ax
jmp 0x4d550a
mov ecx, edi
call dword [0x544164]
cmp eax, 0x4a
je 0x4d5bc9
lea ebx, [esp + 0x3c]
mov ebp, dword [0x54422c]
mov ecx, ebx
call ebp
mov dword [esp + 4], ebx
mov dword [esp], 0x4a
mov ecx, edi
call dword [0x544150]
sub esp, 8
test al, al
je 0x4d5b96
mov eax, dword [esp + 0x3c]
lea edi, [esp + 0x2c]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x2c], eax
mov ecx, ebx
mov ebx, dword [0x544230]
call ebx
mov eax, dword [esi]
mov edx, dword [esp + 0x2c]
mov ecx, edi
mov dword [esi], edx
mov dword [esp + 0x2c], eax
call ebx
mov ebx, 1
jmp 0x4d550a
mov dword [esp], edi
lea ecx, [esp + 0x3c]
call dword [0x54415c]
sub esp, 4
mov eax, dword [esi]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x3c], eax
mov dword [esi], edx
mov edx, dword [eax]
test edx, edx
je 0x4d5a0a
cmp edx, 0xffffffff
je 0x4d5505
lock sub dword [eax], 1
jne 0x4d5505
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x543d24]
jmp 0x4d5505
lea ecx, [esp + 0x2c]
mov dword [esp], edi
mov ebx, 1
call dword [0x54413c]
mov eax, dword [0x543f80]
sub esp, 4
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov eax, dword [esi]
mov dword [esi], edx
mov dword [esp + 0x3c], eax
call fcn.004eb530
lea ecx, [esp + 0x2c]
call fcn.004eb530
jmp 0x4d550a
mov dword [esp], 0
mov ecx, edi
mov ebx, 1
call dword [0x544124]
sub esp, 4
mov dword [esi], eax
mov dword [esi + 4], edx
jmp 0x4d550a
mov dword [esp], 0
mov ecx, edi
mov ebx, 1
call dword [0x54411c]
sub esp, 4
mov dword [esi], eax
mov dword [esi + 4], edx
jmp 0x4d550a
mov dword [esp], edi
lea ecx, [esp + 0x10]
mov ebx, 1
call dword [0x544140]
sub esp, 4
mov eax, dword [esp + 0x10]
mov dword [esi], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xc], eax
jmp 0x4d550a
mov ecx, edi
mov ebx, 1
call dword [0x544154]
mov dword [esi], eax
mov dword [esi + 4], edx
jmp 0x4d550a
mov dword [esp], edi
lea ecx, [esp + 0x3c]
call dword [0x544120]
sub esp, 4
mov eax, dword [esi]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x3c], eax
mov dword [esi], edx
mov edx, dword [eax]
test edx, edx
je 0x4d5b45
cmp edx, 0xffffffff
je 0x4d5505
lock sub dword [eax], 1
jne 0x4d5505
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], 4
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [0x543d24]
jmp 0x4d5505
mov ecx, edi
call ebp
jmp 0x4d56a2
mov ecx, edi
call ebp
jmp 0x4d5843
call fcn.004d5290
mov edx, dword [esp + 0x3c]
jmp 0x4d55e2
lea ecx, [esp + 0x2c]
call ebp
mov edx, dword [esp + 0x2c]
jmp 0x4d593b
lea edi, [esp + 0x2c]
mov ecx, edi
call ebp
jmp 0x4d59b1
mov ecx, edi
call dword [0x544168]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x34], ecx
movzx eax, word [eax + 0xc]
mov word [esp + 0x38], ax
jmp 0x4d593b
mov ecx, edi
lea edi, [esp + 0x2c]
call dword [0x544168]
mov ecx, edi
mov dword [esp], eax
call dword [0x544228]
mov ebx, dword [0x544230]
sub esp, 4
jmp 0x4d59bb
mov ecx, edi
lea edi, [esp + 0x2c]
call dword [0x544168]
mov ecx, edi
mov dword [esp], eax
call dword [0x5441f8]
mov ebx, dword [0x544200]
sub esp, 4
jmp 0x4d584d
mov ecx, edi
lea edi, [esp + 0x2c]
call dword [0x544168]
mov ecx, edi
mov dword [esp], eax
call dword [0x54423c]
mov ebx, dword [0x544244]
sub esp, 4
jmp 0x4d56ac