Function at 0x410640
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c662
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4ce4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.004101c0
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
mov edi, 1
jne 0x4106a3
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], edi
mov dword [ebp - 4], 0
call fcn.004122e0
push 0x4a19c0
call fcn.00473c75
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x18]
push eax
push sym.Install.exe__t__1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_4V__singleton_wrapp
call fcn.004133a0
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x18]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x20], esp
mov esi, esp
push eax
call fcn.00401530
add esp, 4
add eax, 0x10
push sym.Install.exe__t__1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_4V__singleton_wrapp
mov dword [esi], eax
call fcn.00412650
test eax, eax
je 0x410790
test byte [0x4d9890], 1
jne 0x410709
or dword [0x4d9890], edi
mov byte [ebp - 4], 2
call fcn.0041c0b0
push 0x4a1fa0
call fcn.00473c75
add esp, 4
mov byte [ebp - 4], 1
cmp dword [0x4d9828], 0
jne 0x41071c
mov dword [0x4d9828], 2
test byte [0x4d9890], 1
jne 0x410745
or dword [0x4d9890], edi
mov byte [ebp - 4], 3
call fcn.0041c0b0
push 0x4a1fa0
call fcn.00473c75
add esp, 4
mov byte [ebp - 4], 1
mov ecx, 0x4d97f8
call fcn.004720d0
push edi
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41077c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x24]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
call fcn.00418470
call fcn.0041a510
lea ecx, [ebp - 0x1c]
push ecx
call fcn.0041d5d0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x20], esp
mov esi, esp
push eax
call fcn.00401530
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0041d8d0
test byte [0x4d9890], 1
jne 0x4107f9
or dword [0x4d9890], edi
mov byte [ebp - 4], 5
call fcn.0041c0b0
push 0x4a1fa0
call fcn.00473c75
add esp, 4
mov byte [ebp - 4], 4
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [0x4d9818], eax
call fcn.00417dd0
mov edi, eax
mov dword [ebp - 0x14], edi
test edi, edi
je 0x41081e
call fcn.00417e60
mov dword [ebp - 0x14], eax
mov edi, eax
test byte [0x4d9890], 1
jne 0x410848
or dword [0x4d9890], 1
mov byte [ebp - 4], 6
call fcn.0041c0b0
push 0x4a1fa0
call fcn.00473c75
add esp, 4
mov byte [ebp - 4], 4
call esi
test byte [0x4d9890], 1
mov dword [0x4d981c], eax
jne 0x410879
or dword [0x4d9890], 1
mov byte [ebp - 4], 7
call fcn.0041c0b0
push 0x4a1fa0
call fcn.00473c75
add esp, 4
mov byte [ebp - 4], 4
push 0
push 2
push 0
push 0
push str._d_d_d_d
push 0x4d980c
call fcn.0040c2b0
add esp, 0x18
test byte [0x4d9890], 1
jne 0x4108bd
or dword [0x4d9890], 1
mov byte [ebp - 4], 8
call fcn.0041c0b0
push 0x4a1fa0
call fcn.00473c75
add esp, 4
mov byte [ebp - 4], 4
call esi
mov dword [0x4d9820], eax
test edi, edi
je 0x4109cd
call fcn.00410b30
call fcn.0042e400
call fcn.00419ae0
call fcn.004184f0
lea edx, [ebp - 0x20]
push edx
call fcn.0041a3f0
mov edi, eax
mov byte [ebp - 4], 9
test byte [0x4d9890], 1
jne 0x410919
or dword [0x4d9890], 1
mov byte [ebp - 4], 0xa
call fcn.0041c0b0
push 0x4a1fa0
call fcn.00473c75
add esp, 4
mov byte [ebp - 4], 9
mov eax, edi
mov edi, 0x4d9830
call fcn.00404db0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410948
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00417250
mov edi, dword [ebx + 0x24]
push 1
call fcn.00415630
mov ecx, dword [ebx + 0x24]
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
call fcn.0041a360
call fcn.00418fb0
mov byte [ebp - 0xd], 0
call fcn.0042adb0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x20]
call fcn.00401ba0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebx + 0x24]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x1c]
push 1
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4109b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebx + 0x24]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
call eax
call fcn.00419210
call fcn.00410c20
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
call fcn.0040d160
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 4], 0x31
call fcn.0040d420
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410a08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebx
call fcn.0041aa00
mov ebx, 1
test byte [0x4d9890], bl
jne 0x410a3b
or dword [0x4d9890], ebx
mov byte [ebp - 4], 0x32
call fcn.0041c0b0
push 0x4a1fa0
call fcn.00473c75
add esp, 4
mov byte [ebp - 4], 4
call esi
test byte [0x4d9890], 1
mov dword [0x4d9824], eax
jne 0x410a6b
or dword [0x4d9890], ebx
mov byte [ebp - 4], 0x33
call fcn.0041c0b0
push 0x4a1fa0
call fcn.00473c75
add esp, 4
mov byte [ebp - 4], 4
push sym.Install.exe__t__1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_4V__singleton_wrapp
call fcn.00414370
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 2
cmp dword [0x4d9828], 0
jne 0x410a8d
mov dword [0x4d9828], eax
test byte [0x4d9890], 1
jne 0x410ab6
or dword [0x4d9890], ebx
mov byte [ebp - 4], 0x34
call fcn.0041c0b0
push 0x4a1fa0
call fcn.00473c75
add esp, 4
mov byte [ebp - 4], 4
mov ecx, 0x4d97f8
call fcn.004720d0
xor ecx, ecx
test edi, edi
sete cl
push ecx
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410af1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410b17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret