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

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, 1
sub esp, 0x5c
mov esi, dword [esp + 0x74]
mov eax, dword [esp + 0x7c]
test esi, esi
je 0x4f7f9a
cmp eax, 0x29
sete bl
cmp eax, 0xffffffff
sete dl
or bl, dl
jne 0x4f7fbd
test eax, eax
je 0x4f7fa4
mov ecx, dword [esp + 0x70]
call dword [0x60ffc4]
cmp eax, 0xc
je 0x4f8580
jbe 0x4f7fe0
cmp eax, 0x19
je 0x4f8560
ja 0x4f8030
cmp eax, 0x10
je 0x4f8200
ja 0x4f81d0
cmp eax, 0xe
je 0x4f8234
cmp eax, 0xf
jne 0x4f86b4
mov ecx, dword [esp + 0x70]
mov ebx, 1
call dword [0x60ffe4]
mov dword [esi], eax
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x78]
mov dword [esp + 4], str.QVariant
mov dword [esp], eax
call dword [0x60f7e4]
test eax, eax
jne 0x4f7f40
mov eax, dword [esp + 0x70]
mov ecx, esi
mov ebx, 1
mov dword [esp], eax
call dword [0x60fc54]
sub esp, 4
mov eax, ebx
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 4
je 0x4f84f3
jbe 0x4f80d0
cmp eax, 9
je 0x4f8482
ja 0x4f8111
cmp eax, 5
je 0x4f84d0
cmp eax, 6
jne 0x4f86b4
mov dword [esp], 0
mov ecx, dword [esp + 0x70]
mov ebx, 1
call dword [0x60fff4]
sub esp, 4
fstp qword [esi]
jmp 0x4f7f9a
cmp eax, 0x43
je 0x4f8315
ja 0x4f81a0
cmp eax, 0x40
je 0x4f8270
cmp eax, 0x41
jne 0x4f86b4
mov ecx, dword [esp + 0x70]
call dword [0x610000]
cmp eax, 0x41
je 0x4f864a
lea ebx, [esp + 0x3c]
mov ebp, dword [0x6101c4]
mov ecx, ebx
call ebp
mov dword [esp + 4], ebx
mov dword [esp], 0x41
mov ecx, dword [esp + 0x70]
call dword [0x60ffec]
sub esp, 8
test al, al
lea edi, [esp + 0x2c]
je 0x4f85e9
mov dword [esp], ebx
mov ecx, edi
call dword [0x6101c0]
sub esp, 4
mov ecx, ebx
mov ebx, dword [0x6101c8]
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 0x4f7f9a
cmp eax, 1
je 0x4f8250
jb 0x4f8190
cmp eax, 2
je 0x4f82f5
cmp eax, 3
jne 0x4f86b4
mov dword [esp], 0
mov ecx, dword [esp + 0x70]
mov ebx, 1
call dword [0x60ffe8]
sub esp, 4
mov dword [esi], eax
jmp 0x4f7f9a
cmp eax, 0xa
je 0x4f8420
cmp eax, 0xb
jne 0x4f86b4
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x3c]
mov dword [esp], eax
call dword [0x60ffc0]
sub esp, 4
mov edx, dword [0x60fce4]
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 0x4f85db
cmp ecx, 0xffffffff
je 0x4f816e
mov ecx, 0xffffffff
lock xadd dword [eax], ecx
mov edx, dword [esp + 0x3c]
cmp ecx, 1
je 0x4f85db
mov eax, dword [edx]
test eax, eax
je 0x4f8183
cmp eax, 0xffffffff
je 0x4f8190
lock sub dword [edx], 1
mov edx, dword [esp + 0x3c]
jne 0x4f8190
mov eax, edx
call fcn.004f7c50
lea esi, [esi]
mov ebx, 1
jmp 0x4f7f9a
cmp eax, 0x4a
je 0x4f83a0
cmp eax, 0x400
jne 0x4f86b4
mov ecx, dword [esp + 0x70]
mov ebx, 1
call dword [0x610004]
mov eax, dword [eax]
mov dword [esi], eax
jmp 0x4f7f9a
cmp eax, 0x13
je 0x4f8520
cmp eax, 0x15
jne 0x4f86b4
mov ecx, dword [esp + 0x70]
mov ebx, 1
call dword [0x60ffe0]
mov dword [esi], eax
mov dword [esi + 4], edx
jmp 0x4f7f9a
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x3c]
mov ebx, 1
mov dword [esp], eax
call dword [0x60ffac]
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 [0x60fc88]
jmp 0x4f7f9a
mov ecx, dword [esp + 0x70]
mov ebx, 1
call dword [0x60ffd4]
mov dword [esi], eax
mov dword [esi + 4], edx
jmp 0x4f7f9a
mov ecx, dword [esp + 0x70]
mov ebx, 1
call dword [0x60ffd0]
mov byte [esi], al
jmp 0x4f7f9a
mov ecx, dword [esp + 0x70]
call dword [0x610000]
cmp eax, 0x40
je 0x4f85fb
lea ebx, [esp + 0x3c]
mov ebp, dword [0x610148]
mov ecx, ebx
call ebp
mov dword [esp + 4], ebx
mov dword [esp], 0x40
mov ecx, dword [esp + 0x70]
call dword [0x60ffec]
sub esp, 8
test al, al
lea edi, [esp + 0x2c]
je 0x4f85f2
mov dword [esp], ebx
mov ecx, edi
call dword [0x610144]
sub esp, 4
mov ecx, ebx
mov ebx, dword [0x61014c]
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 0x4f7f9a
mov dword [esp], 0
mov ecx, dword [esp + 0x70]
mov ebx, 1
call dword [0x60ffc8]
sub esp, 4
mov dword [esi], eax
jmp 0x4f7f9a
mov ecx, dword [esp + 0x70]
call dword [0x610000]
cmp eax, 0x43
je 0x4f8622
lea ebx, [esp + 0x3c]
mov edi, dword [0x610174]
mov ecx, ebx
call edi
mov dword [esp + 4], ebx
mov dword [esp], 0x43
mov ecx, dword [esp + 0x70]
call dword [0x60ffec]
sub esp, 8
test al, al
je 0x4f8698
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 0x4f7f9a
mov ecx, dword [esp + 0x70]
call dword [0x610000]
cmp eax, 0x4a
je 0x4f8671
lea ebx, [esp + 0x3c]
mov ebp, dword [0x6101a4]
mov ecx, ebx
call ebp
mov dword [esp + 4], ebx
mov dword [esp], 0x4a
mov ecx, dword [esp + 0x70]
call dword [0x60ffec]
sub esp, 8
test al, al
je 0x4f86a7
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 [0x6101a8]
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 0x4f7f9a
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x3c]
mov dword [esp], eax
call dword [0x60fff8]
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 0x4f8460
cmp edx, 0xffffffff
je 0x4f8190
lock sub dword [eax], 1
jne 0x4f8190
lea esi, [esi]
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x60f7f4]
jmp 0x4f8190
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x2c]
mov ebx, 1
mov dword [esp], eax
call dword [0x60ffd8]
mov eax, dword [0x60fce4]
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.00545cb0
lea ecx, [esp + 0x2c]
call fcn.00545cb0
jmp 0x4f7f9a
mov dword [esp], 0
mov ecx, dword [esp + 0x70]
mov ebx, 1
call dword [0x60ffb8]
sub esp, 4
mov dword [esi], eax
mov dword [esi + 4], edx
jmp 0x4f7f9a
mov dword [esp], 0
mov ecx, dword [esp + 0x70]
mov ebx, 1
call dword [0x60ffb0]
sub esp, 4
mov dword [esi], eax
mov dword [esi + 4], edx
jmp 0x4f7f9a
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x10]
mov ebx, 1
mov dword [esp], eax
call dword [0x60ffdc]
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 0x4f7f9a
mov ecx, dword [esp + 0x70]
mov ebx, 1
call dword [0x60fff0]
mov dword [esi], eax
mov dword [esi + 4], edx
jmp 0x4f7f9a
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x3c]
mov dword [esp], eax
call dword [0x60ffb4]
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 0x4f85b9
cmp edx, 0xffffffff
je 0x4f8190
lock sub dword [eax], 1
jne 0x4f8190
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], 4
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [0x60f7f4]
jmp 0x4f8190
call fcn.004f7c50
mov edx, dword [esp + 0x3c]
jmp 0x4f816e
mov ecx, edi
call ebp
jmp 0x4f80a4
mov ecx, edi
call ebp
jmp 0x4f82c3
lea edi, [esp + 0x2c]
mov ecx, dword [esp + 0x70]
call dword [0x610004]
mov ecx, edi
mov dword [esp], eax
call dword [0x610144]
mov ebx, dword [0x61014c]
sub esp, 4
jmp 0x4f82cd
mov ecx, dword [esp + 0x70]
call dword [0x610004]
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 0x4f8374
lea edi, [esp + 0x2c]
mov ecx, dword [esp + 0x70]
call dword [0x610004]
mov ecx, edi
mov dword [esp], eax
call dword [0x6101c0]
mov ebx, dword [0x6101c8]
sub esp, 4
jmp 0x4f80ae
lea edi, [esp + 0x2c]
mov ecx, dword [esp + 0x70]
call dword [0x610004]
mov ecx, edi
mov dword [esp], eax
call dword [0x6101a0]
mov ebx, dword [0x6101a8]
sub esp, 4
jmp 0x4f83ff
lea ecx, [esp + 0x2c]
call edi
mov edx, dword [esp + 0x2c]
jmp 0x4f8374
lea edi, [esp + 0x2c]
mov ecx, edi
call ebp
jmp 0x4f83f5
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 [0x60fe7c]
jmp 0x4f7f9a