joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f550
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c726b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4fcb54]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x2c]
lea ebx, [edi + 4]
call fcn.00484590
xor ecx, ecx
xor esi, esi
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x41f599
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov dword [esp + 0x24], esi
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], esi
push esi
mov dword [edi + 0x20], esi
mov dword [edi + 0x24], esi
push 0x4dfd54
mov ecx, ebx
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], esi
call fcn.00402430
or eax, 0xffffffff
mov dword [edi + 0x30], esi
mov dword [edi + 0x3c], esi
mov dword [edi + 0x38], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
mov dword [edi], esi
lea esi, [esp + 0x10]
mov dword [edi + 0x34], eax
mov dword [edi + 8], eax
call fcn.00411120
lea esi, [esp + 0x10]
call fcn.00411120
lea esi, [esp + 0x10]
call fcn.00411120
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 4

Function at 0x4214c0
Capabilities:
Hash data with md5

Disassembly:
mov eax, 0x1008
call fcn.004ae490
mov eax, dword [0x4fcb54]
xor eax, esp
mov dword [esp + 0x1004], eax
push ebp
mov ebp, dword [esp + 0x1010]
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov eax, dword [edi]
mov edx, dword [eax + 0x34]
push 0x1000
lea ecx, [esp + 0xc]
push ecx
mov ecx, edi
mov dword [esp + 0xc], 0
call edx
test eax, eax
jle 0x42154e
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.00435de0
mov edx, dword [edi]
mov edx, dword [edx + 0x34]
add esp, 4
push 0x1000
lea eax, [esp + 0xc]
push eax
mov ecx, edi
call edx
test eax, eax
jg 0x421528
push ebp
mov ecx, esi
call fcn.00421570
mov ecx, dword [esp + 0x1008]
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.004a3135
add esp, 0x1008
ret 4
Function at 0x421570
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x4c7d01
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4fcb54]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
lea ebx, [esi + 0x58]
mov dword [esp + 0x24], edi
mov ecx, ebx
mov dword [esp + 0x18], edi
call fcn.00435ea0
call fcn.00484590
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4215c7
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [esp + 0x2c]
add eax, 0x10
mov dword [ecx], eax
mov dword [esp + 0x24], edi
mov ebp, 1
mov dword [esp + 0x18], ebp
call fcn.00484590
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x421600
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ebp
movzx ecx, byte [ebx + edi]
push ecx
lea edx, [esp + 0x18]
push str._02x
push edx
call fcn.00404460
mov ebp, dword [esp + 0x20]
mov eax, dword [ebp - 0xc]
mov ecx, dword [esp + 0x38]
add esp, 0xc
push eax
push ebp
call fcn.004107a0
add edi, 1
cmp edi, 0x10
jl 0x421614
xor eax, eax
add ebp, 0xfffffff0
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov byte [esp + 0x24], al
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x421689
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x4232f0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4c722e
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x4fcb54]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push ebp
push edi
mov eax, dword [0x4fcb54]
xor eax, esp
push eax
lea eax, [esp + 0xac]
mov dword fs:[0], eax
mov dword [esp + 0x10], esi
mov dword [esi], vtable.CIROSVersionInfo.0
lea edi, [esi + 0x30]
call fcn.00484590
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x423353
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0xb4], ebx
push 0xa
mov ebp, 1
push str.Unknown_OS
mov ecx, edi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebp
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.00402430
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x423487
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x20], eax
sub eax, ebp
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edx
je 0x42343e
sub eax, ebp
jne 0x42348a
cmp ecx, 3
mov edx, dword [esp + 0x20]
mov dword [esi + 0x2c], edx
jne 0x4233f3
push str.Windows_NT_3
mov ecx, edi
call fcn.004023b0
mov dword [esi + 0x10], ebp
cmp dword [esi + 0x24], 4
jne 0x423408
push str.Windows_NT_4
mov ecx, edi
call fcn.004023b0
mov dword [esi + 0x14], ebp
cmp dword [esi + 0x24], 5
jne 0x42348a
cmp dword [esi + 0x28], ebx
jne 0x423422
push str.Windows_2000
mov ecx, edi
call fcn.004023b0
mov dword [esi + 0x18], ebp
cmp dword [esi + 0x24], 5
jne 0x42348a
cmp dword [esi + 0x28], ebx
jbe 0x42348a
push str.Windows_XP
mov ecx, edi
call fcn.004023b0
mov dword [esi + 0x1c], ebp
jmp 0x42348a
cmp ecx, 4
movzx eax, word [esp + 0x20]
mov dword [esi + 0x2c], eax
ja 0x423462
jne 0x423451
cmp edx, ebx
ja 0x423462
push str.Windows_95
mov ecx, edi
mov dword [esi + 4], ebp
call fcn.004023b0
jmp 0x42348a
cmp edx, 0xa
mov ecx, edi
ja 0x423478
push str.Windows_98
mov dword [esi + 8], ebp
call fcn.004023b0
jmp 0x42348a
push str.Windows_ME
mov dword [esi + 0xc], ebp
call fcn.004023b0
jmp 0x42348a
mov dword [esi + 4], ebp
mov eax, esi
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.004a3135
add esp, 0xa8
ret
Function at 0x424420
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4c82e2
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x4fcb54]
xor eax, esp
mov dword [esp + 0x10c], eax
mov eax, dword [0x4fcb54]
xor eax, esp
push eax
lea eax, [esp + 0x114]
mov dword fs:[0], eax
mov dword [esp + 0x11c], 0
push 0x4dfd54
mov ecx, esi
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
call fcn.00402520
push 0x104
lea eax, [esp + 0x10]
mov dword [esp + 0x120], 0
push eax
mov dword [esp + 0xc], 1
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x4244c0
lea eax, [esp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4244a8
sub eax, edx
push eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00402430
mov eax, esi
mov ecx, dword [esp + 0x114]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.004a3135
add esp, 0x11c
ret
Function at 0x427e70
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4c8228
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4fcb54]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebx, 1
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], 0
call fcn.00484590
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x427ec2
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x4e2d74
lea eax, [esp + 0x30]
mov byte [esp + 0x28], 2
call fcn.0040d3b0
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
push ebp
push edi
lea ecx, [esp + 0x1c]
push str._s_s.lnk
push ecx
call fcn.00404460
mov esi, dword [esp + 0x24]
push 0
push esi
call fcn.004a6318
add esp, 0x18
test eax, eax
je 0x427f59
push ebp
push edi
lea edx, [esp + 0x1c]
push str._s_s.pif
push edx
call fcn.00404460
mov esi, dword [esp + 0x24]
push 0
push esi
call fcn.004a6318
add esp, 0x18
test eax, eax
je 0x427f59
push ebp
push edi
lea eax, [esp + 0x1c]
push str._s_s.url
push eax
call fcn.00404460
mov esi, dword [esp + 0x24]
push 0
push esi
call fcn.004a6318
add esp, 0x18
test eax, eax
jne 0x427f68
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x427f68
mov dword [esp + 0x18], ebx
lea eax, [esi - 0x10]
mov byte [esp + 0x24], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427f88
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427fa9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427fcd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x427ff0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x4c70fb
mov eax, dword fs:[0]
push eax
sub esp, 0x31c
mov eax, dword [0x4fcb54]
xor eax, esp
mov dword [esp + 0x318], eax
push ebp
push edi
mov eax, dword [0x4fcb54]
xor eax, esp
push eax
lea eax, [esp + 0x328]
mov dword fs:[0], eax
push 0x103
lea eax, [esp + 0x1d]
push 0
push eax
mov byte [esp + 0x24], 0
call fcn.004ac6c0
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push 0x4de9f4
push 1
push 0
push 0x4dea04
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jl 0x4281dd
mov eax, dword [esi + 8]
push eax
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esi]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x50]
push ecx
call eax
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x2c]
push ecx
call eax
call fcn.00484590
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4280ad
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x330], 0
mov eax, dword [esp + 0xc]
mov edx, dword [esi + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x3c]
call eax
mov edi, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
push edi
push eax
mov eax, dword [edx + 0x44]
push ecx
call eax
mov eax, dword [esi + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x24]
push ecx
call eax
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x1c]
push ecx
call eax
movzx eax, word [esi + 0x1c]
test ax, ax
je 0x428122
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x34]
push ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x4dea44
push eax
mov eax, dword [ecx]
call eax
mov edi, eax
test edi, edi
jl 0x4281aa
push 0x206
lea ecx, [esp + 0x122]
push 0
push ecx
mov word [esp + 0x128], 0
call fcn.004ac6c0
add esp, 0xc
push 0x104
lea edx, [esp + 0x120]
push edx
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push 1
lea ecx, [esp + 0x120]
push ecx
push eax
call edx
mov edi, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [ebp - 0x10]
mov dword [esp + 0x330], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4281dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x328]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
mov ecx, dword [esp + 0x318]
xor ecx, esp
call fcn.004a3135
add esp, 0x328
ret
Function at 0x429c20
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x429c6c
mov edx, dword [esi + 4]
lea ecx, [esp + 4]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 4]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
je 0x429c6c
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ecx
ret

