joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429950
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f1ff8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
mov eax, dword [0x52bd18]
push ebx
push ebp
push esi
mov dword [esp + 0x118], eax
push edi
mov ebx, dword [esp + 0x13c]
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov esi, dword [ebx - 4]
mov ecx, dword [ebx - 8]
mov eax, 1
sub eax, esi
or ecx, eax
mov dword [esp + 0x128], 2
mov dword [esp + 0x10], 1
jge 0x4299c8
push 0
lea ecx, [esp + 0x140]
call fcn.00401610
mov ebx, dword [esp + 0x13c]
lea edx, [esp + 0x18]
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4299d0
mov esi, dword [esp + 0x134]
mov ebp, dword [esp + 0x130]
lea eax, [esp + 0x14]
push eax
push 0xf003f
push 0
push esi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov edi, dword [esp + 0x138]
jne 0x429a70
lea eax, [esp + 0x18]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x429a10
sub eax, edx
mov edx, dword [esp + 0x14]
inc eax
push eax
lea ecx, [esp + 0x1c]
push ecx
push 2
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x429a63
push 0x301
push str..LocalFunc.cpp
mov dword [esp + 0x18], 0
call fcn.00407350
mov ecx, eax
call fcn.0040a680
push edi
push esi
push str.RegOpenKeyEx_error:_s__Value:_s
push 4
call fcn.0047dea0
add esp, 0x10
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, dword [esp + 0x10]
jmp 0x429a98
push 0x308
push str..LocalFunc.cpp
xor ebp, ebp
call fcn.00407350
mov ecx, eax
call fcn.0040a680
push esi
push str.RegOpenKeyEx_error:_s
push 4
call fcn.0047dea0
add esp, 0xc
lea eax, [esi - 0x10]
mov byte [esp + 0x128], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429aba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov byte [esp + 0x128], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429adc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebx - 0x10]
mov dword [esp + 0x128], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429b01
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x120]
pop edi
pop esi
mov eax, ebp
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x110]
pop ebx
call fcn.004ce183
add esp, 0x11c
ret
Function at 0x429b30
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f2020
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push esi
mov edi, 1
push ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov ebx, dword [esp + 0x2c]
jne 0x429bc9
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
push eax
push 0
push 0
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x429bf1
push 0x317
push str..LocalFunc.cpp
xor edi, edi
call fcn.00407350
mov ecx, eax
call fcn.0040a680
push ebx
push esi
push str.RegQueryValueEx_error:_s____Value:_s
push 4
call fcn.0047dea0
add esp, 0x10
jmp 0x429bf1
push 0x31d
push str..LocalFunc.cpp
xor edi, edi
call fcn.00407350
mov ecx, eax
call fcn.0040a680
push esi
push str.RegOpenKeyEx_error:_s
push 4
call fcn.0047dea0
add esp, 0xc
lea eax, [esi - 0x10]
mov byte [esp + 0x1c], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x429c10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebx - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429c32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x429c50
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f2020
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
mov eax, dword [0x52bd18]
push ebx
push esi
mov dword [esp + 0x114], eax
push edi
mov esi, dword [esp + 0x130]
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x12c]
lea eax, [esp + 0xc]
push eax
push 0xf003f
push 0
push esi
mov ebx, 1
push ecx
mov dword [esp + 0x138], ebx
mov dword [esp + 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov edi, dword [esp + 0x134]
jne 0x429d35
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push 0
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x429d11
push 0x32f
push str..LocalFunc.cpp
xor ebx, ebx
call fcn.00407350
mov ecx, eax
call fcn.0040a680
push edi
push esi
push str.RegQueryValueEx_error:_s__Value:_s
push 4
call fcn.0047dea0
add esp, 0x10
jmp 0x429d5d
lea eax, [esp + 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x429d18
mov ecx, dword [esp + 0x138]
sub eax, edx
push eax
lea edx, [esp + 0x18]
push edx
call fcn.00401880
jmp 0x429d5d
push 0x337
push str..LocalFunc.cpp
xor ebx, ebx
call fcn.00407350
mov ecx, eax
call fcn.0040a680
push esi
push str.RegOpenKeyEx_error:_s
push 4
call fcn.0047dea0
add esp, 0xc
lea eax, [esi - 0x10]
mov byte [esp + 0x124], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429d7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov dword [esp + 0x124], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429da4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x110]
mov eax, ebx
pop ebx
call fcn.004ce183
add esp, 0x11c
ret

Function at 0x42b320
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42b381
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x42b363
cmp eax, 2
jne 0x42b373
test esi, esi
mov eax, dword [esp + 0x14]
je 0x42b37d
mov cl, byte [eax + esi - 1]
test cl, cl
je 0x42b37d
pop edi
mov eax, 0xd
pop esi
ret 0xc
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc
Function at 0x42cdc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f2188
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x10]
mov ecx, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
call fcn.00401300
mov eax, dword [esi + 0xc]
mov ebx, dword [esp + 0x30]
xor ecx, ecx
push eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], ecx
push ecx
mov ecx, ebx
call fcn.0042c3c0
mov eax, dword [esi + 8]
mov ebp, dword [eax]
cmp ebp, eax
je 0x42cec1
mov dword [esp + 0x14], 0
jmp 0x42ce25
mov ebx, dword [esp + 0x30]
lea eax, [ebp + 8]
test eax, eax
je 0x42ce31
lea ecx, [eax + 4]
jmp 0x42ce33
xor ecx, ecx
mov eax, dword [esp + 0x10]
cmp eax, dword [ebx]
jae 0x42ce44
mov eax, dword [ebx + 4]
add eax, dword [esp + 0x14]
jmp 0x42ce46
xor eax, eax
mov edx, dword [ecx]
add ecx, 4
lea ebx, [eax + 4]
cmp ebx, ecx
mov dword [eax], edx
je 0x42ce9b
mov esi, dword [ecx]
test esi, esi
jbe 0x42ce5f
mov edi, dword [ecx + 4]
jmp 0x42ce61
xor edi, edi
mov eax, dword [ebx + 4]
test eax, eax
je 0x42ce71
push eax
call fcn.004df1b9
add esp, 4
push esi
mov dword [ebx], esi
call fcn.004df1be
add esp, 4
test edi, edi
mov dword [ebx + 4], eax
je 0x42ce97
mov ecx, esi
mov esi, edi
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov ebp, dword [ebp]
mov eax, dword [esi + 8]
inc edx
add ecx, 0xc
cmp ebp, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
jne 0x42ce21
mov edi, dword [esp + 0x1c]
mov edx, dword [edi]
mov ecx, edi
mov dword [esp + 0x28], 0xffffffff
call dword [edx + 0x14]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x42ea90
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4f24a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], reloc.COMCTL32.dll_InitCommonControls
mov dword [esp + 8], 0x501e2c
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], 0x10
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x10], edx
call fcn.004238d0
mov edx, dword [esp + 0xc]
add esp, 4
lea ecx, [esp + 8]
call dword [edx + 4]
push 2
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x13c]
push ecx
push eax
call fcn.00407b80
add esp, 0xc
test eax, eax
jne 0x42eb35
mov edx, dword [esi + 0x13c]
push edx
call sub.IOCPTcp.dll_TcpDestroy
mov dword [esi + 0x13c], 0xffffffff
mov dword [esi + 0x140], edi
push str.ProcessGetSysInfo.
push 4
add esi, 0x124
push esi
call fcn.0048b0f0
mov eax, dword [esp + 0x28]
add esp, 0xc
cmp eax, edi
pop edi
mov dword [esp + 4], 0x501e2c
pop esi
je 0x42eb66
push eax
call fcn.004df1b9
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4

