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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x180af1d0]
xor eax, esp
mov dword [esp + 0x128], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x14]
push esi
mov esi, ecx
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x18]
push edi
mov edi, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x38], eax
call fcn.18022b0b
mov byte [esp + 0x20], al
mov eax, dword [0x180b41a8]
mov ebx, 0x180b41a8
mov ecx, ebx
call dword [eax + 0xc]
and dword [esp + 0x124], 0
add eax, 0x10
mov dword [esp + 0x54], eax
xor eax, eax
lea edi, [esp + 0x128]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [0x180b41a8]
mov ecx, ebx
call dword [eax + 0xc]
push 0x10
pop edi
add eax, edi
mov dword [esp + 0x24], eax
mov eax, dword [0x180b41a8]
mov ecx, ebx
call dword [eax + 0xc]
add eax, edi
mov dword [esp + 0x10], eax
mov eax, dword [0x180b41a8]
mov ecx, ebx
call dword [eax + 0xc]
add eax, edi
mov dword [esp + 0x28], eax
mov eax, dword [0x180b41a8]
mov ecx, ebx
call dword [eax + 0xc]
add eax, edi
mov dword [esp + 0x30], eax
mov eax, dword [0x180b5884]
lea ecx, [eax + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx]
mov dword [esp + 0x78], ecx
call dword [eax + 4]
mov eax, esi
call fcn.180229f0
mov dword [esp + 0x1c], eax
mov eax, esi
call fcn.1802299a
lea ebx, [esp + 0x14]
mov edi, eax
call fcn.18026a96
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
mov ecx, ebx
mov byte [esp + 0x98], 1
call dword [eax + 4]
cmp byte [esp + 0x98], 0
je 0x18029f38
lea eax, [esi + 8]
push dword [eax]
mov byte [esp + 0x9c], 0
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov edi, eax
add edi, 4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
push esi
call dword [eax + 0x34]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
lea eax, [esp + 0x104]
push eax
mov eax, esi
call fcn.18022a40
mov ebx, dword [esp + 0x1c]
mov esi, eax
lea edi, [esp + 0x124]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1802a56f
test eax, eax
jbe 0x18029de8
xor eax, eax
mov ecx, ebx
call fcn.1802a67c
lea ebx, [esp + 0x68]
mov edi, eax
call fcn.1802af23
push eax
mov eax, dword [esp + 0x3c]
lea ebx, [esp + 0x5c]
call fcn.1800a5bc
pop ecx
lea edi, [esp + 0x24]
call fcn.180038ff
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
call fcn.18003e1e
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
call fcn.18003e1e
lea edi, [esp + 0xd8]
call fcn.1802976e
mov eax, edi
push eax
xor eax, eax
cmp byte [esp + 0x24], al
setne al
inc eax
inc eax
push eax
mov eax, dword [esp + 0x24]
call fcn.1802a544
add eax, 0x20
call fcn.180297e0
pop ecx
pop ecx
test al, al
je 0x18029d3a
lea eax, [esp + 0xe4]
lea edi, [esp + 0x10]
call fcn.180038ff
mov esi, dword [esp + 0xc]
push dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov edi, eax
add edi, 4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx + 0xac]
cmp dword [eax - 0xc], 0
je 0x18029cef
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
je 0x18029cdc
push 0x1809c814
lea eax, [esp + 0x14]
push eax
call fcn.18002bc5
mov eax, dword [ebx + 0xac]
push dword [eax - 0xc]
push eax
lea eax, [esp + 0x18]
call fcn.18002aa0
cmp byte [esp + 0x20], 0
je 0x18029d42
push 0x10
lea eax, [esp + 0x128]
push 0x1809b46c
push eax
call fcn.18077d40
add esp, 0xc
test eax, eax
jne 0x18029d42
mov eax, ebx
call fcn.1802299a
mov edi, eax
call fcn.18026c42
push dword [eax]
lea eax, [esp + 0x14]
push str.sessionid
push str.___s___s_
push eax
call fcn.1800db60
add esp, 0x10
jmp 0x18029d42
mov esi, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
push dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov edi, eax
add edi, 4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [ebx + 0xa4]
cmp dword [eax - 0xc], 0
je 0x18029d68
add eax, 0xfffffff0
jmp 0x18029d71
mov eax, dword [ebx + 0xa8]
sub eax, 0x10
call fcn.18003940
mov esi, eax
mov eax, dword [edi]
add esi, 0x10
mov ecx, edi
mov dword [esp + 0x40], esi
call dword [eax + 8]
lea eax, [esp + 0x40]
lea edi, [esp + 0x28]
call fcn.180038ff
lea eax, [esi - 0x10]
call fcn.18003e1e
mov eax, dword [esp + 0x1c]
call fcn.1802a544
add eax, 4
lea edi, [esp + 0x30]
call fcn.180038ff
cmp byte [esp + 0x20], 0
jne 0x18029dd0
push dword [esp + 0x2c]
mov eax, ebx
call fcn.18024d66
mov edi, eax
mov dword [esp + 0x34], edi
test edi, edi
jl 0x18029ec1
lea esi, [esp + 0xd8]
call fcn.1802a268
mov esi, dword [esp + 0x18]
mov ebx, dword [ebp + 0x10]
jmp 0x18029b9a
mov eax, dword [0x180b41a8]
mov ecx, 0x180b41a8
call dword [eax + 0xc]
mov esi, eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x38]
add esi, 0x10
push eax
mov edi, 0x80004005
lea ebx, [esp + 0x44]
mov dword [esp + 0x3c], esi
call fcn.18031f99
pop ecx
pop ecx
lea eax, [esi - 0x10]
call fcn.18003e1e
and dword [esp + 0xac], 0
mov eax, ebx
push eax
lea eax, [esp + 0xac]
mov esi, edi
mov edi, dword [esp + 0x1c]
push eax
mov dword [esp + 0xb0], esi
call fcn.180232a9
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
call fcn.18003e1e
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.18003e1e
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
call fcn.18003e1e
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.18003e1e
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.18003e1e
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.18003e1e
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
call fcn.18003e1e
mov ecx, dword [esp + 0x134]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.180761c5
mov esp, ebp
pop ebp
ret
mov eax, dword [0x180b41a8]
mov ecx, 0x180b41a8
call dword [eax + 0xc]
mov esi, eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x50]
add esi, 0x10
push eax
lea ebx, [esp + 0x50]
mov dword [esp + 0x54], esi
call fcn.18031f99
pop ecx
pop ecx
lea eax, [esi - 0x10]
call fcn.18003e1e
and dword [esp + 0xb4], 0
mov eax, ebx
push eax
lea eax, [esp + 0xb4]
mov dword [esp + 0xb4], edi
mov edi, dword [esp + 0x1c]
push eax
call fcn.180232a9
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
call fcn.18003e1e
lea esi, [esp + 0xd8]
call fcn.1802a268
mov esi, dword [esp + 0x34]
jmp 0x18029e51
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
movzx eax, byte [0x180b5839]
neg eax
sbb eax, eax
and eax, 0x180b5ae0
mov dword [esp + 0x38], eax
je 0x1802a005
lea eax, [esi + 8]
push dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov edi, eax
add edi, 4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov esi, dword [esi + 0x5c]
sub esi, 0x10
mov eax, esi
call fcn.18003940
mov ebx, eax
mov eax, dword [edi]
mov ecx, edi
add ebx, 0x10
call dword [eax + 8]
mov eax, dword [esp + 0x38]
xor esi, esi
inc esi
push esi
push 8
pop edi
push edi
mov dword [esp + 0xd0], eax
call fcn.18001cc0
mov dword [esp + 0xd0], esi
mov dword [esp + 0xd4], edi
lea edi, [esp + 0x124]
lea esi, [esp + 0x60]
mov dword [esp + 0xcc], eax
call fcn.18004c45
push dword [esp + 0x28]
push dword [esp + 0x14]
push dword [esp + 0x2c]
push dword [eax]
lea eax, [esp + 0xd8]
push ebx
push str._Installing___s___s___s___s___s_
call fcn.18001000
add esp, 0x18
lea eax, [ebx - 0x10]
call fcn.18003e1e
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
call fcn.18003e1e
mov esi, dword [esp + 0x18]
mov ebx, dword [ebp + 0x10]
lea edi, [esp + 0x7c]
call fcn.180297a7
mov eax, edi
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x138]
push eax
push dword [esp + 0x88]
push dword [esp + 0x6c]
call fcn.1803288e
mov dword [esp + 0xc], eax
movzx eax, byte [0x180b5839]
neg eax
sbb eax, eax
and eax, 0x180b5ae0
je 0x1802a0d2
xor esi, esi
inc esi
push esi
push 8
pop edi
push edi
mov dword [esp + 0xc0], eax
call fcn.18001cc0
mov dword [esp + 0xc0], esi
mov dword [esp + 0xc4], edi
lea edi, [esp + 0x124]
lea esi, [esp + 0x5c]
mov dword [esp + 0xbc], eax
call fcn.18004c45
push dword [esp + 0x8c]
push dword [esp + 0x8c]
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [eax]
lea eax, [esp + 0xcc]
push dword [esp + 0x20]
push str._InstallApp_returned__0x_x___s__type:_d__code:__d___s___s_
call fcn.18001000
mov eax, dword [esp + 0x78]
add esp, 0x1c
add eax, 0xfffffff0
call fcn.18003e1e
mov esi, dword [esp + 0x18]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
cmp dword [esp + 0xc], 0
jl 0x1802a152
push 0x10
lea eax, [esp + 0x128]
push eax
push 0x1809b46c
call fcn.18077d40
add esp, 0xc
test eax, eax
je 0x1802a147
mov ecx, dword [esp + 0x2c]
mov eax, esi
call fcn.180252ab
mov dword [esp + 0xc], eax
test eax, eax
jl 0x1802a152
push dword [esp + 0x20]
mov edi, dword [esp + 0x20]
push dword [esp + 0x68]
lea ebx, [esp + 0x74]
call fcn.1802a4b1
push eax
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x130]
call fcn.18032742
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
call fcn.18003e1e
mov ebx, dword [ebp + 0x10]
cmp dword [esp + 0xc], 0
jge 0x1802a222
cmp byte [esp + 0x20], 0
jne 0x1802a191
lea eax, [esp + 0xf4]
push eax
mov eax, esi
call fcn.18022a40
push dword [esp + 0x2c]
mov edi, eax
call fcn.18024639
test al, al
jne 0x1802a191
lea eax, [esp + 0x114]
push eax
mov eax, esi
call fcn.18022a40
push dword [esp + 0x2c]
mov edi, eax
call fcn.18025df6
mov edi, dword [esp + 0xc]
cmp edi, 0x80040902
jne 0x1802a1ab
lea eax, [esp + 0x7c]
push eax
mov edi, esi
call fcn.18023278
jmp 0x1802a1f4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x28]
push eax
lea ebx, [esp + 0x4c]
call fcn.18031f99
mov eax, dword [esp + 0x14]
and dword [esp + 0xac], 0
pop ecx
mov dword [esp + 0xa4], eax
pop ecx
mov eax, ebx
push eax
lea eax, [esp + 0xa4]
push eax
mov edi, esi
call fcn.180232a9
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
call fcn.18003e1e
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
lea esi, [esp + 0x7c]
call fcn.1802a289
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.18003e1e
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, dword [esp + 0xc]
jmp 0x18029e6e
push esi
lea eax, [esp + 0x80]
call fcn.1802a2aa
pop ecx
lea eax, [esp + 0x7c]
push eax
mov edi, esi
call fcn.18023278
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
lea esi, [esp + 0x7c]
call fcn.1802a289
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.18003e1e
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx]
call dword [eax + 8]
xor esi, esi
jmp 0x18029e6e