Function at 0x429c70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c7088
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4fcb54]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
mov dword [esi], vtable.CIRWinInetFunctions.0
call fcn.00484590
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x429cb5
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 4], eax
mov dword [esp + 0x10], 0
call fcn.00484590
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x429ce6
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x10], eax
mov byte [esp + 0x10], 1
call fcn.00484590
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x429d14
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x1c], eax
mov byte [esp + 0x10], 2
call fcn.00484590
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x429d42
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x24], eax
mov byte [esp + 0x10], 3
call fcn.00484590
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x429d70
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x28], eax
mov byte [esp + 0x10], 4
call fcn.00484590
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x429d9e
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x2c], eax
mov byte [esp + 0x10], 5
call fcn.00484590
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x429dcc
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x30], eax
push 0xa
lea ecx, [esi + 0x5c]
mov byte [esp + 0x14], 6
call fcn.00484900
mov byte [esp + 0x10], 7
mov dword [esi + 8], 1
mov dword [esi + 0x54], 1
mov dword [esi + 0x58], 0
call fcn.00429f70
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4
Function at 0x429e20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c6aad
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4fcb54]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CIRWinInetFunctions.0
lea ecx, [esi + 0x5c]
mov dword [esp + 0x14], 6
call fcn.00484a38
mov byte [esp + 0x14], 5
mov eax, dword [esi + 0x30]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429e82
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x14], 4
mov eax, dword [esi + 0x2c]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429ea6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x14], 3
mov eax, dword [esi + 0x28]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429eca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x14], 2
mov eax, dword [esi + 0x24]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429eee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x14], 1
mov eax, dword [esi + 0x1c]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429f12
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x14], 0
mov eax, dword [esi + 0x10]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429f36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x14], 0xffffffff
mov esi, dword [esi + 4]
sub esi, 0x10
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429f5d
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x42ba40
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
push edi
xor edi, edi
push edi
lea eax, [esp + 8]
push eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esp + 0xc], edi
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
cmp eax, edi
pop edi
je 0x42ba9c
mov ecx, dword [esp]
mov edx, ecx
and edx, 1
mov dword [esi + 0x3c], edx
mov edx, ecx
and edx, 2
mov dword [esi + 0x40], edx
mov edx, ecx
and edx, 4
mov dword [esi + 0x44], edx
mov edx, ecx
and edx, 0x10
mov dword [esi + 0x48], edx
mov edx, ecx
and edx, 0x20
and ecx, 0x40
mov dword [esi + 0x4c], edx
mov dword [esi + 0x50], ecx
pop ecx
ret
Function at 0x42f960
Capabilities:
Check os version
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x4c7f08
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x4fcb54]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x30], esi
call fcn.004900f5
push eax
lea ecx, [esp + 0x40]
call fcn.0049015a
mov dword [esp + 0x80], 0
mov esi, dword [esi + 0x14]
test esi, esi
je 0x42fb0a
push 0x4dfd54
lea ecx, [esp + 0x30]
call fcn.00402520
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff6
cmp eax, 0x64
mov ebx, 1
mov byte [esp + 0x80], bl
ja case.0x42f9e7.12
movzx eax, byte [eax + 0x42fb6c]
jmp dword [eax*4 + 0x42fb40]
push str.Resolving_host_name.
jmp 0x42fa68
push str.Host_name_resolved.
jmp 0x42fa68
push str.Connecting_to_server.
jmp 0x42fa68
push str.Connected_to_server.
jmp 0x42fa68
push str.Closing_connection_to_server.
jmp 0x42fa68
push str.Connection_closed_with_server.
jmp 0x42fa68
push str.Creating_handle.
lea ecx, [esp + 0x30]
call fcn.004023b0
mov eax, dword [ebp + 8]
cmp eax, 4
je 0x42fa33
cmp eax, 5
jne case.0x42f9e7.12
push str.MSG_STATUS_HANDLE_CREATED
jmp 0x42fa68
push str.Closing_handle.
lea ecx, [esp + 0x30]
call fcn.004023b0
mov eax, dword [ebp + 8]
cmp eax, 4
je 0x42fa55
cmp eax, 5
jne case.0x42f9e7.12
push str.MSG_STATUS_HANDLE_CLOSING
jmp 0x42fa68
push str.Request_Complete.
jmp 0x42fa68
push str.Redirecting.
lea ecx, [esp + 0x30]
call fcn.004023b0
mov eax, dword [esp + 0x2c]
cmp dword [eax - 0xc], 0
je 0x42fae2
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x38], esp
mov edi, esp
push eax
call fcn.00402860
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x4dfd54
mov byte [esp + 0x8c], 2
call fcn.00402520
fldz
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 0
sub esp, 8
fstp qword [esp]
push 0
push 0
push 0
push 0
mov ecx, esi
mov byte [esp + 0xa4], bl
call edx
test eax, eax
jne 0x42fad5
mov eax, dword [esp + 0x30]
mov dword [eax + 0x18], ebx
cmp dword [esi + 0xc], 0
je 0x42fae2
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x18], ebx
mov byte [esp + 0x80], 0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42fb0a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x40], 0
je 0x42fb28
mov ecx, dword [esp + 0x3c]
push ecx
push 0
call fcn.0048f90d
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x437400
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4c6a38
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4fcb54]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.COXIteratorRegistryItem.0
xor edi, edi
mov dword [esp + 0x18], edi
mov eax, dword [esi + 0x30]
cmp eax, edi
mov dword [esi + 0x2c], vtable.CList_struct_COXIteratorRegistryItem::COXSearchData___struct_COXIteratorRegistryItem::COXSearchData__.0
je 0x437449
mov eax, dword [eax]
cmp eax, edi
jne 0x437443
mov ecx, dword [esi + 0x40]
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
call fcn.00494044
mov ecx, esi
mov dword [esi + 0x40], edi
call fcn.0043be70
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x437a10
Capabilities:
Enumerate services