Function at 0x42ec80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f24e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0x39
mov dword [esp + 0x14], edi
mov dword [esp + 8], 0x50c77c
mov dword [esp + 0x24], edi
call fcn.00410990
mov eax, dword [eax + 0x30]
mov edx, dword [esp + 8]
lea ecx, [esp + 8]
mov dword [esp + 0x18], eax
call dword [edx + 4]
push 2
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x13c]
push ecx
push eax
call fcn.00407b80
add esp, 0xc
test eax, eax
jne 0x42ed0b
mov edx, dword [esi + 0x13c]
push edx
call sub.IOCPTcp.dll_TcpDestroy
mov dword [esi + 0x13c], 0xffffffff
mov dword [esi + 0x140], edi
mov eax, dword [esp + 0x18]
push eax
push str.DoQueryPkgIconListByCRC_CRC_d.
push 4
add esi, 0x124
push esi
call fcn.0048b0f0
mov ecx, dword [esp + 0x2c]
add esp, 0x10
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x42ed40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f2488
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 0x80000022
mov dword [esp + 8], 0x50c91c
mov dword [esp + 0x14], 0x11
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
lea ecx, [esp + 8]
mov dword [esp + 0x28], ebx
mov dword [esp + 0xc], edx
mov byte [esp + 0x18], bl
call dword [0x50c920]
push 2
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x13c]
push ecx
push eax
call fcn.00407b80
add esp, 0xc
test eax, eax
jne 0x42edd3
mov edx, dword [esi + 0x13c]
push edx
call sub.IOCPTcp.dll_TcpDestroy
mov dword [esi + 0x13c], 0xffffffff
mov dword [esi + 0x140], ebx
push str.ProcessPushMyGames.
push 4
add esi, 0x124
push esi
call fcn.0048b0f0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4

