Function at 0x10081fa0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push 0x654
mov eax, 0x100dd538
call fcn.100c74ca
mov edi, ecx
mov dword [ebp - 0x244], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x2b8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x238], eax
mov eax, ebx
mov dword [ebp - 0x2ac], edi
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x24c], eax
call fcn.100662f7
push 0x128
mov eax, dword [eax + 0x9c]
mov dword [ebp - 0xac], eax
call fcn.100b5f48
pop ecx
mov dword [ebp - 0x258], eax
mov dword [ebp - 4], ebx
test eax, eax
je 0x100821bd
mov edi, 0x100eadb0
lea ecx, [ebp - 0xf4]
push edi
call fcn.100b5f48
push edi
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 1
mov dword [ebp - 0x24c], 1
call fcn.100b5f48
push 3
pop esi
push edi
lea ecx, [ebp - 0x290]
mov dword [ebp - 4], 2
mov dword [ebp - 0x24c], esi
mov dword [ebp - 0x260], ebx
call fcn.100b5f48
push 7
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x2a8]
pop esi
push edi
mov dword [ebp - 0x24c], esi
call fcn.100b5f48
push edi
lea ecx, [ebp - 0x3b0]
mov dword [ebp - 4], 4
mov dword [ebp - 0x24c], 0xf
call fcn.100b5f48
push edi
lea ecx, [ebp - 0x428]
mov dword [ebp - 4], 5
mov dword [ebp - 0x24c], 0x1f
call fcn.100b5f48
push edi
lea ecx, [ebp - 0x3e0]
mov dword [ebp - 4], 6
mov dword [ebp - 0x24c], 0x3f
call fcn.100b5f48
push edi
lea ecx, [ebp - 0x3c8]
mov dword [ebp - 4], esi
mov dword [ebp - 0x24c], 0x7f
call fcn.100b5f48
push edi
lea ecx, [ebp - 0x390]
mov dword [ebp - 4], 8
mov dword [ebp - 0x24c], 0xff
call fcn.100b5f48
push edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 9
mov dword [ebp - 0x24c], 0x1ff
call fcn.100b5f48
mov eax, 0x3ff
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0xf4]
push eax
push ebx
push ebx
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0xac]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1006d33e
pop ecx
pop ecx
push edx
push eax
mov ecx, dword [ebp - 0x258]
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x3b0]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x3e0]
push eax
lea eax, [ebp - 0x3c8]
push eax
lea eax, [ebp - 0x390]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.100ad1f3
mov edi, dword [ebp - 0x244]
mov esi, eax
jmp 0x100821bf
mov esi, ebx
mov dword [ebp - 0x254], esi
mov dword [ebp - 0x248], esi
mov dword [ebp - 4], 0x15
mov eax, dword [ebp - 0x230]
test eax, 0x200
je 0x100821f8
and eax, 0xfffffdff
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x230], eax
call fcn.100090b6
mov eax, dword [ebp - 0x230]
test eax, 0x100
je 0x1008221b
and eax, 0xfffffeff
lea ecx, [ebp - 0x390]
mov dword [ebp - 0x230], eax
call fcn.100090b6
mov eax, dword [ebp - 0x230]
test al, al
jns 0x1008223b
and eax, 0xffffff7f
lea ecx, [ebp - 0x3c8]
mov dword [ebp - 0x230], eax
call fcn.100090b6
mov eax, dword [ebp - 0x230]
test al, 0x40
je 0x10082259
and eax, 0xffffffbf
lea ecx, [ebp - 0x3e0]
mov dword [ebp - 0x230], eax
call fcn.100090b6
mov eax, dword [ebp - 0x230]
test al, 0x20
je 0x10082277
and eax, 0xffffffdf
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x230], eax
call fcn.100090b6
mov eax, dword [ebp - 0x230]
test al, 0x10
je 0x10082295
and eax, 0xffffffef
lea ecx, [ebp - 0x3b0]
mov dword [ebp - 0x230], eax
call fcn.100090b6
mov eax, dword [ebp - 0x230]
test al, 8
je 0x100822b3
and eax, 0xfffffff7
lea ecx, [ebp - 0x2a8]
mov dword [ebp - 0x230], eax
call fcn.100090b6
mov eax, dword [ebp - 0x230]
test al, 4
je 0x100822d1
and eax, 0xfffffffb
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x230], eax
call fcn.100090b6
mov eax, dword [ebp - 0x230]
test al, 2
je 0x100822ef
and eax, 0xfffffffd
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x230], eax
call fcn.100090b6
mov eax, dword [ebp - 0x230]
mov byte [ebp - 4], 0x1f
test al, 1
je 0x1008230b
and eax, 0xfffffffe
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0x230], eax
call fcn.100090b6
mov eax, dword [edi + 4]
lea ecx, [ebp - 0xa8]
add eax, 0x18
mov dword [ebp - 0x98], ebx
push eax
mov dword [ebp - 0x94], ebx
call fcn.100b5f48
or dword [ebp - 0x230], 0x8000
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x30]
xorps xmm0, xmm0
mov byte [ebp - 4], 0x20
movlpd qword [ebp - 0x30], xmm0
mov dword [eax], 0x1f7
call fcn.100b5f48
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x21
push ecx
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x18], ebx
mov eax, dword [eax]
mov edi, dword [eax]
mov ecx, edi
call dword [0x100e97d8]
mov ecx, dword [ebp - 0x23c]
call edi
mov eax, dword [ebp - 0x50]
mov byte [ebp - 4], 0x22
test eax, eax
je 0x100823dc
cmp eax, 1
jbe 0x100823b9
cmp eax, 3
jbe 0x100823b2
cmp eax, 4
je 0x100823ab
cmp eax, 6
jne 0x100823b9
mov ecx, 0xda
jmp 0x100823be
mov ecx, 0xe3
jmp 0x100823be
mov ecx, 0xce
jmp 0x100823be
mov ecx, 0xdb
mov eax, dword [ebp - 0x250]
mov edi, dword [ebp - 0x240]
mov dword [eax], ecx
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.100b5f48
jmp 0x10082fdb
mov eax, dword [ebp - 0x244]
lea ecx, [ebp - 0xc4]
mov edi, 0x100eadb0
push edi
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x260], eax
call fcn.100b5f48
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0xc4]
push eax
mov byte [ebp - 4], 0x23
call fcn.1002c00a
mov ecx, dword [ebp - 0x244]
push eax
call fcn.100b5f48
test eax, eax
je 0x1008262f
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], bl
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x24
push eax
lea eax, [ebp - 0xc4]
mov byte [ebp - 0x231], bl
push eax
lea eax, [ebp - 0x231]
push eax
call fcn.100aa243
mov ecx, eax
call fcn.100a9e95
mov ecx, dword [ebp - 0x18]
push eax
call fcn.1002c00a
mov ecx, dword [ebp - 0x244]
push eax
call fcn.10079840
mov dword [ebp - 0x258], eax
test eax, eax
je 0x1008261b
push eax
call fcn.100b5f48
pop ecx
mov ecx, dword [ebp - 0x250]
push edi
mov dword [ecx], eax
lea ecx, [ebp - 0x290]
call fcn.100b5f48
push edi
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0x25
call fcn.100b5f48
mov eax, dword [ebp - 0x244]
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x26
push dword [eax + 8]
call fcn.100b5f48
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 0x27
push eax
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.100aa486
add esp, 0xc
lea ecx, [ebp - 0xf4]
mov edi, eax
call fcn.100090b6
lea ecx, [ebp - 0x278]
call fcn.100090b6
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0x24
call fcn.100090b6
test edi, edi
je 0x100825e4
mov edi, 0x100eadb0
lea ecx, [ebp - 0x290]
push edi
call fcn.100b5f48
push edi
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0x28
call fcn.100b5f48
mov eax, dword [ebp - 0x244]
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x29
push dword [eax + 8]
call fcn.100b5f48
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 0x2a
push eax
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.100aa486
mov edi, eax
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x31c]
mov dword [ebp - 0x238], edi
push eax
call fcn.100804ac
add esp, 0x14
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x2b
jb 0x10082592
mov eax, dword [eax]
mov edi, dword [edi]
push str.ValidateAndGetLatestSPForAppsByInstaller
push str._s_:_Failed_to_fetch_access_token
push eax
push dword [ebp - 0x238]
mov ecx, dword [edi + 0x24]
call dword [0x100e97d8]
call dword [edi + 0x24]
add esp, 0x10
lea ecx, [ebp - 0x31c]
call fcn.100090b6
lea ecx, [ebp - 0xf4]
call fcn.100090b6
lea ecx, [ebp - 0x278]
call fcn.100090b6
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0x24
call fcn.100090b6
mov edi, dword [ebp - 0x240]
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.100b5f48
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x10082609
inc eax
push eax
push dword [ebp - 0x48]
call fcn.100b5f48
pop ecx
pop ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], bl
jmp 0x10082fd0
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x1008262f
inc eax
push eax
push dword [ebp - 0x48]
call fcn.100b5f48
pop ecx
pop ecx
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x244]
mov byte [ebp - 4], 0x2c
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x2b0], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x84], ebx
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x258], edi
mov dword [ebp - 0x22c], ecx
cmp edi, ecx
je 0x1008281c
mov esi, dword [ebp - 0x230]
push 1
lea eax, [ebp - 0x84]
mov dword [ebp - 0x1c], ebx
push eax
sub esp, 0x18
mov ecx, esp
push edi
call fcn.100b5f48
mov edi, dword [ebp - 0x2b0]
lea ecx, [ebp - 0x1c]
push ecx
mov eax, dword [edi]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x100e97d8]
mov ecx, dword [ebp - 0x2b0]
call edi
push 0x100eadb0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x2d
call fcn.100b5f48
cmp dword [ebp - 0x84], 0
mov byte [ebp - 4], 0x2e
jne 0x100826ee
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x100826ee
call fcn.10077fc4
mov ecx, eax
call fcn.10021680
push eax
lea ecx, [ebp - 0x48]
call fcn.100b5f48
mov edi, dword [ebp - 0x258]
lea ecx, [ebp - 0x4a0]
push edi
call fcn.1000e321
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x2f
push eax
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x42c], ebx
call fcn.100b5f48
or esi, 0x10000
lea eax, [ebp - 0x4a0]
push eax
lea ecx, [ebp - 0x518]
call fcn.100b5f48
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp - 0x4b8]
call fcn.100b5f48
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x518]
mov byte [ebp - 4], 0x31
mov dword [ebp - 0x258], eax
push ecx
cmp eax, dword [ebp - 0x20]
je 0x10082784
mov ecx, eax
call fcn.1000e321
mov ecx, dword [ebp - 0x258]
lea eax, [ebp - 0x4b8]
push eax
add ecx, 0x60
call fcn.100b5f48
add dword [ebp - 0x24], 0x78
jmp 0x1008278d
push eax
lea ecx, [ebp - 0x28]
call fcn.100780b5
lea ecx, [ebp - 0x4b8]
call fcn.100090b6
lea ecx, [ebp - 0x518]
call fcn.1000fb50
mov eax, dword [ebp - 0x42c]
cmp eax, 0x10
jb 0x100827bd
inc eax
push eax
push dword [ebp - 0x440]
call fcn.100b5f48
pop ecx
pop ecx
lea ecx, [ebp - 0x4a0]
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x42c], 0xf
mov byte [ebp - 0x440], bl
call fcn.1000fb50
lea ecx, [ebp - 0x48]
call fcn.100090b6
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x2c
call fcn.10078607
add edi, 0x60
mov dword [ebp - 0x258], edi
cmp edi, dword [ebp - 0x22c]
jne 0x1008267e
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x230], esi
mov esi, dword [ebp - 0x254]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x22c], eax
xor eax, eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xe0], 7
mov word [ebp - 0xf4], ax
push 0x100eadb0
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x32
call fcn.100b5f48
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0xdc]
push eax
mov byte [ebp - 4], 0x33
call fcn.1002c00a
push eax
call fcn.100a0e97
pop ecx
pop ecx
test al, al
jne 0x10082890
cmp dword [ebp - 0xc8], 0x10
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xcc], ebx
cmovae eax, dword [ebp - 0xdc]
mov byte [eax], bl
push 0x134
lea eax, [ebp - 0x228]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x31c]
mov byte [ebp - 0x231], bl
push eax
call fcn.1006d379
add esp, 0x10
mov edi, eax
mov eax, dword [ebp - 0x244]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x34
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov eax, dword [eax + 4]
add eax, 0x18
push eax
call fcn.100b5f48
or dword [ebp - 0x230], 0x20000
push edi
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 0x35
push eax
mov eax, dword [ebp - 0x22c]
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x100e97d8]
mov ecx, dword [ebp - 0x22c]
call edi
mov ecx, eax
call fcn.1003ca16
movzx eax, al
push eax
mov eax, dword [ebp - 0x22c]
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x100e97d8]
mov ecx, dword [ebp - 0x22c]
call edi
mov ecx, eax
call fcn.1003ca08
movzx eax, al
push eax
mov eax, dword [ebp - 0x22c]
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x100e97d8]
mov ecx, dword [ebp - 0x22c]
call edi
mov ecx, eax
call fcn.1003ca0f
movzx eax, al
push eax
mov eax, dword [ebp - 0x22c]
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x100e97d8]
mov ecx, dword [ebp - 0x22c]
call edi
mov ecx, eax
call fcn.1002c015
push eax
lea eax, [ebp - 0x231]
push eax
call fcn.100aa243
mov ecx, eax
call fcn.100ab10c
push eax
mov eax, dword [ebp - 0x22c]
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x100e97d8]
mov ecx, dword [ebp - 0x22c]
call edi
mov ecx, eax
call fcn.1002c01c
push eax
mov eax, dword [ebp - 0x22c]
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x100e97d8]
mov ecx, dword [ebp - 0x22c]
call edi
mov ecx, eax
call fcn.1003ca01
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x22c]
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x100e97d8]
mov ecx, dword [ebp - 0x22c]
call edi
mov ecx, eax
call fcn.1002c00a
push eax
mov eax, dword [ebp - 0x22c]
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x100e97d8]
mov ecx, dword [ebp - 0x22c]
call edi
mov ecx, eax
call fcn.1002bfe3
push eax
mov eax, dword [ebp - 0x22c]
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x100e97d8]
mov ecx, dword [ebp - 0x22c]
call edi
mov ecx, eax
call fcn.100336ef
push eax
mov eax, dword [ebp - 0x22c]
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x100e97d8]
mov ecx, dword [ebp - 0x22c]
call edi
mov ecx, eax
call fcn.1002bfdf
push eax
mov eax, dword [ebp - 0x22c]
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x100e97d8]
mov ecx, dword [ebp - 0x22c]
call edi
mov ecx, eax
call fcn.10021680
push eax
lea ecx, [ebp - 0x228]
call fcn.1003a3a9
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x10082ab3
inc eax
push eax
push dword [ebp - 0x48]
call fcn.100b5f48
pop ecx
pop ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], bl
lea ecx, [ebp - 0x31c]
mov byte [ebp - 4], 0x38
call fcn.100090b6
xor eax, eax
lea edi, [ebp - 0x90]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x22c]
mov edi, dword [eax]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x228]
push eax
mov ecx, dword [edi + 4]
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x90]
push eax
call dword [0x100e97d8]
mov ecx, dword [ebp - 0x22c]
call dword [edi + 4]
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 0x39
test eax, eax
je 0x1008302a
cmp eax, 4
jne 0x10082ce2
mov eax, dword [ebp - 0x23c]
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
mov eax, dword [eax]
mov edi, dword [eax]
mov ecx, edi
call dword [0x100e97d8]
mov ecx, dword [ebp - 0x23c]
call edi
push eax
lea ecx, [ebp - 0x18]
call fcn.100b5f48
cmp dword [ebp - 0x1c], 0
je 0x10082b61
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
call fcn.100b5f48
cmp dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x50]
je 0x10082cfa
test eax, eax
jne 0x10082cfe
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], bl
mov edi, dword [ebp - 0x260]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 0x3a
push eax
mov edi, dword [edi]
lea eax, [ebp - 0x231]
push eax
mov byte [ebp - 0x231], bl
call fcn.100aa243
mov ecx, eax
call fcn.100a9e95
mov ecx, dword [ebp - 0x18]
push eax
call fcn.1002c00a
mov ecx, dword [edi + 0x10]
push eax
call dword [0x100e97d8]
mov ecx, dword [ebp - 0x260]
call dword [edi + 0x10]
test eax, eax
je 0x10082c6d
push eax
call fcn.100b5f48
mov edi, dword [ebp - 0x240]
pop ecx
mov ecx, dword [ebp - 0x250]
mov dword [ecx], eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.100b5f48
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x10082c0b
inc eax
push eax
push dword [ebp - 0x48]
call fcn.100b5f48
pop ecx
pop ecx
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], bl
call fcn.1003ddc3
lea ecx, [ebp - 0x228]
call fcn.1003a4de
lea ecx, [ebp - 0xdc]
call fcn.100090b6
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x23c], ecx
test ecx, ecx
je 0x10082fd0
mov eax, dword [ebp - 0x24]
cmp ecx, eax
je 0x10082fab
mov edi, ecx
mov esi, eax
push ebx
mov ecx, edi
call fcn.100b5f48
add edi, 0x78
cmp edi, esi
jne 0x10082c59
jmp 0x10082f96
mov eax, dword [ebp - 0x22c]
mov edi, dword [eax]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x228]
push eax
mov ecx, dword [edi + 4]
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x384]
push eax
call dword [0x100e97d8]
mov ecx, dword [ebp - 0x22c]
call dword [edi + 4]
lea ecx, [ebp - 0x90]
cmp ecx, eax
je 0x10082cbc
mov byte [ebp - 0x260], bl
push dword [ebp - 0x260]
push eax
call fcn.100b5f48
lea ecx, [ebp - 0x384]
call fcn.1003ddc3
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 0x39
cmp eax, 0x10
jb 0x10082cdf
inc eax
push eax
push dword [ebp - 0x48]
call fcn.100b5f48
pop ecx
pop ecx
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x1008302a
cmp eax, 0xd
ja case.0x10082cf3.8
jmp dword [eax*4 + 0x1008452c]
test eax, eax
je 0x10082d2e
cmp eax, 1
jbe 0x10082d27
cmp eax, 3
jbe 0x10082d20
cmp eax, 4
je 0x10082d19
cmp eax, 6
jne 0x10082d27
mov ecx, 0xda
jmp 0x10082d30
mov ecx, 0xe3
jmp 0x10082d30
mov ecx, 0xce
jmp 0x10082d30
mov ecx, 0xdb
jmp 0x10082d30
mov ecx, ebx
mov eax, dword [ebp - 0x250]
mov edi, dword [ebp - 0x240]
mov dword [eax], ecx
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.100b5f48
lea ecx, [ebp - 0x90]
call fcn.1003ddc3
lea ecx, [ebp - 0x228]
call fcn.1003a4de
lea ecx, [ebp - 0xdc]
call fcn.100090b6
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x23c], ecx
test ecx, ecx
je 0x10082fd0
mov eax, dword [ebp - 0x24]
cmp ecx, eax
je 0x10082fab
mov edi, ecx
mov esi, eax
push ebx
mov ecx, edi
call fcn.100b5f48
add edi, 0x78
cmp edi, esi
jne 0x10082d8a
jmp 0x10082f96
mov eax, 0xc9
jmp 0x10082ddc
mov eax, 0xcb
jmp 0x10082ddc
push 0x6e
pop eax
jmp 0x10082ddc
push 0x68
jmp 0x10082dae
push 0x67
jmp 0x10082dae
mov eax, 0xca
jmp 0x10082ddc
push 0x66
jmp 0x10082dae
push 0x6a
jmp 0x10082dae
mov eax, ebx
jmp 0x10082ddc
mov eax, 0xf7
jmp 0x10082ddc
push 0x6d
jmp 0x10082dae
mov eax, 0xcc
mov ecx, dword [ebp - 0x250]
mov edi, 0x100eadb0
push edi
mov dword [ecx], eax
lea ecx, [ebp - 0x2a8]
call fcn.100b5f48
push edi
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0x3b
call fcn.100b5f48
mov eax, dword [ebp - 0x244]
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0x3c
push dword [eax + 8]
call fcn.100b5f48
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 0x3d
push eax
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.100aa486
add esp, 0xc
lea ecx, [ebp - 0x278]
mov edi, eax
call fcn.100090b6
lea ecx, [ebp - 0x290]
call fcn.100090b6
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x39
call fcn.100090b6
test edi, edi
je 0x10082f3d
mov edi, 0x100eadb0
lea ecx, [ebp - 0x2a8]
push edi
call fcn.100b5f48
push edi
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0x3e
call fcn.100b5f48
mov eax, dword [ebp - 0x244]
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0x3f
push dword [eax + 8]
call fcn.100b5f48
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 0x40
push eax
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.100aa486
mov edi, eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x31c]
mov dword [ebp - 0x238], edi
push eax
call fcn.1008043e
add esp, 0x14
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x41
jb 0x10082eeb
mov eax, dword [eax]
mov edi, dword [edi]
push str.ValidateAndGetLatestSPForAppsByInstaller
push str._s_:_Error_fetching_latest_ASNP
push eax
push dword [ebp - 0x238]
mov ecx, dword [edi + 0x24]
call dword [0x100e97d8]
call dword [edi + 0x24]
add esp, 0x10
lea ecx, [ebp - 0x31c]
call fcn.100090b6
lea ecx, [ebp - 0x278]
call fcn.100090b6
lea ecx, [ebp - 0x290]
call fcn.100090b6
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x39
call fcn.100090b6
mov edi, dword [ebp - 0x240]
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.100b5f48
lea ecx, [ebp - 0x90]
call fcn.1003ddc3
lea ecx, [ebp - 0x228]
call fcn.1003a4de
lea ecx, [ebp - 0xdc]
call fcn.100090b6
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x23c], ecx
test ecx, ecx
je 0x10082fd0
mov eax, dword [ebp - 0x24]
cmp ecx, eax
je 0x10082fab
mov edi, ecx
mov esi, eax
push ebx
mov ecx, edi
call fcn.100b5f48
add edi, 0x78
cmp edi, esi
jne 0x10082f87
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x254]
mov edi, dword [ebp - 0x240]
mov dword [ebp - 0x23c], ecx
mov eax, dword [ebp - 0x20]
sub eax, ecx
push 0x78
pop ecx
cdq
idiv ecx
imul eax, eax, 0x78
push eax
push dword [ebp - 0x23c]
call fcn.100b5f48
pop ecx
pop ecx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
lea ecx, [ebp - 0xc4]
call fcn.100090b6
cmp dword [ebp - 0x18], 0
je 0x10082fec
push dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
call fcn.100b5f48
lea eax, [ebp - 0x30]
push eax
mov ecx, eax
call fcn.100b5f48
mov eax, dword [ebp - 0x94]
cmp eax, 0x10
jb 0x10083011
inc eax
push eax
push dword [ebp - 0xa8]
call fcn.100b5f48
pop ecx
pop ecx
test esi, esi
je 0x10084521
push esi
lea ecx, [ebp - 0x248]
call fcn.100b5f48
jmp 0x10084521
mov eax, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x90]
mov dword [ebp - 0x2c0], eax
mov dword [ebp - 0x258], edi
cmp edi, eax
je 0x1008444a
push 0xf8
call fcn.100b5f48
pop ecx
mov dword [ebp - 0x260], eax
mov byte [ebp - 4], 0x42
test eax, eax
je 0x1008308e
push 0xf8
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [edi + 0x48]
add esp, 0xc
call fcn.1003de6a
mov ecx, dword [ebp - 0x260]
push eax
call fcn.1003e0ee
mov dword [ebp - 0x22c], eax
jmp 0x10083096
mov eax, ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x1c], eax
push edi
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x43
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
call fcn.100b5f48
lea eax, [edi + 0x18]
mov byte [ebp - 4], 0x44
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
call fcn.100b5f48
lea eax, [edi + 0x30]
mov byte [ebp - 4], 0x45
push eax
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
call fcn.100b5f48
mov byte [ebp - 4], 0x46
call fcn.100aa243
mov ecx, eax
call fcn.1000a4af
sub esp, 0x18
mov ecx, eax
mov edi, esp
mov dword [ebp - 0x25c], esp
call fcn.1002c015
push eax
mov ecx, edi
call fcn.100b5f48
mov ecx, dword [ebp - 0x22c]
sub esp, 0x18
mov byte [ebp - 4], 0x47
mov edi, esp
call fcn.1003e9b1
mov ecx, eax
call fcn.1002c00a
push eax
mov ecx, edi
call fcn.100b5f48
mov byte [ebp - 4], 0x46
call fcn.100b0332
add esp, 0x30
test al, al
jne 0x100833c1
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x2a8]
mov edi, 0x100eadb0
push edi
mov dword [eax], 0xd8
call fcn.100b5f48
push edi
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0x48
call fcn.100b5f48
mov eax, dword [ebp - 0x244]
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0x49
push dword [eax + 8]
call fcn.100b5f48
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 0x4a
push eax
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.100aa486
add esp, 0xc
lea ecx, [ebp - 0x278]
mov edi, eax
call fcn.100090b6
lea ecx, [ebp - 0x290]
call fcn.100090b6
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x46
call fcn.100090b6
test edi, edi
je 0x100832a0
mov edi, 0x100eadb0
lea ecx, [ebp - 0x2a8]
push edi
call fcn.100b5f48
push edi
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0x4b
call fcn.100b5f48
mov eax, dword [ebp - 0x244]
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0x4c
push dword [eax + 8]
call fcn.100b5f48
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 0x4d
push eax
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.100aa486
push dword [ebp - 0x250]
mov edi, eax
lea eax, [ebp - 0x31c]
push eax
mov dword [ebp - 0x238], edi
call fcn.1008051a
add esp, 0x14
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x4e
jb 0x1008324e
mov eax, dword [eax]
mov edi, dword [edi]
push str.ValidateAndGetLatestSPForAppsByInstaller
push str._s_:_Runtime_mode_mismatch
push eax
push dword [ebp - 0x238]
mov ecx, dword [edi + 0x24]
call dword [0x100e97d8]
call dword [edi + 0x24]
add esp, 0x10
lea ecx, [ebp - 0x31c]
call fcn.100090b6
lea ecx, [ebp - 0x278]
call fcn.100090b6
lea ecx, [ebp - 0x290]
call fcn.100090b6
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x46
call fcn.100090b6
mov ecx, dword [ebp - 0x240]
lea eax, [ebp - 0x30]
push eax
call fcn.100b5f48
mov eax, dword [ebp - 0x6c]
push 0x10
pop edi
cmp eax, edi
jb 0x100832c5
inc eax
push eax
push dword [ebp - 0x80]
call fcn.100b5f48
pop ecx
pop ecx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], bl
cmp eax, edi
jb 0x100832e5
inc eax
push eax
push dword [ebp - 0x48]
call fcn.100b5f48
pop ecx
pop ecx
mov eax, dword [ebp - 0x54]
cmp eax, edi
jb 0x100832f8
inc eax
push eax
push dword [ebp - 0x68]
call fcn.100b5f48
pop ecx
pop ecx
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], bl
test eax, eax
je 0x10083318
push eax
lea ecx, [ebp - 0x1c]
call fcn.100b5f48
lea ecx, [ebp - 0x90]
call fcn.1003ddc3
lea ecx, [ebp - 0x228]
call fcn.1003a4de
lea ecx, [ebp - 0xdc]
call fcn.100090b6
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x1008338d
mov eax, dword [ebp - 0x24]
cmp ecx, eax
je 0x1008336b
mov esi, eax
push ebx
call fcn.100b5f48
mov ecx, dword [ebp - 0x1c]
add ecx, 0x78
mov dword [ebp - 0x1c], ecx
cmp ecx, esi
jne 0x1008334c
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x254]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x20]
sub eax, ecx
push 0x78
pop ecx
cdq
idiv ecx
imul eax, eax, 0x78
push eax
push dword [ebp - 0x1c]
call fcn.100b5f48
pop ecx
pop ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
lea ecx, [ebp - 0xc4]
call fcn.100090b6
cmp dword [ebp - 0x18], 0
je 0x100833a9
push dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
call fcn.100b5f48
lea eax, [ebp - 0x30]
push eax
mov ecx, eax
call fcn.100b5f48
mov eax, dword [ebp - 0x94]
cmp eax, edi
jmp 0x100844fa
call fcn.100aa243
mov ecx, eax
call fcn.100a9819
sub esp, 0x18
mov dword [ebp - 0x25c], esp
test al, al
je 0x1008366b
lea eax, [ebp - 0x231]
mov byte [ebp - 0x231], bl
mov edi, esp
push eax
call fcn.100aa243
mov ecx, eax
call fcn.100ab10c
push eax
mov ecx, edi
call fcn.100b5f48
mov ecx, dword [ebp - 0x22c]
sub esp, 0x18
mov byte [ebp - 4], 0x4f
mov edi, esp
call fcn.1003e9b1
mov ecx, eax
call fcn.1002c00e
push eax
mov ecx, edi
call fcn.100b5f48
mov byte [ebp - 4], 0x46
call fcn.100b0332
add esp, 0x30
test al, al
jne 0x100838e9
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x2a8]
mov edi, 0x100eadb0
push edi
mov dword [eax], 0xd4
call fcn.100b5f48
push edi
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0x50
call fcn.100b5f48
mov eax, dword [ebp - 0x244]
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0x51
push dword [eax + 8]
call fcn.100b5f48
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 0x52
push eax
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.100aa486
add esp, 0xc
lea ecx, [ebp - 0x278]
mov edi, eax
call fcn.100090b6
lea ecx, [ebp - 0x290]
call fcn.100090b6
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x46
call fcn.100090b6
test edi, edi
je 0x1008359f
mov edi, 0x100eadb0
lea ecx, [ebp - 0x2a8]
push edi
call fcn.100b5f48
push edi
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0x53
call fcn.100b5f48
mov eax, dword [ebp - 0x244]
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0x54
push dword [eax + 8]
call fcn.100b5f48
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 0x55
push eax
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.100aa486
push dword [ebp - 0x250]
mov edi, eax
lea eax, [ebp - 0x31c]
push eax
mov dword [ebp - 0x238], edi
call fcn.1008051a
add esp, 0x14
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x56
jb 0x1008354d
mov eax, dword [eax]
mov edi, dword [edi]
push str.ValidateAndGetLatestSPForAppsByInstaller
push str._s_:_Principal_mismatch
push eax
push dword [ebp - 0x238]
mov ecx, dword [edi + 0x24]
call dword [0x100e97d8]
call dword [edi + 0x24]
add esp, 0x10
lea ecx, [ebp - 0x31c]
call fcn.100090b6
lea ecx, [ebp - 0x278]
call fcn.100090b6
lea ecx, [ebp - 0x290]
call fcn.100090b6
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x46
call fcn.100090b6
mov ecx, dword [ebp - 0x240]
lea eax, [ebp - 0x30]
push eax
call fcn.100b5f48
mov eax, dword [ebp - 0x6c]
push 0x10
pop edi
cmp eax, edi
jb 0x100835c4
inc eax
push eax
push dword [ebp - 0x80]
call fcn.100b5f48
pop ecx
pop ecx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], bl
cmp eax, edi
jb 0x100835e4
inc eax
push eax
push dword [ebp - 0x48]
call fcn.100b5f48
pop ecx
pop ecx
mov eax, dword [ebp - 0x54]
cmp eax, edi
jb 0x100835f7
inc eax
push eax
push dword [ebp - 0x68]
call fcn.100b5f48
pop ecx
pop ecx
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], bl
test eax, eax
je 0x10083617
push eax
lea ecx, [ebp - 0x1c]
call fcn.100b5f48
lea ecx, [ebp - 0x90]
call fcn.1003ddc3
lea ecx, [ebp - 0x228]
call fcn.1003a4de
lea ecx, [ebp - 0xdc]
call fcn.100090b6
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x1008338d
mov eax, dword [ebp - 0x24]
cmp ecx, eax
je 0x1008336b
mov esi, eax
push ebx
call fcn.100b5f48
mov ecx, dword [ebp - 0x1c]
add ecx, 0x78
mov dword [ebp - 0x1c], ecx
cmp ecx, esi
jne 0x10083653
jmp 0x1008335f
mov ecx, esp
lea eax, [ebp - 0xa8]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.100b5f48
mov ecx, dword [ebp - 0x22c]
sub esp, 0x18
mov byte [ebp - 4], 0x57
mov edi, esp
call fcn.1003e9b1
mov ecx, eax
call fcn.1002bfdf
push eax
mov ecx, edi
call fcn.100b5f48
mov byte [ebp - 4], 0x46
call fcn.100b0332
add esp, 0x30
test al, al
jne 0x100838e9
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x2a8]
mov edi, 0x100eadb0
push edi
mov dword [eax], 0xd3
call fcn.100b5f48
push edi
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0x58
call fcn.100b5f48
mov eax, dword [ebp - 0x244]
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0x59
push dword [eax + 8]
call fcn.100b5f48
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 0x5a
push eax
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.100aa486
add esp, 0xc
lea ecx, [ebp - 0x278]
mov edi, eax
call fcn.100090b6
lea ecx, [ebp - 0x290]
call fcn.100090b6
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x46
call fcn.100090b6
test edi, edi
je 0x1008381d
mov edi, 0x100eadb0
lea ecx, [ebp - 0x2a8]
push edi
call fcn.100b5f48
push edi
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0x5b
call fcn.100b5f48
mov eax, dword [ebp - 0x244]
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0x5c
push dword [eax + 8]
call fcn.100b5f48
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 0x5d
push eax
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.100aa486
push dword [ebp - 0x250]
mov edi, eax
lea eax, [ebp - 0x31c]
push eax
mov dword [ebp - 0x238], edi
call fcn.1008051a
add esp, 0x14
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x5e
jb 0x100837cb
mov eax, dword [eax]
mov edi, dword [edi]
push str.ValidateAndGetLatestSPForAppsByInstaller
push str._s_:_DeviceId_mismatch
push eax
push dword [ebp - 0x238]
mov ecx, dword [edi + 0x24]
call dword [0x100e97d8]
call dword [edi + 0x24]
add esp, 0x10
lea ecx, [ebp - 0x31c]
call fcn.100090b6
lea ecx, [ebp - 0x278]
call fcn.100090b6
lea ecx, [ebp - 0x290]
call fcn.100090b6
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x46
call fcn.100090b6
mov ecx, dword [ebp - 0x240]
lea eax, [ebp - 0x30]
push eax
call fcn.100b5f48
mov eax, dword [ebp - 0x6c]
push 0x10
pop edi
cmp eax, edi
jb 0x10083842
inc eax
push eax
push dword [ebp - 0x80]
call fcn.100b5f48
pop ecx
pop ecx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], bl
cmp eax, edi
jb 0x10083862
inc eax
push eax
push dword [ebp - 0x48]
call fcn.100b5f48
pop ecx
pop ecx
mov eax, dword [ebp - 0x54]
cmp eax, edi
jb 0x10083875
inc eax
push eax
push dword [ebp - 0x68]
call fcn.100b5f48
pop ecx
pop ecx
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], bl
test eax, eax
je 0x10083895
push eax
lea ecx, [ebp - 0x1c]
call fcn.100b5f48
lea ecx, [ebp - 0x90]
call fcn.1003ddc3
lea ecx, [ebp - 0x228]
call fcn.1003a4de
lea ecx, [ebp - 0xdc]
call fcn.100090b6
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x1008338d
mov eax, dword [ebp - 0x24]
cmp ecx, eax
je 0x1008336b
mov esi, eax
push ebx
call fcn.100b5f48
mov ecx, dword [ebp - 0x1c]
add ecx, 0x78
mov dword [ebp - 0x1c], ecx
cmp ecx, esi
jne 0x100838d1
jmp 0x1008335f
mov ecx, dword [ebp - 0x22c]
call fcn.1003e9b1
mov ecx, eax
call fcn.1002bfd2
push edx
push eax
call fcn.1006d33e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x22c]
mov edi, eax
mov ebx, edx
call fcn.1003e9b1
mov ecx, eax
call fcn.1002bfa2
mov ecx, dword [ebp - 0x22c]
sub eax, edi
mov edi, edx
mov dword [ebp - 0x23c], eax
sbb edi, ebx
call fcn.1003e9b1
mov ecx, eax
call fcn.1002bfd2
add eax, dword [ebp - 0x23c]
mov ecx, edx
push 0x128
adc ecx, edi
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x2fc], ecx
mov byte [ebp - 4], 0x5f
call fcn.100b5f48
pop ecx
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x368], eax
mov byte [ebp - 4], 0x60
test eax, eax
je 0x10083c04
push 0x100eadb0
lea ecx, [ebp - 0x278]
call fcn.100b5f48
mov edi, dword [ebp - 0x230]
xor ebx, ebx
mov ecx, dword [ebp - 0x22c]
or edi, 0x800
mov byte [ebp - 4], 0x61
mov dword [ebp - 0x24c], edi
mov dword [ebp - 0x2e0], ebx
call fcn.1003e9b1
lea ecx, [ebp - 0x398]
push ecx
mov ecx, eax
call fcn.100b5f48
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x22c]
or edi, 0x1000
mov dword [ebp - 4], 0x62
mov dword [ebp - 0x24c], edi
call fcn.1003e9b1
lea ecx, [ebp - 0x378]
push ecx
mov ecx, eax
call fcn.100b5f48
mov dword [ebp - 0x254], eax
mov ecx, dword [ebp - 0x22c]
or edi, 0x2000
mov dword [ebp - 4], 0x63
mov dword [ebp - 0x24c], edi
call fcn.1003e9b1
lea ecx, [ebp - 0x370]
push ecx
mov ecx, eax
call fcn.100b5f48
mov dword [ebp - 0x2bc], eax
mov ecx, dword [ebp - 0x22c]
or edi, 0x4000
mov dword [ebp - 4], 0x64
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x24c], edi
call fcn.1003e9b1
mov ecx, eax
call fcn.1002bfd2
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x2c8], eax
mov dword [ebp - 0x2c4], edx
call fcn.1003e9b1
mov ecx, eax
call fcn.1002bfdf
mov ecx, dword [ebp - 0x23c]
mov dword [ebp - 0x2e4], eax
mov ecx, dword [ecx]
call fcn.1002aad5
mov ecx, dword [ebp - 0x254]
mov dword [ebp - 0x304], eax
mov dword [ebp - 0x23c], edx
mov ecx, dword [ecx]
call fcn.1002aadc
mov ecx, dword [ebp - 0x2bc]
mov dword [ebp - 0x300], eax
mov dword [ebp - 0x254], edx
mov ecx, dword [ecx]
call fcn.1002aadc
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x2f4], eax
mov dword [ebp - 0x2bc], edx
call fcn.1003e9b1
mov ecx, eax
call fcn.1002bfd2
push edx
push eax
call fcn.1006d33e
pop ecx
pop ecx
mov dword [ebp - 0x2ec], eax
mov dword [ebp - 0x2f0], edx
mov ecx, dword [ebp - 0x22c]
call fcn.10021680
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x2e8], eax
call fcn.1003e9b8
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x2dc], eax
call fcn.1003e9e4
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x2d4], eax
call fcn.1003e9ca
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x2d8], eax
call fcn.10009a6f
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x2cc], eax
call fcn.10009a7a
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x2d0], eax
call fcn.10009a76
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x2b4], eax
call fcn.10009697
lea ecx, [ebp - 0x278]
push ecx
push dword [ebp - 0x2c4]
lea ecx, [ebp - 0x2e0]
push dword [ebp - 0x2c8]
push dword [ebp - 0x2e4]
push ecx
lea ecx, [ebp - 0xac]
push ecx
push dword [ebp - 0x23c]
mov ecx, dword [ebp - 0x25c]
push dword [ebp - 0x304]
push dword [ebp - 0x254]
push dword [ebp - 0x300]
push dword [ebp - 0x2fc]
push dword [ebp - 0x2f8]
push dword [ebp - 0x2bc]
push dword [ebp - 0x2f4]
push dword [ebp - 0x2f0]
push dword [ebp - 0x2ec]
push dword [ebp - 0x2e8]
push dword [ebp - 0x2dc]
push dword [ebp - 0x2d4]
push dword [ebp - 0x2d8]
push dword [ebp - 0x2cc]
push dword [ebp - 0x2d0]
push dword [ebp - 0x2b4]
push eax
call fcn.100ad1f3
jmp 0x10083c0e
mov edi, dword [ebp - 0x230]
xor ebx, ebx
mov eax, ebx
mov dword [ebp - 0x23c], eax
mov ecx, esi
mov esi, eax
mov dword [ebp - 0x254], esi
mov dword [ebp - 0x248], esi
test ecx, ecx
je 0x10083c34
push ecx
lea ecx, [ebp - 0x248]
call fcn.100b5f48
test edi, 0x4000
je 0x10083c57
mov ecx, dword [ebp - 0x36c]
and edi, 0xffffbfff
mov dword [ebp - 0x230], edi
test ecx, ecx
je 0x10083c57
call fcn.10020a90
test edi, 0x2000
je 0x10083c7a
mov ecx, dword [ebp - 0x374]
and edi, 0xffffdfff
mov dword [ebp - 0x230], edi
test ecx, ecx
je 0x10083c7a
call fcn.10020a90
test edi, 0x1000
je 0x10083c9d
mov ecx, dword [ebp - 0x394]
and edi, 0xffffefff
mov dword [ebp - 0x230], edi
test ecx, ecx
je 0x10083c9d
call fcn.10020a90
mov dword [ebp - 4], 0x5f
test edi, 0x800
je 0x10083cc3
and edi, 0xfffff7ff
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x230], edi
call fcn.100090b6
mov ecx, dword [ebp - 0x22c]
call fcn.1003e9b1
mov ecx, eax
call fcn.1002bfa2
cmp edx, ebx
jl 0x10083fe1
jg 0x10083ce7
cmp eax, ebx
jbe 0x10083fe1
mov ecx, dword [ebp - 0x258]
mov ecx, dword [ecx + 0x48]
call fcn.10021680
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x25c], eax
call fcn.1003e9b1
mov ecx, eax
call fcn.1002bfd2
mov edi, dword [ebp - 0x2b0]
lea ecx, [ebp - 0x80]
push ebx
push ecx
lea ecx, [ebp - 0x68]
mov edi, dword [edi]
push ecx
push dword [ebp - 0x25c]
mov ecx, dword [edi + 0x10]
push edx
push eax
call dword [0x100e97d8]
mov ecx, dword [ebp - 0x2b0]
call dword [edi + 0x10]
mov dword [ebp - 0x84], eax
test eax, eax
je 0x10083fdb
push eax
call fcn.100b5f48
pop ecx
mov ecx, dword [ebp - 0x250]
mov esi, 0x100eadb0
push esi
mov dword [ecx], eax
lea ecx, [ebp - 0x2a8]
call fcn.100b5f48
push esi
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0x69
call fcn.100b5f48
mov edi, dword [ebp - 0x244]
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0x6a
push dword [edi + 8]
call fcn.100b5f48
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 0x6b
push eax
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.100aa486
add esp, 0xc
mov dword [ebp - 0x25c], eax
lea ecx, [ebp - 0x278]
call fcn.100090b6
lea ecx, [ebp - 0x290]
call fcn.100090b6
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x5f
call fcn.100090b6
cmp dword [ebp - 0x25c], 0
je 0x10083ea6
push esi
lea ecx, [ebp - 0x2a8]
call fcn.100b5f48
push esi
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0x6c
call fcn.100b5f48
push dword [edi + 8]
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0x6d
call fcn.100b5f48
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 0x6e
push eax
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.100aa486
add esp, 0xc
mov edi, eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x31c]
push eax
call fcn.100805f6
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x6f
jb 0x10083e59
mov eax, dword [eax]
mov esi, dword [edi]
push str.ValidateAndGetLatestSPForAppsByInstaller
push str._s_:_Saving_ASNP_failed
push eax
mov ecx, dword [esi + 0x24]
push edi
call dword [0x100e97d8]
call dword [esi + 0x24]
add esp, 0x10
lea ecx, [ebp - 0x31c]
call fcn.100090b6
lea ecx, [ebp - 0x278]
call fcn.100090b6
lea ecx, [ebp - 0x290]
call fcn.100090b6
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x5f
call fcn.100090b6
mov edi, dword [ebp - 0x240]
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.100b5f48
mov eax, dword [ebp - 0x6c]
cmp eax, 0x10
jb 0x10083ecb
inc eax
push eax
push dword [ebp - 0x80]
call fcn.100b5f48
pop ecx
pop ecx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
push 0xf
pop esi
mov dword [ebp - 0x6c], esi
cmp eax, 0x10
jb 0x10083eeb
inc eax
push eax
push dword [ebp - 0x48]
call fcn.100b5f48
pop ecx
pop ecx
mov eax, dword [ebp - 0x54]
cmp eax, 0x10
jb 0x10083eff
inc eax
push eax
push dword [ebp - 0x68]
call fcn.100b5f48
pop ecx
pop ecx
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], esi
mov byte [ebp - 0x68], bl
test eax, eax
je 0x10083f1b
push eax
lea ecx, [ebp - 0x1c]
call fcn.100b5f48
lea ecx, [ebp - 0x90]
call fcn.1003ddc3
lea ecx, [ebp - 0x228]
call fcn.1003a4de
lea ecx, [ebp - 0xdc]
call fcn.100090b6
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x10083f86
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x25c], eax
cmp esi, eax
je 0x10083f66
push ebx
mov ecx, esi
call fcn.100b5f48
add esi, 0x78
cmp esi, dword [ebp - 0x25c]
jne 0x10083f50
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
sub eax, esi
push 0x78
pop ecx
cdq
idiv ecx
imul eax, eax, 0x78
push eax
push esi
call fcn.100b5f48
pop ecx
pop ecx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
lea ecx, [ebp - 0xc4]
call fcn.100090b6
cmp dword [ebp - 0x18], 0
je 0x10083fa2
push dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
call fcn.100b5f48
lea eax, [ebp - 0x30]
push eax
mov ecx, eax
call fcn.100b5f48
mov eax, dword [ebp - 0x94]
cmp eax, 0x10
jb 0x10083fc7
inc eax
push eax
push dword [ebp - 0xa8]
call fcn.100b5f48
pop ecx
pop ecx
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x10084521
push eax
jmp 0x1008301a
mov edi, dword [ebp - 0x230]
push 0x100eadb0
lea ecx, [ebp - 0x278]
call fcn.100b5f48
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0x70
push eax
lea ecx, [ebp - 0x364]
mov dword [ebp - 0x354], ebx
mov dword [ebp - 0x350], ebx
call fcn.100b5f48
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x71
push eax
lea ecx, [ebp - 0x34c]
mov dword [ebp - 0x33c], ebx
mov dword [ebp - 0x338], ebx
call fcn.100b5f48
or edi, 0x40000
mov dword [ebp - 0x230], edi
lea eax, [ebp - 0x364]
push eax
lea ecx, [ebp - 0x334]
call fcn.100b5f48
lea eax, [ebp - 0x34c]
push eax
lea ecx, [ebp - 0x31c]
call fcn.100b5f48
push ecx
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x73
push ebx
call fcn.100b5f48
mov eax, dword [ebp - 0x23c]
lea ecx, [ebp - 0x660]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.100a11bb
mov edi, eax
lea eax, [ebp - 0x334]
mov byte [ebp - 4], 0x74
push eax
lea eax, [ebp - 0x380]
push eax
lea ecx, [ebp - 0x30]
call fcn.100b5f48
push edi
mov ecx, dword [eax]
add ecx, 0x40
call fcn.100b5f48
lea ecx, [ebp - 0x648]
call fcn.1001005b
lea ecx, [ebp - 0x660]
call fcn.100090b6
lea ecx, [ebp - 0x31c]
call fcn.100090b6
lea ecx, [ebp - 0x334]
call fcn.100090b6
mov eax, dword [ebp - 0x338]
cmp eax, 0x10
jb 0x100840f3
inc eax
push eax
push dword [ebp - 0x34c]
call fcn.100b5f48
pop ecx
pop ecx
mov eax, dword [ebp - 0x350]
cmp eax, 0x10
jb 0x1008410d
inc eax
push eax
push dword [ebp - 0x364]
call fcn.100b5f48
pop ecx
pop ecx
lea ecx, [ebp - 0x278]
call fcn.100090b6
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 4], 0x46
cmp eax, 0x10
jb 0x10084133
inc eax
push eax
push dword [ebp - 0x80]
call fcn.100b5f48
pop ecx
pop ecx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
push 0xf
pop edi
mov dword [ebp - 0x6c], edi
cmp eax, 0x10
jb 0x10084153
inc eax
push eax
push dword [ebp - 0x48]
call fcn.100b5f48
pop ecx
pop ecx
mov eax, dword [ebp - 0x54]
cmp eax, 0x10
jb 0x10084167
inc eax
push eax
push dword [ebp - 0x68]
call fcn.100b5f48
pop ecx
pop ecx
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], edi
mov byte [ebp - 0x68], bl
mov byte [ebp - 4], 0x39
test eax, eax
je 0x10084187
push eax
lea ecx, [ebp - 0x1c]
call fcn.100b5f48
mov edi, dword [ebp - 0x258]
mov eax, dword [ebp - 0x2c0]
add edi, 0x4c
jmp 0x1008303c
mov eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 0x240]
mov dword [eax], ebx
lea eax, [ebp - 0x30]
push eax
call fcn.100b5f48
lea ecx, [ebp - 0x90]
call fcn.1003ddc3
lea ecx, [ebp - 0x228]
call fcn.1003a4de
lea ecx, [ebp - 0xdc]
call fcn.100090b6
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x100844ca
mov eax, dword [ebp - 0x24]
cmp edi, eax
je 0x100844aa
mov esi, eax
push ebx
mov ecx, edi
call fcn.100b5f48
add edi, 0x78
cmp edi, esi
jne 0x10084492
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x254]
mov eax, dword [ebp - 0x20]
sub eax, edi
push 0x78
pop ecx
cdq
idiv ecx
imul eax, eax, 0x78
push eax
push edi
call fcn.100b5f48
pop ecx
pop ecx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
lea ecx, [ebp - 0xc4]
call fcn.100090b6
cmp dword [ebp - 0x18], 0
je 0x100844e6
push dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
call fcn.100b5f48
lea eax, [ebp - 0x30]
push eax
mov ecx, eax
call fcn.100b5f48
mov eax, dword [ebp - 0x94]
cmp eax, 0x10
jb 0x1008450b
inc eax
push eax
push dword [ebp - 0xa8]
call fcn.100b5f48
pop ecx
pop ecx
test esi, esi
je 0x1008451b
push esi
lea ecx, [ebp - 0x248]
call fcn.100b5f48
mov edi, dword [ebp - 0x240]
mov eax, edi
call fcn.100c7417
ret 0xc