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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x467558
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x4315e9
inc eax
mov dword [esi + 0x10], eax
jmp 0x4316fc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4315fd
mov eax, 0xffffffc7
jmp 0x4316fe
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43160e
cmp dword [esi + 8], eax
jne 0x4315fd
cmp dword [esi + 8], eax
jne 0x431627
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x431627
mov eax, 0xffffffc7
jmp 0x4316fe
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43163b
push eax
mov ecx, ebx
call fcn.00430de0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.004040d0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43166c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004040f0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00430550
test eax, eax
mov dword [esp + 0x38], eax
je 0x43169f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x533948
call fcn.004042d0
mov eax, dword [esp + 0x38]
jmp 0x4316fe
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00431410
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4316e3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00431430
mov esi, eax
test esi, esi
jne 0x431713
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00431410
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4316b5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x533948
call fcn.004042d0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x533948
call fcn.004042d0
mov eax, esi
jmp 0x4316fe

Function at 0x434840
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4348a0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4348a0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4348a0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4348a0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x4348e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x43aa10
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x467b88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00460cd2
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043a3b0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00460c00
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0045d4c4
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0045d4c4
push 1
push 0
push 0
mov ecx, esi
call fcn.0045d46c
push 1
push 0
push 1
mov ecx, esi
call fcn.0045d46c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00460d44
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43ab90
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x467ba8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00460cd2
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043a3b0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00460c00
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43ac54
cmp dword [esp + 0x40], 1
jne 0x43ac52
cmp ecx, eax
jge 0x43ac54
mov eax, ecx
cmp eax, 0xc8
jge 0x43ac60
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043aa10
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00460d44
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43b3d0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x467c13
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0045b8e2
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00460f7a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00462496
test eax, eax
je 0x43b4ec
mov ecx, dword [esp + 0x3c]
call fcn.00460fa7
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43b4b0
push edi
mov ecx, esi
call fcn.0045e60f
mov ecx, esi
call fcn.0043b650
cmp dword [esp + 0x38], 1
jne 0x43b4e5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0045e74a
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43df00
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43df33
push esi
call fcn.00440ff0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43df2c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43dfb9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43dfa2
mov eax, dword [esi + 8]
test eax, eax
je 0x43df57
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43df9e
cmp eax, 2
je 0x43dfa2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43df4a
cmp eax, 3
je 0x43df7d
cmp eax, 1
jne 0x43df4a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43df4a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43df4a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043dfe0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43dfc8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043dfe0
add esp, 4
pop esi
ret

Function at 0x45c6d7
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45c70f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045a78e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045a766
jmp 0x45c71b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45ddcc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x45de0e
call fcn.0046387c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45de0e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45de05
xor eax, eax
jmp 0x45de16
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045de1c
pop edi
pop esi
pop ebx
ret 4

Function at 0x463dac
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x463dda
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x463df8
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00463d12
jmp 0x463df8
mov eax, dword [esi + 0x14]
test eax, eax
je 0x463df8
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00463d12
test edi, edi
mov eax, edi
jne 0x463de2
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402870
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
mov eax, 0x2218
call fcn.0040f250
mov eax, dword [0x417050]
xor eax, esp
mov dword [esp + 0x2214], eax
xor eax, eax
test esi, esi
je 0x4029b9
push 0x206
push eax
lea ecx, [esp + 0x16]
push ecx
mov dword [esp + 0x10], 1
mov word [esp + 0x18], ax
call fcn.00406c70
xor edx, edx
push 0x1ffe
push edx
lea eax, [esp + 0x22a]
push eax
mov word [esp + 0x22c], dx
call fcn.00406c70
add esp, 0x18
lea ecx, [esp]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0xc]
push eax
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360Desktop.exe
push 0x80000002
mov dword [esp + 0x18], 0x104
call dword [0x413188]
test eax, eax
jne 0x40292c
lea ecx, [esp + 0xc]
push ecx
call dword [0x413184]
test eax, eax
je 0x40292c
lea edx, [esp + 0xc]
push edx
call dword [0x413190]
lea eax, [esp + 0xc]
push 0x5c
push eax
call fcn.0040639a
add esp, 8
xor ecx, ecx
mov word [eax + 2], cx
jmp 0x40295e
push 0x104
lea edx, [esp + 0x10]
push edx
push 0
call dword [0x413058]
lea eax, [esp + 0xc]
push eax
call dword [0x413190]
lea ecx, [esp + 0xc]
push 0x5c
push ecx
call fcn.0040639a
add esp, 8
xor edx, edx
mov word [eax + 2], dx
lea eax, [esp + 0xc]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402965
sub eax, edx
sar eax, 1
jne 0x40298d
xor eax, eax
mov ecx, dword [esp + 0x2214]
xor ecx, esp
call fcn.0040610e
add esp, 0x2218
ret
push 0x1000
lea eax, [esp + 0x218]
push eax
lea ecx, [esp + 0x14]
push ecx
call dword [0x413050]
test eax, eax
je 0x402976
lea eax, [esp + 0xc]
mov edx, esi
call fcn.00401180
mov eax, 1
mov ecx, dword [esp + 0x2214]
xor ecx, esp
call fcn.0040610e
add esp, 0x2218
ret

