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

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
push esi
push edi
push eax
mov esi, ecx
mov ecx, dword [esp + 0x44]
push ebp
push ecx
push edx
mov ecx, esi
call fcn.00509760
xor eax, eax
mov dword [esi], vtable.QConfFileSettingsPrivate.0
lea edi, [esi + 0x74]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
lea ebx, [esi + 0x8c]
mov dword [ebx], 0x70f0d4
mov eax, 0x70f0d4
mov ecx, 1
lock xadd dword [eax], ecx
mov ecx, esi
mov dword [esi + 0x94], 0x40000000
call fcn.0050acd0
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
mov edx, 1
lock xadd dword [ebp], edx
mov eax, dword [esp + 0x10]
cmp dword [eax + 8], 0
jne 0x50e385
cmp dword [esi + 0x70], 0
jne 0x50e34d
mov dword [esi + 0x70], 1
push 0xffffffffffffffff
lea ecx, [esp + 0x48]
push str.Unknown_Organization
push ecx
call fcn.00500b20
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
call fcn.004fc970
mov edx, dword [esp + 0x44]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x50e385
mov ecx, dword [esp + 0x44]
push ecx
call fcn.004ff160
add esp, 4
lea edx, [esp + 0x44]
push edx
call fcn.00549340
mov ebp, dword [esp + 0x4c]
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], ecx
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], eax
lea edx, [esp + 0x20]
lea eax, [esp + 0x28]
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebx
call fcn.005087b0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov edx, 1
lock xadd dword [eax], edx
mov eax, dword [esp + 0x1c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x50e3f3
mov edx, dword [esp + 0x1c]
push edx
call fcn.004ff160
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov ecx, 1
lock xadd dword [eax], ecx
push ebx
lea ecx, [esp + 0x48]
call fcn.005003f0
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov edx, 1
lock xadd dword [eax], edx
mov eax, dword [esp + 0x44]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x50e439
mov edx, dword [esp + 0x44]
push edx
call fcn.004ff160
add esp, 4
cmp dword [esp + 0x40], 0
jne 0x50e557
mov eax, dword [esp + 0x3c]
push 0
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.0050bff0
mov edx, dword [ebp]
mov ebp, dword [esp + 0x4c]
add esp, 0xc
cmp dword [edx + 8], 0
je 0x50e4d3
mov dword [esp + 0x40], ebp
mov eax, ebp
mov ecx, 1
lock xadd dword [eax], ecx
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x44]
call fcn.005003f0
lea eax, [esp + 0x40]
push 1
push eax
call fcn.0050e140
mov ebx, dword [edi]
add esp, 8
cmp ebx, eax
je 0x50e4b9
mov dword [edi], eax
test ebx, ebx
je 0x50e4b9
lea ecx, [ebx + 0x20]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x50e4b9
mov ecx, ebx
call fcn.0050ba40
push ebx
call fcn.005c396f
add esp, 4
mov eax, dword [esp + 0x40]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x50e4d3
mov edx, dword [esp + 0x40]
push edx
call fcn.004ff160
add esp, 4
mov dword [esp + 0x40], ebp
mov eax, ebp
mov ecx, 1
lock xadd dword [eax], ecx
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x44]
call fcn.005003f0
lea eax, [esp + 0x40]
push 1
push eax
call fcn.0050e140
mov ebx, dword [esi + 0x78]
add esp, 8
cmp ebx, eax
je 0x50e529
mov dword [esi + 0x78], eax
test ebx, ebx
je 0x50e529
lea ecx, [ebx + 0x20]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x50e529
mov ecx, ebx
call fcn.0050ba40
push ebx
call fcn.005c396f
add esp, 4
mov eax, dword [esp + 0x40]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x50e543
mov edx, dword [esp + 0x40]
push edx
call fcn.004ff160
add esp, 4
mov eax, ebp
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x50e557
push ebp
call fcn.004ff160
add esp, 4
mov edx, dword [esp + 0x3c]
push 1
push edx
lea eax, [esp + 0x44]
push eax
call fcn.0050bff0
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx]
mov ebp, dword [esp + 0x48]
add esp, 0xc
cmp dword [edx + 8], 0
je 0x50e5eb
mov dword [esp + 0x3c], ebp
mov eax, ebp
mov ecx, 1
lock xadd dword [eax], ecx
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x40]
call fcn.005003f0
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.0050e140
mov ebx, dword [esi + 0x7c]
add esp, 8
cmp ebx, eax
je 0x50e5d1
mov dword [esi + 0x7c], eax
test ebx, ebx
je 0x50e5d1
lea ecx, [ebx + 0x20]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x50e5d1
mov ecx, ebx
call fcn.0050ba40
push ebx
call fcn.005c396f
add esp, 4
mov eax, dword [esp + 0x3c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x50e5eb
mov edx, dword [esp + 0x3c]
push edx
call fcn.004ff160
add esp, 4
mov dword [esp + 0x3c], ebp
mov eax, ebp
mov ecx, 1
lock xadd dword [eax], ecx
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x40]
call fcn.005003f0
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.0050e140
mov ebx, dword [esi + 0x80]
add esp, 8
cmp ebx, eax
je 0x50e647
mov dword [esi + 0x80], eax
test ebx, ebx
je 0x50e647
lea ecx, [ebx + 0x20]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x50e647
mov ecx, ebx
call fcn.0050ba40
push ebx
call fcn.005c396f
add esp, 4
mov eax, dword [esp + 0x3c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x50e661
mov edx, dword [esp + 0x3c]
push edx
call fcn.004ff160
add esp, 4
xor eax, eax
cmp dword [edi], 0
jne 0x50e673
inc eax
add edi, 4
cmp eax, 4
jl 0x50e663
jmp 0x50e676
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x68]
cmp dword [esi + eax*4 + 0x74], 0
je 0x50e69c
mov eax, 1
cmp dword [esi + 0x4c], eax
jle 0x50e69c
cmp dword [esi + 0x84], 0
jne 0x50e69c
cmp dword [esi + 0x70], 0
jne 0x50e69c
mov dword [esi + 0x70], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
mov ecx, ebp
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x50e6b9
push ebp
call fcn.004ff160
add esp, 4
mov eax, dword [esp + 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x50e6d3
mov edx, dword [esp + 0x14]
push edx
call fcn.004ff160
add esp, 4
mov eax, dword [esp + 0x18]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x50e6ed
mov edx, dword [esp + 0x18]
push edx
call fcn.004ff160
add esp, 4
mov eax, dword [esp + 0x10]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x50e707
mov edx, dword [esp + 0x10]
push edx
call fcn.004ff160
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x10