Function at 0x4301c0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4f2600
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], 0x18
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], 0x50c76c
mov dword [esp + 0x30], edi
call fcn.004078a0
mov eax, dword [eax + 0x64]
sub eax, 0x10
push eax
call fcn.00401660
lea ebp, [eax + 0x10]
add esp, 4
mov dword [esp + 0x10], ebp
mov ebx, dword [esp + 0x38]
cmp ebx, edi
mov byte [esp + 0x30], 1
jne 0x430236
push ebp
call fcn.004860f0
add esp, 4
test eax, eax
jne 0x430236
mov ebx, 1
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], bl
call dword [eax + 4]
push 2
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x13c]
push ecx
push eax
call fcn.00407b80
add esp, 0xc
cmp eax, edi
jne 0x43027f
mov eax, dword [esi + 0x13c]
push eax
call sub.IOCPTcp.dll_TcpDestroy
mov dword [esi + 0x13c], 0xffffffff
mov dword [esi + 0x140], edi
movsx edx, byte [esp + 0x24]
push edx
push str.DoQueryPkgIconList_Force_d.
push 4
add esi, 0x124
push esi
call fcn.0048b0f0
lea eax, [ebp - 0x10]
add esp, 0x10
mov byte [esp + 0x30], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebp
pop ebx
jg 0x4302be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x430a00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f2640
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
xor ebp, ebp
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], 0x3002
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x20], 0x501d2c
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov esi, dword [esp + 0x4c]
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0x44], ebp
mov dword [esp + 0x30], ebp
call dword [eax + 4]
mov edx, dword [esi]
mov ecx, esi
mov dword [esi + 0xc], eax
call dword [edx + 4]
push eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 1
call fcn.004df1be
add esp, 4
mov dword [esp + 0x14], eax
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
mov byte [esp + 0x48], 1
call dword [eax + 0xc]
mov eax, dword [esp + 0x38]
cmp eax, ebp
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
je 0x430aa4
push eax
call fcn.004df1b9
add esp, 4
push esi
mov dword [esp + 0x38], esi
call fcn.004df1be
add esp, 4
cmp edi, ebp
mov dword [esp + 0x38], eax
je 0x430acd
mov ecx, esi
mov edx, ecx
mov esi, edi
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x20]
call dword [eax + 4]
push 2
lea ecx, [esp + 0x24]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x13c]
push ecx
push eax
call fcn.00407b80
mov esi, eax
add esp, 0xc
cmp esi, ebp
jne 0x430b14
mov edx, dword [ebx + 0x13c]
push edx
call sub.IOCPTcp.dll_TcpDestroy
mov dword [ebx + 0x13c], 0xffffffff
mov dword [ebx + 0x140], ebp
cmp dword [esp + 0x1c], ebp
je 0x430b27
mov eax, dword [esp + 0x14]
push eax
call fcn.004df1b9
add esp, 4
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x430b38
push eax
call fcn.004df1b9
add esp, 4
mov ecx, dword [esp + 0x3c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4

Function at 0x430d70
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4f2488
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x18], ebx
mov dword [esp + 0xc], 0x50c74c
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
mov dword [esp + 0x30], ebx
call edi
push 1
mov dword [esp + 0x20], eax
call edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
call dword [eax + 4]
push 2
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x13c]
push ecx
push eax
call fcn.00407b80
add esp, 0xc
test eax, eax
jne 0x430e05
mov edx, dword [esi + 0x13c]
push edx
call sub.IOCPTcp.dll_TcpDestroy
mov dword [esi + 0x13c], 0xffffffff
mov dword [esi + 0x140], ebx
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x431020
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f267b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x824
mov eax, dword [0x52bd18]
mov ecx, dword [esp + 0x838]
push ebx
push esi
mov dword [esp + 0x828], eax
lea eax, [esp + 0x844]
push eax
push ecx
lea edx, [esp + 0x30]
push 0x800
push edx
call fcn.004d0132
xor ebx, ebx
add esp, 0x10
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 0x80005001
mov dword [esp + 0x14], ebx
mov dword [esp + 8], 0x501d3c
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x834], ebx
mov dword [esp + 0x18], ebx
call fcn.00481180
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4310a8
sub eax, edx
lea esi, [eax + 1]
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x4310c5
push eax
call fcn.004df1b9
add esp, 4
push edi
push esi
mov dword [esp + 0x28], esi
call fcn.004df1be
mov ecx, esi
mov dword [esp + 0x2c], eax
mov edi, eax
mov eax, ecx
shr ecx, 2
lea esi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x10]
add esp, 4
lea ecx, [esp + 0xc]
call dword [edx + 4]
mov esi, dword [esp + 0x840]
push 2
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x13c]
push ecx
push eax
call fcn.00407b80
add esp, 0xc
test eax, eax
pop edi
jne 0x43113a
mov edx, dword [esi + 0x13c]
push edx
call sub.IOCPTcp.dll_TcpDestroy
mov dword [esi + 0x13c], 0xffffffff
mov dword [esi + 0x140], ebx
mov eax, dword [esp + 0x24]
pop esi
cmp eax, ebx
pop ebx
je 0x43114d
push eax
call fcn.004df1b9
add esp, 4
mov ecx, dword [esp + 0x824]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x820]
call fcn.004ce183
add esp, 0x830
ret
Function at 0x431c00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f2188
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x10]
mov ecx, esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], esi
call fcn.00401300
mov eax, dword [edi + 0xc]
mov ebp, dword [esp + 0x30]
xor ecx, ecx
push eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], ecx
push ecx
mov ecx, ebp
call fcn.0042c470
mov eax, dword [edi + 8]
mov ebx, dword [eax]
cmp ebx, eax
je 0x431d3d
mov dword [esp + 0x14], 0
jmp 0x431c65
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
cmp eax, dword [ebp]
jae 0x431c77
mov eax, dword [ebp + 4]
add eax, dword [esp + 0x14]
jmp 0x431c79
xor eax, eax
mov ecx, dword [ebx + 0x10]
mov dword [eax], ecx
lea ecx, [ebx + 0x14]
lea esi, [eax + 4]
cmp esi, ecx
je 0x431ccf
mov edi, dword [ecx]
test edi, edi
jbe 0x431c93
mov ebp, dword [ecx + 4]
jmp 0x431c95
xor ebp, ebp
mov eax, dword [esi + 4]
test eax, eax
je 0x431ca5
push eax
call fcn.004df1b9
add esp, 4
push edi
mov dword [esi], edi
call fcn.004df1be
add esp, 4
test ebp, ebp
mov dword [esi + 4], eax
je 0x431ccb
mov ecx, edi
mov edx, ecx
shr ecx, 2
mov esi, ebp
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x18]
mov al, byte [ebx + 0x1d]
test al, al
jne 0x431d1a
mov eax, dword [ebx + 8]
mov cl, byte [eax + 0x1d]
test cl, cl
jne 0x431cfd
mov ebx, eax
mov eax, dword [ebx]
mov cl, byte [eax + 0x1d]
test cl, cl
jne 0x431d1a
jmp 0x431cf0
mov ebx, eax
mov eax, dword [ebx]
mov cl, byte [eax + 0x1d]
test cl, cl
je 0x431cf0
jmp 0x431d1a
mov eax, dword [ebx + 4]
mov cl, byte [eax + 0x1d]
test cl, cl
jne 0x431d18
cmp ebx, dword [eax + 8]
jne 0x431d18
mov ebx, eax
mov eax, dword [eax + 4]
mov cl, byte [eax + 0x1d]
test cl, cl
je 0x431d07
mov ebx, eax
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 8]
inc edx
add ecx, 0xc
cmp ebx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
jne 0x431c61
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0x28], 0xffffffff
call dword [eax + 0x14]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x431e80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f2700
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], InitCommonControls
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], 0x502248
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.0042d0a0
add eax, 0xc
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x44], 1
call fcn.00418bb0
mov ecx, eax
call fcn.0048bec0
mov esi, dword [ebp + 0x12c]
mov eax, dword [esi - 0xc]
lea edi, [eax + 1]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x431f17
push eax
call fcn.004df1b9
add esp, 4
push edi
mov dword [esp + 0x14], edi
call fcn.004df1be
add esp, 4
cmp esi, ebx
mov dword [esp + 0x14], eax
je 0x431f3e
mov ecx, edi
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
push 1
mov dword [esp + 0x28], ecx
push ebx
lea ecx, [esp + 0x38]
call fcn.004317b0
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
xor edx, edx
cmp edx, ecx
sbb esi, esi
and esi, eax
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00410210
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 8]
call fcn.0042cac0
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x20]
call dword [edx + 4]
push 2
lea ecx, [esp + 0x24]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x13c]
push ecx
push eax
call fcn.00407b80
add esp, 0xc
or esi, 0xffffffff
cmp eax, ebx
jne 0x431fc4
mov eax, dword [ebp + 0x13c]
push eax
call sub.IOCPTcp.dll_TcpDestroy
mov dword [ebp + 0x13c], esi
mov dword [ebp + 0x140], ebx
push str.NMClientHandler_ProcessGetUpdatePkgState.
push 0x10
add ebp, 0x124
push ebp
call fcn.0048b0f0
add esp, 0xc
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], bl
call fcn.004313b0
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], esi
call fcn.0042ddf0
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 4