Function at 0x4029d0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x20c
mov eax, dword [0x417050]
xor eax, esp
mov dword [esp + 0x208], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xa]
push ecx
mov word [esp + 0xc], ax
call fcn.00406c70
add esp, 0xc
push 0x104
lea edx, [esp + 4]
push edx
push 0
call dword [0x413058]
push str...Uninstall.exe
lea eax, [esp + 4]
push eax
call dword [0x413194]
push 0
push 0
push 0x414fa4
lea ecx, [esp + 0xc]
push ecx
push str.open
push 0
call dword [0x413178]
push 0
call dword [0x413020]
push eax
call dword [0x413054]
mov ecx, dword [esp + 0x208]
xor ecx, esp
mov eax, 1
call fcn.0040610e
add esp, 0x20c
ret
Function at 0x402a70
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4128d8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x417050]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0x4193ec]
mov edx, dword [eax + 0xc]
mov ecx, 0x4193ec
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x38], 0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x402ada
mov ecx, 0x104
lea eax, [esp + 0x14]
call fcn.004016d0
mov esi, dword [esp + 0x14]
call fcn.00402870
mov edi, eax
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0040631a
add esp, 8
test eax, eax
jl 0x402c62
cmp eax, dword [esi - 8]
jg 0x402c62
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
test edi, edi
jne 0x402b45
lea eax, [esi - 0x10]
mov dword [esp + 0x38], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402b30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
push 0x12
lea ecx, [esp + 0x18]
push ecx
call fcn.004010b0
mov eax, dword [0x419ffc]
mov dword [esp + 0x10], 0
test eax, eax
je 0x402b6b
lea edx, [esp + 0x10]
push edx
push 0x64
call eax
cmp dword [esp + 0x10], 0
jne 0x402b90
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x402b24
lea esi, [esp + 0x1c]
lea eax, [esp + 0x10]
call fcn.00401e90
mov byte [esp + 0x38], 2
mov eax, dword [eax]
mov esi, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push esi
push eax
call edx
test eax, eax
lea ecx, [esp + 0x1c]
sete bl
mov byte [esp + 0x38], 1
call fcn.00401eb0
test bl, bl
je 0x402bfa
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x402bdd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esi - 0x10]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x402b24
lea edx, [esp + 0x18]
mov ecx, esi
mov dword [esp + 0x18], 0
call fcn.00402490
mov byte [esp + 0x38], 0
test eax, eax
mov eax, dword [esp + 0x10]
je 0x402bd1
test eax, eax
je 0x402c26
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
add esi, 0xfffffff0
mov dword [esp + 0x38], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x402c4a
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
push 0x80070057
call fcn.004017c0
int3
Function at 0x404230
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x2010
call fcn.0040f250
mov eax, dword [0x417050]
xor eax, esp
mov dword [esp + 0x2008], eax
push esi
push 0x104
lea eax, [esp + 0xc]
push eax
push 0
call dword [0x413010]
push eax
call dword [0x413058]
lea ecx, [esp + 8]
push ecx
call dword [0x413190]
lea edx, [esp + 8]
push edx
call dword [0x41318c]
mov esi, dword [0x413194]
push str.somkernldt.dll
lea eax, [esp + 0xc]
push eax
call esi
lea ecx, [esp + 8]
push ecx
call dword [0x413184]
test eax, eax
jne 0x4042a5
push str..._somkernl.dll
lea edx, [esp + 0xc]
push edx
call esi
lea eax, [esp + 8]
push eax
call fcn.00404390
add esp, 4
test eax, eax
jne 0x4042d1
mov eax, 0x80004005
pop esi
mov ecx, dword [esp + 0x2008]
xor ecx, esp
call fcn.0040610e
add esp, 0x2010
ret
lea ecx, [esp + 8]
push ecx
call dword [0x4130b4]
mov dword [0x41a000], eax
test eax, eax
je 0x4042f8
push str.SomPlugin
push eax
call dword [0x4130ac]
mov dword [0x419ffc], eax
jmp 0x4042fd
mov eax, dword [0x419ffc]
test eax, eax
je 0x4042b6
push 0
push 0xffffffffffffffff
call eax
mov ecx, dword [esp + 0x200c]
pop esi
xor ecx, esp
call fcn.0040610e
add esp, 0x2010
ret
Function at 0x4047f0
Capabilities:
Hash data with md5

