Function at 0x487dd0
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 0x487e5a
cmp eax, 0x29
sete bl
cmp eax, 0xffffffff
sete dl
or bl, dl
jne 0x487e7d
test eax, eax
je 0x487e64
mov ecx, dword [esp + 0x70]
call dword [0x54495c]
cmp eax, 0xc
je 0x488440
jbe 0x487ea0
cmp eax, 0x19
je 0x488420
ja 0x487ef0
cmp eax, 0x10
je 0x4880c0
ja 0x488090
cmp eax, 0xe
je 0x4880f4
cmp eax, 0xf
jne 0x488574
mov ecx, dword [esp + 0x70]
mov ebx, 1
call dword [0x544978]
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 [0x5442e4]
test eax, eax
jne 0x487e00
mov eax, dword [esp + 0x70]
mov ecx, esi
mov ebx, 1
mov dword [esp], eax
call dword [0x544694]
sub esp, 4
mov eax, ebx
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 4
je 0x4883b3
jbe 0x487f90
cmp eax, 9
je 0x488342
ja 0x487fd1
cmp eax, 5
je 0x488390
cmp eax, 6
jne 0x488574
mov dword [esp], 0
mov ecx, dword [esp + 0x70]
mov ebx, 1
call dword [0x544988]
sub esp, 4
fstp qword [esi]
jmp 0x487e5a
cmp eax, 0x43
je 0x4881d5
ja 0x488060
cmp eax, 0x40
je 0x488130
cmp eax, 0x41
jne 0x488574
mov ecx, dword [esp + 0x70]
call dword [0x544994]
cmp eax, 0x41
je 0x48850a
lea ebx, [esp + 0x3c]
mov ebp, dword [0x544adc]
mov ecx, ebx
call ebp
mov dword [esp + 4], ebx
mov dword [esp], 0x41
mov ecx, dword [esp + 0x70]
call dword [0x544980]
sub esp, 8
test al, al
lea edi, [esp + 0x2c]
je 0x4884a9
mov dword [esp], ebx
mov ecx, edi
call dword [0x544ad8]
sub esp, 4
mov ecx, ebx
mov ebx, dword [0x544ae0]
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 0x487e5a
cmp eax, 1
je 0x488110
jb 0x488050
cmp eax, 2
je 0x4881b5
cmp eax, 3
jne 0x488574
mov dword [esp], 0
mov ecx, dword [esp + 0x70]
mov ebx, 1
call dword [0x54497c]
sub esp, 4
mov dword [esi], eax
jmp 0x487e5a
cmp eax, 0xa
je 0x4882e0
cmp eax, 0xb
jne 0x488574
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x3c]
mov dword [esp], eax
call dword [0x544954]
sub esp, 4
mov edx, dword [0x5446ec]
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 0x48849b
cmp ecx, 0xffffffff
je 0x48802e
mov ecx, 0xffffffff
lock xadd dword [eax], ecx
mov edx, dword [esp + 0x3c]
cmp ecx, 1
je 0x48849b
mov eax, dword [edx]
test eax, eax
je 0x488043
cmp eax, 0xffffffff
je 0x488050
lock sub dword [edx], 1
mov edx, dword [esp + 0x3c]
jne 0x488050
mov eax, edx
call fcn.00487b10
lea esi, [esi]
mov ebx, 1
jmp 0x487e5a
cmp eax, 0x4a
je 0x488260
cmp eax, 0x400
jne 0x488574
mov ecx, dword [esp + 0x70]
mov ebx, 1
call dword [0x544998]
mov eax, dword [eax]
mov dword [esi], eax
jmp 0x487e5a
cmp eax, 0x13
je 0x4883e0
cmp eax, 0x15
jne 0x488574
mov ecx, dword [esp + 0x70]
mov ebx, 1
call dword [0x544974]
mov dword [esi], eax
mov dword [esi + 4], edx
jmp 0x487e5a
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x3c]
mov ebx, 1
mov dword [esp], eax
call dword [0x544940]
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 [0x5446b0]
jmp 0x487e5a
mov ecx, dword [esp + 0x70]
mov ebx, 1
call dword [0x544968]
mov dword [esi], eax
mov dword [esi + 4], edx
jmp 0x487e5a
mov ecx, dword [esp + 0x70]
mov ebx, 1
call dword [0x544964]
mov byte [esi], al
jmp 0x487e5a
mov ecx, dword [esp + 0x70]
call dword [0x544994]
cmp eax, 0x40
je 0x4884bb
lea ebx, [esp + 0x3c]
mov ebp, dword [0x544a68]
mov ecx, ebx
call ebp
mov dword [esp + 4], ebx
mov dword [esp], 0x40
mov ecx, dword [esp + 0x70]
call dword [0x544980]
sub esp, 8
test al, al
lea edi, [esp + 0x2c]
je 0x4884b2
mov dword [esp], ebx
mov ecx, edi
call dword [0x544a64]
sub esp, 4
mov ecx, ebx
mov ebx, dword [0x544a6c]
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 0x487e5a
mov dword [esp], 0
mov ecx, dword [esp + 0x70]
mov ebx, 1
call dword [0x544960]
sub esp, 4
mov dword [esi], eax
jmp 0x487e5a
mov ecx, dword [esp + 0x70]
call dword [0x544994]
cmp eax, 0x43
je 0x4884e2
lea ebx, [esp + 0x3c]
mov edi, dword [0x544a88]
mov ecx, ebx
call edi
mov dword [esp + 4], ebx
mov dword [esp], 0x43
mov ecx, dword [esp + 0x70]
call dword [0x544980]
sub esp, 8
test al, al
je 0x488558
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 0x487e5a
mov ecx, dword [esp + 0x70]
call dword [0x544994]
cmp eax, 0x4a
je 0x488531
lea ebx, [esp + 0x3c]
mov ebp, dword [0x544ab8]
mov ecx, ebx
call ebp
mov dword [esp + 4], ebx
mov dword [esp], 0x4a
mov ecx, dword [esp + 0x70]
call dword [0x544980]
sub esp, 8
test al, al
je 0x488567
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 [0x544abc]
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 0x487e5a
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x3c]
mov dword [esp], eax
call dword [0x54498c]
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 0x488320
cmp edx, 0xffffffff
je 0x488050
lock sub dword [eax], 1
jne 0x488050
lea esi, [esi]
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x5442ec]
jmp 0x488050
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x2c]
mov ebx, 1
mov dword [esp], eax
call dword [0x54496c]
mov eax, dword [0x5446ec]
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.004ae110
lea ecx, [esp + 0x2c]
call fcn.004ae110
jmp 0x487e5a
mov dword [esp], 0
mov ecx, dword [esp + 0x70]
mov ebx, 1
call dword [0x54494c]
sub esp, 4
mov dword [esi], eax
mov dword [esi + 4], edx
jmp 0x487e5a
mov dword [esp], 0
mov ecx, dword [esp + 0x70]
mov ebx, 1
call dword [0x544944]
sub esp, 4
mov dword [esi], eax
mov dword [esi + 4], edx
jmp 0x487e5a
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x10]
mov ebx, 1
mov dword [esp], eax
call dword [0x544970]
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 0x487e5a
mov ecx, dword [esp + 0x70]
mov ebx, 1
call dword [0x544984]
mov dword [esi], eax
mov dword [esi + 4], edx
jmp 0x487e5a
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x3c]
mov dword [esp], eax
call dword [0x544948]
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 0x488479
cmp edx, 0xffffffff
je 0x488050
lock sub dword [eax], 1
jne 0x488050
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], 4
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [0x5442ec]
jmp 0x488050
call fcn.00487b10
mov edx, dword [esp + 0x3c]
jmp 0x48802e
mov ecx, edi
call ebp
jmp 0x487f64
mov ecx, edi
call ebp
jmp 0x488183
lea edi, [esp + 0x2c]
mov ecx, dword [esp + 0x70]
call dword [0x544998]
mov ecx, edi
mov dword [esp], eax
call dword [0x544a64]
mov ebx, dword [0x544a6c]
sub esp, 4
jmp 0x48818d
mov ecx, dword [esp + 0x70]
call dword [0x544998]
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 0x488234
lea edi, [esp + 0x2c]
mov ecx, dword [esp + 0x70]
call dword [0x544998]
mov ecx, edi
mov dword [esp], eax
call dword [0x544ad8]
mov ebx, dword [0x544ae0]
sub esp, 4
jmp 0x487f6e
lea edi, [esp + 0x2c]
mov ecx, dword [esp + 0x70]
call dword [0x544998]
mov ecx, edi
mov dword [esp], eax
call dword [0x544ab4]
mov ebx, dword [0x544abc]
sub esp, 4
jmp 0x4882bf
lea ecx, [esp + 0x2c]
call edi
mov edx, dword [esp + 0x2c]
jmp 0x488234
lea edi, [esp + 0x2c]
mov ecx, edi
call ebp
jmp 0x4882b5
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 [0x544850]
jmp 0x487e5a