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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x40d59d
push eax
mov eax, 0x1080
mov dword fs:[0], esp
call fcn.00405040
push ebx
xor ebx, ebx
push esi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], ebx
call fcn.00404660
push 0x4101f8
push 0x1de
push str.D:projectMSISRCCWP_MSIAPPAutoUpLoaderAutoUploader.cpp
lea ecx, [esp + 0x48]
mov dword [esp + 0x109c], ebx
call fcn.004041e0
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [esp + 0xc], ebx
mov eax, dword [0x4101c0]
mov ecx, dword [0x4101c4]
mov edx, dword [0x4101c8]
mov dword [esp + 0x48], eax
mov eax, dword [0x4101cc]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0xc]
mov byte [esp + 0x1090], 1
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
call fcn.00403010
lea ecx, [esp + 8]
lea edx, [esp + 0x48]
push ecx
push 0x4101b0
push 7
push ebx
push edx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x401df3
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ole32.dll_OleRun]
mov esi, eax
cmp esi, ebx
jl 0x401de5
mov eax, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
push 0x4101a0
mov ecx, dword [eax]
push eax
call dword [ecx]
mov esi, eax
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp esi, ebx
je 0x401e29
lea ecx, [esp + 0xc]
call fcn.00403010
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1090], 0xffffffff
call fcn.00404690
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1080]
mov dword fs:[0], ecx
add esp, 0x108c
ret
mov eax, dword [esp + 0xc]
cmp eax, ebx
jne 0x401e3f
push 0x80004003
call fcn.004046c0
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
lea ecx, [esp + 0x20]
push ecx
push eax
mov esi, eax
call dword [edx + 0x1c]
cmp eax, ebx
jge 0x401e5c
push 0x4101a0
push esi
push eax
call fcn.004046ce
push ebp
push edi
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x28]
xor eax, eax
cmp ecx, ebx
mov byte [esp + 0x1098], 2
mov dword [esp + 0x20], eax
jle 0x402308
jmp 0x401e80
xor ebx, ebx
mov word [esp + 0x34], 3
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
mov byte [esp + 0x1098], 3
cmp eax, ebx
jne 0x401ea5
push 0x80004003
call fcn.004046c0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x34]
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.004030d0
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402fe0
lea ecx, [esp + 0x2c]
call fcn.00403010
cmp dword [esp + 0x18], ebx
jne 0x401ef3
lea edx, [esp + 0x34]
mov byte [esp + 0x1098], 2
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebx
jge 0x40227b
jmp 0x402275
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0x14], ebx
call fcn.00403030
cmp eax, ebx
jge 0x401f16
cmp eax, 0x80004002
je 0x401f16
push eax
call fcn.004046c0
mov eax, dword [esp + 0x10]
mov byte [esp + 0x1098], 4
cmp eax, ebx
jne 0x401f34
push 0x80004003
call fcn.004046c0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push eax
mov esi, eax
call dword [ecx + 0x94]
cmp eax, ebx
jge 0x401f54
push 0x4102f0
push esi
push eax
call fcn.004046ce
mov eax, dword [esp + 0x10a0]
mov ecx, dword [esp + 0x30]
cmp ecx, eax
je 0x401f8c
lea ecx, [esp + 0x10]
call fcn.00403010
lea ecx, [esp + 0x34]
mov byte [esp + 0x1098], 2
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebx
jge 0x40227b
jmp 0x402275
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x401fa2
push 0x80004003
call fcn.004046c0
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [edx + 0x78]
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x90]
push ebx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x28]
push ebx
lea edx, [esp + 0x98]
push 0xfff
push edx
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ecx, dword [esp + 0x34]
push eax
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea edi, [esp + 0x90]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x1c], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [ecx + ecx*2]
push edx
call fcn.00404f81
mov ebx, eax
lea edi, [esp + 0x94]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ebx
push ebx
lea ecx, [ecx + ecx*2]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x10b0]
lea eax, [esp + 0x94]
push eax
call fcn.004034a0
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov esi, dword [esp + 0x10a8]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, esi
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x4102e8
add edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [edx + ecx + 5]
push edi
call fcn.00404f81
mov ebp, eax
add esp, 4
mov ecx, edi
xor eax, eax
mov edi, ebp
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, 0x4102e4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, ebp
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4102e8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4102e0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 8
mov word [esp + 0x64], si
call fcn.0040476d
test eax, eax
mov dword [esp + 0x68], eax
jne 0x40217a
test ebp, ebp
je 0x40217a
push 0x8007000e
call fcn.004046c0
mov word [esp + 0x70], si
mov esi, dword [esp + 0x10b0]
push esi
mov byte [esp + 0x109c], 5
call fcn.0040476d
test eax, eax
mov dword [esp + 0x78], eax
jne 0x4021aa
test esi, esi
je 0x4021aa
push 0x8007000e
call fcn.004046c0
mov eax, dword [esp + 0x10]
mov byte [esp + 0x1098], 6
test eax, eax
mov word [esp + 0x80], 2
mov word [esp + 0x88], 0x30
jne 0x4021dc
push 0x80004003
call fcn.004046c0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push 0x413210
lea edx, [esp + 0x74]
push 0x413210
push edx
lea edx, [esp + 0x8c]
push edx
lea edx, [esp + 0x70]
push edx
push eax
mov edi, eax
call dword [ecx + 0xd0]
mov esi, eax
test esi, esi
jge 0x402217
push 0x4101e8
push edi
push esi
call fcn.004046ce
test esi, esi
je 0x402292
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x70]
push eax
mov dword [esp + 0x20], 0
mov byte [esp + 0x109c], 5
call esi
test eax, eax
jge 0x402240
push eax
call fcn.004046c0
lea ecx, [esp + 0x60]
mov byte [esp + 0x1098], 4
push ecx
call esi
test eax, eax
jge 0x402259
push eax
call fcn.004046c0
lea ecx, [esp + 0x10]
call fcn.00403010
lea edx, [esp + 0x34]
mov byte [esp + 0x1098], 2
push edx
call esi
test eax, eax
jge 0x40227b
push eax
call fcn.004046c0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x401e7e
jmp 0x402308
push ebx
call fcn.00404f18
push ebp
call fcn.00404f18
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
add esp, 8
lea eax, [esp + 0x70]
mov byte [esp + 0x1098], 5
push eax
call esi
test eax, eax
jge 0x4022c0
push eax
call fcn.004046c0
lea ecx, [esp + 0x60]
mov byte [esp + 0x1098], 4
push ecx
call esi
test eax, eax
jge 0x4022d9
push eax
call fcn.004046c0
mov eax, dword [esp + 0x10]
mov byte [esp + 0x1098], 3
test eax, eax
je 0x4022ef
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea eax, [esp + 0x34]
mov byte [esp + 0x1098], 2
push eax
call esi
test eax, eax
jge 0x402308
push eax
call fcn.004046c0
mov esi, dword [esp + 0x14]
pop edi
test esi, esi
pop ebp
je 0x40232d
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.00403020
test esi, esi
je 0x40232d
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
push 0x4101d0
push 0x234
push str.D:projectMSISRCCWP_MSIAPPAutoUpLoaderAutoUploader.cpp
lea ecx, [esp + 0x48]
call fcn.004041e0
mov eax, dword [esp + 0x10]
mov byte [esp + 0x1090], 1
test eax, eax
je 0x40235b
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0xc]
mov byte [esp + 0x1090], 0
test eax, eax
je 0x402371
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1090], 0xffffffff
call fcn.00404690
mov ecx, dword [esp + 0x1088]
mov eax, dword [esp + 0x14]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x108c
ret