Disassembly:
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x41def2
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fe94f
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x549350]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
lea ecx, [esp + 0x14]
mov dword [esi + 0x258], edi
mov dword [esi + 0x25c], edi
call fcn.0041162c
push 0x50effc
mov ebx, 0x552d80
push ebx
push 0x5232a0
lea eax, [esp + 0x20]
mov dword [esp + 0x44], edi
call fcn.0041156c
add esp, 0xc
push dword [esp + 0x14]
call dword [0x50836c]
cmp eax, 0xffffffff
jne 0x41df98
push edi
call fcn.004e0559
pop ecx
push edi
push 0x64
push edx
push eax
call fcn.004eca20
cmp eax, edi
jne 0x41df89
cmp edx, edi
jne 0x41df89
mov dword [esi + 0x258], 1
mov dword [esi + 0x25c], 1
jmp 0x41e089
lea ecx, [esp + 0x20]
call fcn.0041162c
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 1
call fcn.0040e3ac
test eax, eax
je 0x41dfcf
push 0x50effc
push ebx
lea eax, [esp + 0x28]
push eax
call fcn.0041e1a9
cmp eax, edi
jne 0x41dfdd
lea esi, [esp + 0x20]
call fcn.0041e2fb
jmp 0x41e080
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
lea eax, [esp + 0x18]
push eax
push 0x50f4fc
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 2
call fcn.0041e1fe
test eax, eax
jne 0x41e014
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0041e265
test eax, eax
je 0x41e064
push edi
push 0x524424
lea ecx, [esp + 0x20]
call fcn.004107ea
cmp eax, edi
jne 0x41e056
push edi
call fcn.004e0559
pop ecx
push edi
push 0x64
push edx
push eax
call fcn.004eca20
cmp eax, edi
jne 0x41e04a
cmp edx, edi
jne 0x41e04a
mov dword [esi + 0x258], 1
mov dword [esi + 0x25c], 1
jmp 0x41e064
xor ecx, ecx
cmp eax, 2
sete cl
mov dword [esi + 0x258], ecx
lea esi, [esp + 0x20]
call fcn.0041e2fb
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x41e080
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea esi, [esp + 0x20]
call fcn.00410c02
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.0040d58f
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41e310
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
push esi
xor esi, esi
cmp dword [0x550178], esi
mov ebx, eax
jne 0x41e325
mov dword [0x550178], esi
push dword [esp + 8]
lea eax, [ebx + 0x20]
push eax
push 0x550148
call fcn.00416466
add esp, 0xc
movzx eax, ax
push eax
push esi
push esi
push 0x80000000
push esi
xor eax, eax
push eax
push esi
call fcn.004542c2
push 0x11
push 2
push 2
call dword [0x5086a8]
cmp eax, 0xffffffff
mov dword [ebx + 0x24], eax
jne 0x41e369
xor eax, eax
pop esi
pop ebx
pop ecx
ret
push 1
push 0x84c
push dword [ebx + 4]
push eax
call dword [0x508690]
cmp eax, 0xffffffff
je 0x41e363
pop esi
mov ecx, ebx
pop ebx
add esp, 4
jmp fcn.0041e869
Function at 0x4278af
Capabilities:
Hash data using sha1

Disassembly:
xor ecx, ecx
cmp eax, ecx
jne 0x4278b9
xor eax, eax
inc eax
ret
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x60], ecx
mov dword [eax + 0x64], ecx
xor eax, eax
ret

