Function at 0x10048170
Capabilities:
Parse pe header

Disassembly:
push 0x254
mov eax, 0x100dbe18
call fcn.100d393a
mov ebx, ecx
mov dword [ebp - 0x190], ebx
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x28]
mov edx, dword [ebp + 0x10]
xor ecx, ecx
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 0x1b0], ebx
mov dword [eax], ecx
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x9c], 0xf
mov byte [ebp - 0xb0], cl
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 1
push eax
push edx
call fcn.1005e319
pop ecx
pop ecx
lea eax, [ebp - 0x19c]
push eax
call fcn.10042e1e
mov ecx, eax
call fcn.100b6b94
mov edi, dword [eax]
lea ecx, [ebp - 0x260]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 0x6c]
mov ecx, esi
call dword [0x101097a0]
mov ecx, edi
call esi
push eax
mov eax, dword [ebx + 4]
add eax, 0x120
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.1002167e
add esp, 0xc
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 6
call fcn.10042e1e
cmp dword [ebp - 0x19c], 0
je 0x1004826b
push dword [ebp - 0x19c]
lea ecx, [ebp - 0x19c]
call fcn.10042e1e
mov byte [ebp - 4], 8
call fcn.10042e1e
mov ecx, eax
call fcn.10037d5a
mov ecx, eax
call fcn.100b5d6e
push 0x3c
mov esi, eax
lea eax, [ebp - 0x18c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x18c]
push esi
call fcn.1003fd4d
mov byte [ebp - 4], 9
call fcn.10072bcd
mov ebx, 0x10114fdc
lea ecx, [ebp - 0x98]
push ebx
mov eax, dword [eax + 0x9c]
mov dword [ebp - 0x1a4], eax
call fcn.10042e1e
mov eax, dword [ebp - 0x190]
mov byte [ebp - 4], 0xa
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x158]
lea eax, [ebp - 0x98]
push eax
push dword [ebp - 0x194]
lea eax, [ebp - 0xb0]
mov esi, dword [edi]
push eax
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [esi + 4]
call dword [0x101097a0]
mov ecx, edi
call dword [esi + 4]
cmp eax, 0xe
jne 0x10048460
mov edx, dword [ebp - 0x198]
lea ecx, [ebp - 0x40]
push ebx
mov dword [edx], 0xd
call fcn.10042e1e
push ebx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xb
call fcn.10042e1e
mov esi, dword [ebp - 0x190]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xc
push dword [esi + 8]
call fcn.10042e1e
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.100b7903
add esp, 0xc
mov edi, eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xe
call fcn.10042e1e
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xf
call fcn.10042e1e
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x10
call fcn.10042e1e
mov byte [ebp - 4], 0xa
test edi, edi
je 0x1004840b
push ebx
lea ecx, [ebp - 0x40]
call fcn.10042e1e
push ebx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x11
call fcn.10042e1e
push dword [esi + 8]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x12
call fcn.10042e1e
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.100b7903
add esp, 0xc
mov esi, dword [eax]
push str.GetLatestSPForAppsByInstaller
push str._s_:_Recieved_a_204
push ebx
mov ecx, dword [esi + 0x14]
push eax
call dword [0x101097a0]
call dword [esi + 0x14]
add esp, 0x10
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x14
call fcn.10042e1e
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x15
call fcn.10042e1e
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x16
call fcn.10042e1e
mov esi, dword [ebp - 0x1a0]
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.10042e1e
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x17
call fcn.10042e1e
lea ecx, [ebp - 0x18c]
call fcn.10042e1e
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x18
call fcn.10042e1e
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x19
call fcn.10042e1e
mov dword [ebp - 4], 0x1a
jmp 0x10048dfa
test eax, eax
je 0x1004860b
push 4
pop ecx
cmp eax, ecx
ja 0x10048495
je 0x10048491
sub eax, 0
je 0x1004848d
sub eax, 1
je 0x100484bf
sub eax, 1
je 0x10048489
sub eax, 1
jne 0x100484ac
push 0xc
jmp 0x100484be
push 3
jmp 0x100484be
xor ecx, ecx
jmp 0x100484bf
push 5
jmp 0x100484be
sub eax, 8
je 0x100484bc
sub eax, 1
je 0x100484b8
dec eax
sub eax, 1
je 0x100484b4
push 3
pop ecx
sub eax, ecx
je 0x100484b0
push 2
jmp 0x100484be
push 0xd
jmp 0x100484be
push 8
jmp 0x100484be
push 7
jmp 0x100484be
push 6
pop ecx
mov edx, dword [ebp - 0x198]
push ebx
mov dword [edx], ecx
lea ecx, [ebp - 0x40]
call fcn.10042e1e
push ebx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x1b
call fcn.10042e1e
mov esi, dword [ebp - 0x190]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x1c
push dword [esi + 8]
call fcn.10042e1e
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x1d
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.100b7903
add esp, 0xc
mov edi, eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x1e
call fcn.10042e1e
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x1f
call fcn.10042e1e
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x20
call fcn.10042e1e
mov byte [ebp - 4], 0xa
test edi, edi
je 0x100485b6
push ebx
lea ecx, [ebp - 0x40]
call fcn.10042e1e
push ebx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x21
call fcn.10042e1e
push dword [esi + 8]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x22
call fcn.10042e1e
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x23
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.100b7903
add esp, 0xc
mov esi, dword [eax]
push str.GetLatestSPForAppsByInstaller
push str._s_:_Failed_in_fetching_ASNP_and_workflow
push ebx
mov ecx, dword [esi + 0x24]
push eax
call dword [0x101097a0]
call dword [esi + 0x24]
add esp, 0x10
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x24
call fcn.10042e1e
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x25
call fcn.10042e1e
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x26
call fcn.10042e1e
mov esi, dword [ebp - 0x1a0]
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.10042e1e
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x27
call fcn.10042e1e
lea ecx, [ebp - 0x18c]
call fcn.10042e1e
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x28
call fcn.10042e1e
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x29
call fcn.10042e1e
mov dword [ebp - 4], 0x2a
jmp 0x10048dfa
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0xe0]
rep stosd dword es:[edi], eax
push eax
lea ecx, [ebp - 0xe0]
call fcn.1005f6e2
push 8
pop ecx
xor eax, eax
mov byte [ebp - 4], 0x2b
lea edi, [ebp - 0x150]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x150]
call fcn.1005f1c6
and dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0xf
mov byte [ebp - 0xf8], 0
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0x2d
call fcn.10062ea0
mov esi, eax
mov dword [ebp - 0x1a8], esi
cmp dword [ebp - 0x84], 0x10
lea eax, [ebp - 0xf8]
mov edi, dword [esi]
lea ecx, [ebp - 0x98]
cmovae ecx, dword [ebp - 0x98]
push eax
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 0x2e
mov edi, dword [edi + 4]
push eax
mov eax, dword [ebp - 0x88]
add eax, ecx
push eax
push ecx
mov ecx, edi
call dword [0x101097a0]
mov ecx, esi
call edi
test al, al
jne 0x100487c4
mov eax, dword [ebp - 0x198]
lea ecx, [ebp - 0x40]
push ebx
mov dword [eax], 8
call fcn.10042e1e
push ebx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x2f
call fcn.10042e1e
mov edi, dword [ebp - 0x190]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x30
push dword [edi + 8]
call fcn.10042e1e
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x31
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.100b7903
add esp, 0xc
mov dword [ebp - 0x194], eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x32
call fcn.10042e1e
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x33
call fcn.10042e1e
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x34
call fcn.10042e1e
cmp dword [ebp - 0x194], 0
mov byte [ebp - 4], 0x2e
je 0x100487c4
push ebx
lea ecx, [ebp - 0x40]
call fcn.10042e1e
push ebx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x35
call fcn.10042e1e
push dword [edi + 8]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x36
call fcn.10042e1e
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x37
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.100b7903
add esp, 0xc
mov edi, dword [eax]
push str.GetLatestSPForAppsByInstaller
push str._s_:_Failed_in_parsing_server_response
push ebx
mov ecx, dword [edi + 0x24]
push eax
call dword [0x101097a0]
call dword [edi + 0x24]
add esp, 0x10
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x38
call fcn.10042e1e
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x39
call fcn.10042e1e
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x3a
call fcn.10042e1e
mov byte [ebp - 4], 0x2e
mov eax, dword [ebp - 0x190]
lea ecx, [ebp - 0xe0]
and dword [ebp - 0x78], 0
and dword [ebp - 0x74], 0
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x154]
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x78]
push eax
call fcn.10042e1e
and dword [ebp - 0x80], 0
lea eax, [ebp - 0x80]
and dword [ebp - 0x7c], 0
lea ecx, [ebp - 0xe0]
push eax
call fcn.10042e1e
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x78]
call fcn.10042e1e
test al, al
jne 0x10048c18
lea ecx, [ebp - 0x78]
call fcn.10062091
push 8
mov dword [ebp - 0x1c], eax
lea edi, [ebp - 0x130]
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x130]
call fcn.1005f40e
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x130]
push edi
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x3b
push eax
call fcn.10065bdb
add esp, 0xc
push str.nglAppId
mov ecx, edi
mov byte [ebp - 4], 0x3c
call fcn.10042e1e
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.10061230
push str.nglAppVersion
mov ecx, edi
mov byte [ebp - 4], 0x3d
call fcn.10042e1e
lea ecx, [ebp - 0xc8]
push ecx
mov ecx, eax
call fcn.10061230
push str.asnpKeyName
mov ecx, edi
mov byte [ebp - 4], 0x3e
call fcn.10042e1e
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.10061230
cmp dword [ebp - 0x30], 0
mov byte [ebp - 4], 0x3f
je 0x10048bc6
cmp dword [ebp - 0xb8], 0
je 0x10048bc6
mov edi, dword [ebp - 0x194]
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
push 1
mov edi, dword [edi]
push ecx
push dword [ebp - 0x1a4]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x18c]
call fcn.10042e1e
mov ecx, dword [edi + 0xc]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [0x101097a0]
mov ecx, dword [ebp - 0x194]
call dword [edi + 0xc]
cmp dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0x40
je 0x10048ad9
push ebx
lea ecx, [ebp - 0x1fc]
call fcn.10042e1e
push ebx
lea ecx, [ebp - 0x1e4]
mov byte [ebp - 4], 0x41
call fcn.10042e1e
mov edi, dword [ebp - 0x190]
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 0x42
push dword [edi + 8]
call fcn.10042e1e
lea eax, [ebp - 0x1fc]
mov byte [ebp - 4], 0x43
push eax
lea eax, [ebp - 0x1e4]
push eax
lea eax, [ebp - 0x1cc]
push eax
call fcn.100b7903
add esp, 0xc
mov dword [ebp - 0x1a4], eax
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 0x44
call fcn.10042e1e
lea ecx, [ebp - 0x1e4]
mov byte [ebp - 4], 0x45
call fcn.10042e1e
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 0x46
call fcn.10042e1e
cmp dword [ebp - 0x1a4], 0
mov byte [ebp - 4], 0x40
je 0x10048a4b
push ebx
lea ecx, [ebp - 0x1cc]
call fcn.10042e1e
push ebx
lea ecx, [ebp - 0x1e4]
mov byte [ebp - 4], 0x47
call fcn.10042e1e
push dword [edi + 8]
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 0x48
call fcn.10042e1e
lea eax, [ebp - 0x1cc]
mov byte [ebp - 4], 0x49
push eax
lea eax, [ebp - 0x1e4]
push eax
lea eax, [ebp - 0x1fc]
push eax
call fcn.100b7903
add esp, 0xc
mov edi, dword [eax]
push str.GetLatestSPForAppsByInstaller
push str._s_:_Failed_in_parsing_and_verfying_server_response
push ebx
mov ecx, dword [edi + 0x24]
push eax
call dword [0x101097a0]
call dword [edi + 0x24]
add esp, 0x10
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 0x4a
call fcn.10042e1e
lea ecx, [ebp - 0x1e4]
mov byte [ebp - 4], 0x4b
call fcn.10042e1e
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 0x4c
call fcn.10042e1e
mov eax, dword [ebp - 0x1c]
cmp eax, 6
ja 0x10048a6c
je 0x10048a65
test eax, eax
je 0x10048a61
push 3
pop ecx
xor eax, eax
inc eax
jmp 0x10048a88
xor eax, eax
jmp 0x10048a88
push 3
pop ecx
mov eax, ecx
jmp 0x10048a88
sub eax, 7
je 0x10048a85
push 3
pop ecx
sub eax, ecx
je 0x10048a81
sub eax, 1
jne 0x10048a5c
push 6
jmp 0x10048a87
push 0xa
jmp 0x10048a87
push 4
pop eax
mov edx, dword [ebp - 0x198]
lea ecx, [ebp - 0x28]
mov dword [edx], eax
call fcn.10049664
cmp dword [ebp - 0x18], 0
je 0x10048aa9
push dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
call fcn.10042e1e
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x4d
call fcn.10042e1e
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x4e
call fcn.10042e1e
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x4f
call fcn.10042e1e
mov byte [ebp - 4], 0x50
jmp 0x10048c05
and dword [ebp - 0x238], 0
lea eax, [ebp - 0x40]
and dword [ebp - 0x234], 0
lea ecx, [ebp - 0x248]
push eax
call fcn.10042e1e
and dword [ebp - 0x220], 0
lea eax, [ebp - 0xc8]
and dword [ebp - 0x21c], 0
lea ecx, [ebp - 0x230]
push eax
mov byte [ebp - 4], 0x51
call fcn.10042e1e
and dword [ebp - 0x208], 0
lea eax, [ebp - 0x58]
and dword [ebp - 0x204], 0
lea ecx, [ebp - 0x218]
push eax
mov byte [ebp - 4], 0x52
call fcn.10042e1e
mov eax, dword [ebp - 0x18]
and dword [ebp - 0x18], 0
mov dword [ebp - 0x200], eax
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0x53
push eax
lea ecx, [ebp - 0x28]
call fcn.10042e1e
lea ecx, [ebp - 0x248]
call fcn.10042e1e
cmp dword [ebp - 0x18], 0
je 0x10048b77
push dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
call fcn.10042e1e
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x58
call fcn.10042e1e
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x59
call fcn.10042e1e
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x5a
call fcn.10042e1e
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x5b
call fcn.10042e1e
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0x2e
call fcn.1005fb99
lea ecx, [ebp - 0x78]
call fcn.100628b7
jmp 0x10048807
mov eax, dword [ebp - 0x198]
lea ecx, [ebp - 0x28]
mov dword [eax], 8
call fcn.10049664
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x54
call fcn.10042e1e
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x55
call fcn.10042e1e
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x56
call fcn.10042e1e
mov byte [ebp - 4], 0x57
lea ecx, [ebp - 0x70]
call fcn.10042e1e
lea ecx, [ebp - 0x130]
call fcn.1005fb99
test esi, esi
je 0x10048c28
push esi
lea ecx, [ebp - 0x1a8]
call fcn.10042e1e
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0x5c
call fcn.10042e1e
lea ecx, [ebp - 0x150]
call fcn.1005fa6d
lea ecx, [ebp - 0xe0]
call fcn.1005fbb2
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x5d
call fcn.10042e1e
lea ecx, [ebp - 0x18c]
call fcn.10042e1e
mov esi, dword [ebp - 0x1a0]
jmp 0x10048dc3
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 7
push eax
mov ecx, esi
call fcn.10042e1e
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x6b
call fcn.10042e1e
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x6c
call fcn.10042e1e
mov dword [ebp - 4], 0x6d
lea ecx, [ebp - 0x28]
call fcn.10042e1e
mov eax, esi
call fcn.100d3887
ret 0x10