joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ad50
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f80f0
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 0x42ade9
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 0x42ae11
push 0x317
push str..LocalFunc.cpp
xor edi, edi
call fcn.00407270
mov ecx, eax
call fcn.0040a520
push ebx
push esi
push str.RegQueryValueEx_error:_s____Value:_s
push 4
call fcn.0047fc80
add esp, 0x10
jmp 0x42ae11
push 0x31d
push str..LocalFunc.cpp
xor edi, edi
call fcn.00407270
mov ecx, eax
call fcn.0040a520
push esi
push str.RegOpenKeyEx_error:_s
push 4
call fcn.0047fc80
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 0x42ae30
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 0x42ae52
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 0x42ae70
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f80f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
mov eax, dword [0x531d28]
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 0x42af55
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 0x42af31
push 0x32f
push str..LocalFunc.cpp
xor ebx, ebx
call fcn.00407270
mov ecx, eax
call fcn.0040a520
push edi
push esi
push str.RegQueryValueEx_error:_s__Value:_s
push 4
call fcn.0047fc80
add esp, 0x10
jmp 0x42af7d
lea eax, [esp + 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42af38
mov ecx, dword [esp + 0x138]
sub eax, edx
push eax
lea edx, [esp + 0x18]
push edx
call fcn.00401880
jmp 0x42af7d
push 0x337
push str..LocalFunc.cpp
xor ebx, ebx
call fcn.00407270
mov ecx, eax
call fcn.0040a520
push esi
push str.RegOpenKeyEx_error:_s
push 4
call fcn.0047fc80
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 0x42af9f
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 0x42afc4
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.004d40be
add esp, 0x11c
ret

Function at 0x42c520
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 0x42c581
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x42c563
cmp eax, 2
jne 0x42c573
test esi, esi
mov eax, dword [esp + 0x14]
je 0x42c57d
mov cl, byte [eax + esi - 1]
test cl, cl
je 0x42c57d
pop edi
mov eax, 0xd
pop esi
ret 0xc
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc
Function at 0x42de70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f8278
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.0042d5d0
mov eax, dword [esi + 8]
mov ebp, dword [eax]
cmp ebp, eax
je 0x42df71
mov dword [esp + 0x14], 0
jmp 0x42ded5
mov ebx, dword [esp + 0x30]
lea eax, [ebp + 8]
test eax, eax
je 0x42dee1
lea ecx, [eax + 4]
jmp 0x42dee3
xor ecx, ecx
mov eax, dword [esp + 0x10]
cmp eax, dword [ebx]
jae 0x42def4
mov eax, dword [ebx + 4]
add eax, dword [esp + 0x14]
jmp 0x42def6
xor eax, eax
mov edx, dword [ecx]
add ecx, 4
lea ebx, [eax + 4]
cmp ebx, ecx
mov dword [eax], edx
je 0x42df4b
mov esi, dword [ecx]
test esi, esi
jbe 0x42df0f
mov edi, dword [ecx + 4]
jmp 0x42df11
xor edi, edi
mov eax, dword [ebx + 4]
test eax, eax
je 0x42df21
push eax
call fcn.004e50f9
add esp, 4
push esi
mov dword [ebx], esi
call fcn.004e50fe
add esp, 4
test edi, edi
mov dword [ebx + 4], eax
je 0x42df47
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 0x42ded1
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 0x42fbe0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4f85d8
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], 0x507d24
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.00424a30
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.00407aa0
add esp, 0xc
test eax, eax
jne 0x42fc85
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.0048cfe0
mov eax, dword [esp + 0x28]
add esp, 0xc
cmp eax, edi
pop edi
mov dword [esp + 4], 0x507d24
pop esi
je 0x42fcb6
push eax
call fcn.004e50f9
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4

Function at 0x42fdd0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4f8620
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], 0x5126d4
mov dword [esp + 0x30], edi
call fcn.004077c0
mov eax, dword [eax + 0x64]
sub eax, 0x10
push eax
call fcn.004013d0
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 0x42fe46
push ebp
call fcn.00487fe0
add esp, 4
test eax, eax
jne 0x42fe46
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.00407aa0
add esp, 0xc
cmp eax, edi
jne 0x42fe8f
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.0048cfe0
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 0x42fece
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 0x42fee0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f8638
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], 0x5126e4
mov dword [esp + 0x24], edi
call fcn.00410a50
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.00407aa0
add esp, 0xc
test eax, eax
jne 0x42ff6b
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.0048cfe0
mov ecx, dword [esp + 0x2c]
add esp, 0x10
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret

Function at 0x42ffa0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f85b8
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], 0x512874
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 [0x512878]
push 2
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x13c]
push ecx
push eax
call fcn.00407aa0
add esp, 0xc
test eax, eax
jne 0x430033
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.0048cfe0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x431cf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f8770
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], 0x507c34
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.004e50fe
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 0x431d94
push eax
call fcn.004e50f9
add esp, 4
push esi
mov dword [esp + 0x38], esi
call fcn.004e50fe
add esp, 4
cmp edi, ebp
mov dword [esp + 0x38], eax
je 0x431dbd
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.00407aa0
mov esi, eax
add esp, 0xc
cmp esi, ebp
jne 0x431e04
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 0x431e17
mov eax, dword [esp + 0x14]
push eax
call fcn.004e50f9
add esp, 4
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x431e28
push eax
call fcn.004e50f9
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 0x432060
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4f85b8
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], 0x5126a4
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.00407aa0
add esp, 0xc
test eax, eax
jne 0x4320f5
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 0x432310
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f87ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x824
mov eax, dword [0x531d28]
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.004d6072
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], 0x507c44
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x834], ebx
mov dword [esp + 0x18], ebx
call fcn.00483010
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x432398
sub eax, edx
lea esi, [eax + 1]
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x4323b5
push eax
call fcn.004e50f9
add esp, 4
push edi
push esi
mov dword [esp + 0x28], esi
call fcn.004e50fe
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.00407aa0
add esp, 0xc
test eax, eax
pop edi
jne 0x43242a
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 0x43243d
push eax
call fcn.004e50f9
add esp, 4
mov ecx, dword [esp + 0x824]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x820]
call fcn.004d40be
add esp, 0x830
ret
Function at 0x433030
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f8278
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.0042d680
mov eax, dword [edi + 8]
mov ebx, dword [eax]
cmp ebx, eax
je 0x43316d
mov dword [esp + 0x14], 0
jmp 0x433095
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
cmp eax, dword [ebp]
jae 0x4330a7
mov eax, dword [ebp + 4]
add eax, dword [esp + 0x14]
jmp 0x4330a9
xor eax, eax
mov ecx, dword [ebx + 0x10]
mov dword [eax], ecx
lea ecx, [ebx + 0x14]
lea esi, [eax + 4]
cmp esi, ecx
je 0x4330ff
mov edi, dword [ecx]
test edi, edi
jbe 0x4330c3
mov ebp, dword [ecx + 4]
jmp 0x4330c5
xor ebp, ebp
mov eax, dword [esi + 4]
test eax, eax
je 0x4330d5
push eax
call fcn.004e50f9
add esp, 4
push edi
mov dword [esi], edi
call fcn.004e50fe
add esp, 4
test ebp, ebp
mov dword [esi + 4], eax
je 0x4330fb
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 0x43314a
mov eax, dword [ebx + 8]
mov cl, byte [eax + 0x1d]
test cl, cl
jne 0x43312d
mov ebx, eax
mov eax, dword [ebx]
mov cl, byte [eax + 0x1d]
test cl, cl
jne 0x43314a
jmp 0x433120
mov ebx, eax
mov eax, dword [ebx]
mov cl, byte [eax + 0x1d]
test cl, cl
je 0x433120
jmp 0x43314a
mov eax, dword [ebx + 4]
mov cl, byte [eax + 0x1d]
test cl, cl
jne 0x433148
cmp ebx, dword [eax + 8]
jne 0x433148
mov ebx, eax
mov eax, dword [eax + 4]
mov cl, byte [eax + 0x1d]
test cl, cl
je 0x433137
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 0x433091
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 0x4333c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f8810
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], reloc.WS2_32.dll_inet_addr
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], 0x508148
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.0042e120
add eax, 0xc
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x44], 1
call fcn.0041a160
mov ecx, eax
call fcn.0048dfd0
mov esi, dword [ebp + 0x12c]
mov eax, dword [esi - 0xc]
lea edi, [eax + 1]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x433457
push eax
call fcn.004e50f9
add esp, 4
push edi
mov dword [esp + 0x14], edi
call fcn.004e50fe
add esp, 4
cmp esi, ebx
mov dword [esp + 0x14], eax
je 0x43347e
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.00432be0
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.0040fff0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 8]
call fcn.0042dc40
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.00407aa0
add esp, 0xc
or esi, 0xffffffff
cmp eax, ebx
jne 0x433504
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.0048cfe0
add esp, 0xc
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], bl
call fcn.004327e0
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], esi
call fcn.0042ee80
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 4
Function at 0x433620
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4f8848
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
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0x80001006
mov dword [esp + 0x14], edi
mov dword [esp + 8], 0x507e0c
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
call fcn.0041a100
add eax, 0xc
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x10], ecx
call fcn.004079a0
mov ecx, eax
call fcn.0041a360
mov eax, dword [esp + 8]
lea ecx, [esp + 8]
call dword [eax + 4]
push 2
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x13c]
push ecx
push eax
call fcn.00407aa0
add esp, 0xc
cmp eax, edi
jne 0x4336d5
mov eax, dword [esi + 0x13c]
push eax
call sub.IOCPTcp.dll_TcpDestroy
mov dword [esi + 0x13c], 0xffffffff
mov dword [esi + 0x140], edi
push str.ProcessGetPackageList.
push 4
add esi, 0x124
push esi
call fcn.0048cfe0
add esp, 0xc
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.0042dd60
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 4

Function at 0x434430
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4f8938
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
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov dword [esp + 0x14], edi
mov dword [esp + 8], 0x5081fc
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
call fcn.0042d540
add eax, 0xc
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x10], ecx
call fcn.0044e5b0
mov eax, dword [esp + 0xc]
add esp, 4
lea ecx, [esp + 8]
call dword [eax + 4]
push 2
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x13c]
push ecx
push eax
call fcn.00407aa0
add esp, 0xc
cmp eax, edi
jne 0x4344e1
mov eax, dword [esi + 0x13c]
push eax
call sub.IOCPTcp.dll_TcpDestroy
mov dword [esi + 0x13c], 0xffffffff
mov dword [esi + 0x140], edi
push str.ProcessGetServiceInfo.
push 4
add esi, 0x124
push esi
call fcn.0048cfe0
add esp, 0xc
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.004339d0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x43f580
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4f9628
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
lea eax, [esp + 0xc]
xor edi, edi
push eax
mov esi, ecx
mov dword [esp + 0x10], edi
call fcn.0041e0d0
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0xc]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
mov ebx, dword [esp + 0x20]
mov ecx, esi
push ebx
jne 0x43f5cc
call fcn.0041ce80
jmp 0x43f5d1
call fcn.0041e0d0
lea eax, [edi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f5f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4