Function at 0x427b13
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [eax + 0x1c]
mov byte [ecx + eax + 0x20], 0x80
inc dword [eax + 0x1c]
cmp ecx, 0x37
mov ecx, dword [eax + 0x1c]
jle 0x427b5d
jmp 0x427b33
mov byte [ecx + eax + 0x20], 0
inc dword [eax + 0x1c]
mov ecx, dword [eax + 0x1c]
cmp ecx, 0x40
jl 0x427b28
call fcn.0042795e
jmp 0x427b4a
mov ecx, dword [eax + 0x1c]
mov byte [eax + ecx + 0x20], 0
inc dword [eax + 0x1c]
cmp dword [eax + 0x1c], 0x38
jl 0x427b3f
jmp 0x427b62
mov byte [ecx + eax + 0x20], 0
inc dword [eax + 0x1c]
mov ecx, dword [eax + 0x1c]
cmp ecx, 0x38
jl 0x427b52
mov ecx, dword [eax + 0x18]
mov edx, ecx
shr edx, 0x18
mov byte [eax + 0x58], dl
mov edx, ecx
shr ecx, 8
mov byte [eax + 0x5a], cl
mov cl, byte [eax + 0x18]
shr edx, 0x10
mov byte [eax + 0x5b], cl
mov ecx, dword [eax + 0x14]
mov byte [eax + 0x59], dl
mov edx, ecx
shr edx, 0x18
mov byte [eax + 0x5c], dl
mov edx, ecx
shr edx, 0x10
shr ecx, 8
mov byte [eax + 0x5e], cl
mov cl, byte [eax + 0x14]
mov byte [eax + 0x5d], dl
mov byte [eax + 0x5f], cl
jmp fcn.0042795e
Function at 0x48fcc8
Capabilities:
Write file on windows

Disassembly:
push 0x54
mov eax, 0x4fa62b
call fcn.004e5a90
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x3c], ebx
mov dword [ebp - 0x3c], edi
je 0x48fde1
cmp byte [edi + 0x41], bl
je 0x48fde1
mov eax, dword [edi]
push 0xffffffffffffffff
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x48fd00
xor al, al
jmp 0x48fde3
lea esi, [ebp - 0x30]
call fcn.0048fde9
lea eax, [edi + 0x44]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x1c]
lea ebx, [ebp - 0x48]
lea esi, [ebp - 0x30]
mov dword [ebp - 0x34], eax
call fcn.0048fe92
mov esi, eax
call fcn.0048fe5f
add eax, dword [ebp - 0x34]
lea ebx, [ebp - 0x60]
lea esi, [ebp - 0x30]
mov dword [ebp - 0x34], eax
call fcn.0048fe92
mov esi, eax
call fcn.0048fe5f
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
lea esi, [ebp - 0x38]
push esi
push dword [ebp - 0x34]
push eax
push dword [ebp - 0x40]
call dword [edx + 0x18]
xor ebx, ebx
sub eax, ebx
je 0x48fd65
dec eax
je 0x48fd68
dec eax
dec eax
jne 0x48fdd1
mov bl, 1
jmp 0x48fdd1
mov byte [edi + 0x41], bl
lea ebx, [ebp - 0x58]
lea esi, [ebp - 0x30]
call fcn.0048fe92
mov esi, eax
call fcn.0048fe5f
mov ecx, dword [ebp - 0x38]
sub ecx, eax
mov dword [ebp - 0x34], ecx
je 0x48fdad
push dword [edi + 0x4c]
lea ebx, [ebp - 0x50]
push ecx
push 1
lea esi, [ebp - 0x30]
call fcn.0048fe92
mov esi, eax
call fcn.0048fe5f
push eax
call fcn.004e26e0
add esp, 0x10
cmp dword [ebp - 0x34], eax
jne 0x48fdcf
mov ecx, dword [ebp - 0x34]
cmp byte [edi + 0x41], 0
je 0x48fd61
test ecx, ecx
jne 0x48fd11
push ecx
push 8
pop ebx
lea edi, [ebp - 0x30]
call fcn.0048fed8
mov edi, dword [ebp - 0x3c]
jmp 0x48fd11
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.0040cff2
mov al, bl
jmp 0x48fde3
mov al, 1
call fcn.004e5b13
ret