Disassembly:
sub esp, 0xc
push esi
push edi
mov edi, eax
mov esi, edi
call fcn.00437ba0
mov eax, dword [0x502e74]
test eax, eax
jne 0x437a63
push 0xf003f
push eax
push eax
mov dword [0x502e7c], 0xf003f
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
xor ecx, ecx
test eax, eax
setne cl
mov dword [0x502e74], eax
test ecx, ecx
jne 0x437a63
lea esi, [ecx + 4]
call fcn.0043d760
test eax, eax
je 0x437b47
mov eax, dword [0x502e74]
mov esi, dword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 3
push 0x3b
push eax
mov dword [esp + 0x28], 0
call esi
test eax, eax
je 0x437a9a
pop edi
mov eax, 1
pop esi
add esp, 0xc
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x437b3f
mov eax, dword [esp + 0xc]
test eax, eax
je 0x437b3f
push ebx
push eax
call fcn.004a4697
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x437acc
jmp fcn.00484c4f
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x502e74]
lea ecx, [esp + 0x18]
push ecx
push edx
push ebx
push 3
push 0x3b
push eax
mov dword [esp + 0x2c], 0
call esi
mov esi, eax
call fcn.0043d800
mov esi, eax
test esi, esi
je 0x437b2d
mov ecx, dword [esp + 0x14]
push ecx
push ebx
mov eax, edi
call fcn.00437c00
mov dword [edi + 0x38], 0
cmp dword [edi + 0x18], 0
jg 0x437b21
jmp fcn.00484c83
mov edx, dword [edi + 0x14]
push edx
lea ecx, [edi + 0xc]
call fcn.004028d0
push ebx
call fcn.004a475a
add esp, 4
pop ebx
pop edi
mov eax, esi
pop esi
add esp, 0xc
ret
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
xor eax, eax
pop esi
add esp, 0xc
ret