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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x154
mov eax, dword [0x181cd008]
xor eax, esp
mov dword [esp + 0x150], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
mov ecx, ebx
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [esp + 0x68], edx
mov dword [esp + 0x78], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x88], eax
call fcn.1802ed00
mov byte [esp + 0x10], al
call fcn.18004041
push eax
lea ecx, [esp + 0x88]
call fcn.1800710c
xor eax, eax
lea edi, [esp + 0x12c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.18004041
push eax
lea ecx, [esp + 0x20]
call fcn.1800710c
call fcn.18004041
push eax
lea ecx, [esp + 0x1c]
call fcn.1800710c
call fcn.18004041
push eax
lea ecx, [esp + 0x2c]
call fcn.1800710c
call fcn.18004041
push eax
lea ecx, [esp + 0x38]
call fcn.1800710c
mov eax, dword [0x181d3d78]
lea ecx, [esp + 0xf0]
mov dword [esp + 0x30], eax
add eax, 0xc
push eax
call fcn.1800eb8d
mov ecx, ebx
call fcn.1802eb8b
mov ecx, ebx
mov dword [esp + 0x2c], eax
call fcn.1802eb35
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.18028465
push esi
lea ecx, [esp + 0x4c]
call fcn.1800eb8d
lea ecx, [esp + 0x48]
call fcn.1800eba8
test al, al
je 0x1803740e
lea edi, [ebx + 8]
mov eax, dword [edi]
xchg dword [edi], eax
add eax, 4
lea ecx, [esp + 0xf8]
push eax
call fcn.1800eb8d
mov ecx, dword [ebx + 0xc]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, dword [esp + 0xf8]
mov eax, dword [ecx]
call dword [eax + 8]
lea eax, [esp + 0x11c]
mov ecx, ebx
push eax
call fcn.1802ebed
mov esi, eax
lea edi, [esp + 0x12c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x2c]
mov ecx, esi
call fcn.180360d6
test eax, eax
je 0x18037707
push 0
mov ecx, esi
call fcn.180361b9
lea ecx, [esp + 0x54]
push ecx
mov ecx, eax
call fcn.180368a8
mov edx, dword [esp + 0x88]
lea ecx, [esp + 0x50]
push eax
call fcn.1800ee41
pop ecx
push eax
lea ecx, [esp + 0x20]
call fcn.18006d7c
mov ecx, dword [esp + 0x50]
lea ecx, [ecx - 0x10]
call fcn.180046a5
mov ecx, dword [esp + 0x54]
lea ecx, [ecx - 0x10]
call fcn.180046a5
lea ecx, [esp + 0x100]
call fcn.18036db1
xor ebx, ebx
lea eax, [esp + 0x100]
cmp byte [esp + 0x10], bl
mov ecx, esi
push eax
setne bl
call fcn.180360ab
lea edx, [ebx + 2]
lea ecx, [eax + 0x14]
call fcn.18036e31
pop ecx
test al, al
je 0x1803735d
lea eax, [esp + 0x10c]
push eax
lea ecx, [esp + 0x1c]
call fcn.18006d7c
cmp byte [esp + 0x10], 0
je 0x1803735d
push 0x10
lea eax, [esp + 0x130]
push 0x181823e8
push eax
call fcn.18148a2a
mov ebx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x18037361
mov ecx, ebx
call fcn.1802eb35
mov ecx, eax
call fcn.18028609
push dword [eax]
lea eax, [esp + 0x1c]
push str.sessionid
push str.___s___s_
push eax
call fcn.1800f299
add esp, 0x10
jmp 0x18037361
mov ebx, dword [esp + 0x24]
lea edi, [ebx + 8]
mov eax, dword [edi]
xchg dword [edi], eax
add eax, 4
lea ecx, [esp + 0xa8]
push eax
call fcn.1800eb8d
mov ecx, dword [ebx + 0xc4]
cmp dword [ecx - 0xc], 0
je 0x18037389
add ecx, 0xfffffff0
jmp 0x18037392
mov ecx, dword [ebx + 0xc8]
sub ecx, 0x10
call fcn.18007189
mov ecx, dword [esp + 0xa8]
lea esi, [eax + 0x10]
mov eax, dword [ecx]
call dword [eax + 8]
lea eax, [esp + 0x58]
mov dword [esp + 0x58], esi
push eax
lea ecx, [esp + 0x2c]
call fcn.18006d7c
lea ecx, [esi - 0x10]
call fcn.180046a5
mov ecx, dword [esp + 0x2c]
call fcn.180360ab
add eax, 4
lea ecx, [esp + 0x34]
push eax
call fcn.18006d7c
cmp byte [esp + 0x10], 0
jne 0x180373f1
mov ecx, dword [esp + 0x30]
push ebx
call fcn.1802aa58
mov esi, eax
test esi, esi
js 0x18037698
lea ecx, [esp + 0x100]
call fcn.18032255
lea ecx, [esp + 0x48]
call fcn.1800eba8
test al, al
jne 0x18037228
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, ebx
call fcn.1802eb35
mov ecx, eax
call fcn.18028632
movzx ecx, byte [0x181d59e6]
push 7
neg ecx
mov dword [esp + 0x24], eax
pop edi
sbb ecx, ecx
push 1
pop eax
and ecx, 0x181d4bb0
je 0x180374e8
push eax
push edi
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], edi
mov dword [esp + 0xe8], eax
call fcn.18005de9
mov dword [esp + 0xe4], eax
mov ecx, ebx
lea eax, [esp + 0x64]
push eax
call fcn.1802f222
lea edx, [esp + 0x12c]
lea ecx, [esp + 0x60]
mov edi, dword [eax]
call fcn.18009392
mov ecx, ebx
mov esi, dword [eax]
lea eax, [esp + 0x5c]
push eax
call fcn.1802ec95
push dword [esp + 0x20]
push edi
push dword [esp + 0x30]
push dword [esp + 0x24]
push dword [esp + 0x2c]
push esi
push dword [eax]
lea eax, [esp + 0xf4]
push str._Installing__display_name:__s__app_id:__s__installer_path:__s__manifest_args:__s__installer_data:__s__untrusted_data:__s__priority:__d_
push eax
call fcn.180041e3
mov ecx, dword [esp + 0x80]
add esp, 0x24
lea ecx, [ecx - 0x10]
call fcn.180046a5
mov ecx, dword [esp + 0x60]
lea ecx, [ecx - 0x10]
call fcn.180046a5
mov ecx, dword [esp + 0x64]
lea ecx, [ecx - 0x10]
call fcn.180046a5
push 7
pop edi
lea ecx, [esp + 0x8c]
call fcn.18036df1
push 3
mov ecx, ebx
call fcn.1802f59b
lea eax, [esp + 0x70]
mov ecx, ebx
push eax
call fcn.1802f222
lea ecx, [esp + 0x8c]
push ecx
push dword [esp + 0x24]
mov ecx, dword [esp + 0x74]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x148]
push eax
push dword [esp + 0x88]
call fcn.1803e107
mov ecx, dword [esp + 0x70]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.180046a5
push 4
mov ecx, ebx
call fcn.1802f59b
movzx ecx, byte [0x181d59e6]
neg ecx
sbb ecx, ecx
and ecx, 0x181d4bb0
je 0x180375e5
xor eax, eax
mov dword [esp + 0xc8], ecx
inc eax
mov dword [esp + 0xcc], edi
push eax
push edi
mov dword [esp + 0xd8], eax
call fcn.18005de9
lea edx, [esp + 0x12c]
mov dword [esp + 0xd4], eax
lea ecx, [esp + 0x74]
call fcn.18009392
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push dword [esp + 0x98]
push dword [esp + 0x98]
push dword [eax]
lea eax, [esp + 0xdc]
push esi
push str._InstallApp_returned__0x_x___s__type:_d__code:__d___s___s_
push eax
call fcn.180041e3
mov ecx, dword [esp + 0x94]
add esp, 0x20
lea ecx, [ecx - 0x10]
call fcn.180046a5
push dword [esp + 0x78]
lea ecx, [esp + 0xec]
call fcn.1800eb8d
test esi, esi
js 0x1803777b
push 0x10
lea eax, [esp + 0x130]
push eax
push 0x181823e8
call fcn.18148a2a
add esp, 0xc
test eax, eax
je 0x1803766c
mov ecx, dword [esp + 0x30]
push ebx
call fcn.1802b029
mov esi, eax
test esi, esi
js 0x1803777b
push dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x38]
push dword [esp + 0x80]
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.18036010
push eax
lea eax, [esp + 0x13c]
push eax
call fcn.1803dfb6
mov ecx, dword [esp + 0x80]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.180046a5
test esi, esi
js 0x1803777b
lea edx, [esp + 0x8c]
mov ecx, ebx
call fcn.180378c8
lea eax, [esp + 0x8c]
mov ecx, ebx
push eax
call fcn.1802f812
xor esi, esi
jmp 0x1803781d
call fcn.18004041
push eax
lea ecx, [esp + 0x3c]
call fcn.1800710c
lea eax, [esp + 0x14]
mov edx, esi
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x44]
call fcn.1803d5da
pop ecx
pop ecx
mov ecx, dword [esp + 0x38]
lea ecx, [ecx - 0x10]
call fcn.180046a5
and dword [esp + 0xb4], 0
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0xb4]
mov dword [esp + 0xb4], esi
push eax
mov ecx, ebx
call fcn.1802f846
mov ecx, dword [esp + 0x3c]
lea ecx, [ecx - 0x10]
call fcn.180046a5
lea ecx, [esp + 0x100]
call fcn.18032255
jmp 0x1803776d
call fcn.18004041
push eax
lea ecx, [esp + 0x44]
call fcn.1800710c
lea eax, [esp + 0x14]
mov esi, 0x80004005
push eax
lea eax, [esp + 0x44]
mov edx, esi
push eax
lea ecx, [esp + 0x28]
call fcn.1803d5da
pop ecx
pop ecx
mov ecx, dword [esp + 0x40]
lea ecx, [ecx - 0x10]
call fcn.180046a5
and dword [esp + 0xbc], 0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0xbc]
mov dword [esp + 0xbc], esi
push eax
mov ecx, ebx
call fcn.1802f846
mov ecx, dword [esp + 0x20]
lea ecx, [ecx - 0x10]
call fcn.180046a5
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x18037835
cmp byte [esp + 0x10], 0
jne 0x180377b8
lea eax, [esp + 0x13c]
mov ecx, ebx
push eax
call fcn.1802ebed
mov edi, dword [esp + 0x30]
mov ecx, edi
push eax
call fcn.18029ba3
test al, al
jne 0x180377b8
lea eax, [esp + 0x14c]
mov ecx, ebx
push eax
call fcn.1802ebed
push eax
mov ecx, edi
call fcn.1802bf67
cmp esi, 0x80040902
jne 0x180377d1
lea eax, [esp + 0x8c]
mov ecx, ebx
push eax
call fcn.1802f812
jmp 0x1803781d
lea eax, [esp + 0x14]
mov edx, esi
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x4c]
call fcn.1803d5da
mov eax, dword [esp + 0x9c]
pop ecx
pop ecx
mov dword [esp + 0xc4], eax
mov ecx, ebx
lea eax, [esp + 0x44]
mov dword [esp + 0xc0], esi
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.1802f846
mov ecx, dword [esp + 0x44]
lea ecx, [ecx - 0x10]
call fcn.180046a5
mov ecx, dword [esp + 0xe8]
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [esp + 0x8c]
call fcn.180378a3
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.180046a5
mov ecx, dword [esp + 0xf0]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0x34]
lea ecx, [ecx - 0x10]
call fcn.180046a5
mov ecx, dword [esp + 0x28]
lea ecx, [ecx - 0x10]
call fcn.180046a5
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.180046a5
mov ecx, dword [esp + 0x1c]
lea ecx, [ecx - 0x10]
call fcn.180046a5
mov ecx, dword [esp + 0x84]
add ecx, 0xfffffff0
call fcn.180046a5
mov ecx, dword [esp + 0x15c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.181450cb
mov esp, ebp
pop ebp
ret