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

Disassembly:
push 0xffffffffffffffff
push 0x40b158
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CDC::CDC
mov eax, dword [esi + 0x144]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x173
push eax
mov dword [esp + 0x4c], 0
call ebx
lea ecx, [esp + 0x1c]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.MFC42.DLL_CDC::FromHandle
mov edi, eax
test edi, edi
je 0x4096ad
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [esi + 0x144]
push 0
push 0
push 0x173
push eax
call ebx
test eax, eax
je 0x4096e0
mov ecx, dword [esp + 0x10]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
neg eax
sbb eax, eax
mov ecx, dword [edi + 4]
push 0xcc0020
and eax, edx
mov edx, dword [esp + 0x28]
push 0
push 0
push eax
mov eax, dword [esp + 0x30]
push edx
push eax
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [edi + 4]
mov eax, dword [esi + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00409b5e
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret

Function at 0x1000125c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0
call sub.KERNEL32.DLL_GetEnvironmentStringsA
mov ebx, eax
mov dword [ebp - 0x10], ebx
jmp 0x10001299
cmp byte [ebx], 0x3d
je 0x10001285
inc dword [ebp - 0xc]
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
lea ebx, [ebx + edi]
cmp byte [ebx], 0
jne 0x10001278
mov edi, dword [ebp - 0xc]
inc edi
lea edi, [edi*4]
mov dword [ebp - 0x14], edi
push dword [ebp - 0x14]
call sub.CRTDLL.DLL_malloc
pop ecx
mov dword [ebp - 8], eax
mov dword [0x10003010], eax
cmp dword [ebp - 8], 0
jne 0x100012cc
xor eax, eax
jmp 0x10001342
mov ebx, dword [ebp - 0x10]
jmp 0x10001325
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
mov dword [ebp - 4], edi
cmp byte [ebx], 0x3d
je 0x1000131f
push dword [ebp - 4]
call sub.CRTDLL.DLL_malloc
pop ecx
mov esi, dword [ebp - 8]
mov dword [esi], eax
or eax, eax
jne 0x10001308
jmp 0x10001342
push ebx
mov edi, dword [ebp - 8]
push dword [edi]
call sub.CRTDLL.DLL_strcpy
add esp, 8
add dword [ebp - 8], 4
mov edx, dword [ebp - 4]
lea ebx, [ebx + edx]
cmp byte [ebx], 0
jne 0x100012d1
mov edx, dword [ebp - 8]
mov dword [edx], 0
mov eax, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406afb
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x428084], 0
jne 0x406b39
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b0f
mov dword [ecx*4 + 0x428080], eax
inc ecx
cmp ecx, 0x100
jl 0x406b0a
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406b66
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x428080]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406b47
not eax
pop ebp
ret 0xc

Function at 0x42e001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
mov ecx, 0x604e0478
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x41d555bb
nop
nop
nop
nop
test eax, eax
je 0x42e084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x403130
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x10
push esi
mov esi, 0xf003f
call fcn.00405700
push 0
test eax, eax
mov ecx, 0xf013f
lea eax, [esp + 0xc]
push eax
push 0
cmovne esi, ecx
push esi
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionAuthenticationLogonUIBackground
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
pop esi
test eax, eax
jne 0x4031d6
mov dword [esp], eax
lea eax, [esp + 8]
push eax
lea eax, [esp + 4]
mov dword [esp + 0xc], 4
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 4
push eax
push 0
push str.OEMBackground
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [esp], 1
je 0x4031dc
push 4
lea eax, [esp + 4]
mov dword [esp + 4], 1
push eax
push 4
push 0
push str.OEMBackground
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4031dc
push dword [esp + 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 0x10
ret
push dword [esp + 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add esp, 0x10
ret
Function at 0x403990
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x14
lea eax, [esp]
push eax
push 1
push 0
push str.SOFTWAREHemesoftEosClient
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4039b5
xor eax, eax
add esp, 0x14
ret
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0xc]
push edi
push eax
xor ebx, ebx
xor edi, edi
push ebx
push ebx
push ebx
push str.Host
push dword [esp + 0x20]
mov dword [esp + 0x28], ebx
call ebp
test eax, eax
jne 0x403a46
mov eax, dword [esp + 0x10]
shr eax, 1
cmp eax, 1
je 0x403a46
push esi
mov esi, dword [esp + 0x28]
dec eax
mov ecx, dword [esi + 0x10]
cmp eax, ecx
ja 0x403a12
mov dword [esi + 0x10], eax
cmp dword [esi + 0x14], 8
jb 0x403a08
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x403a1e
mov ecx, esi
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x403a1e
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00404280
cmp dword [esi + 0x14], 8
jb 0x403a26
mov esi, dword [esi]
lea eax, [esp + 0x14]
push eax
push esi
push 0
push 0
push str.Host
push dword [esp + 0x24]
call ebp
test eax, eax
mov ecx, 1
pop esi
cmove edi, ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x14], ebx
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 4
push eax
push 0
push str.Port
push dword [esp + 0x20]
call ebp
test eax, eax
jne 0x403a92
mov ecx, dword [esp + 0x14]
cmp ecx, 0xffff
ja 0x403a92
mov eax, dword [esp + 0x28]
mov ebx, 1
mov word [eax], cx
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x403ab0
test ebx, ebx
je 0x403ab0
pop edi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14
ret
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret
Function at 0x404b10
Capabilities:
Write file on windows

Disassembly:
push ecx
push edi
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x404b3a
xor eax, eax
pop edi
pop ecx
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x10]
push ebx
lea ebx, [eax + 0x10]
push esi
mov esi, 1
test ecx, ecx
je 0x404b7d
cmp dword [eax + 0x14], 0x10
mov dword [esp + 0xc], 0
jb 0x404b5f
mov eax, dword [eax]
push 0
lea edx, [esp + 0x10]
push edx
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x404b7b
mov eax, dword [esp + 0xc]
cmp eax, dword [ebx]
je 0x404b7d
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
pop ecx
ret

Function at 0x404b90
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x404bba
xor eax, eax
pop edi
pop ecx
ret
push ebx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x404c21
push esi
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x10]
cmp ebx, ecx
ja 0x404bf0
mov dword [esi + 0x10], ebx
cmp dword [esi + 0x14], 0x10
jb 0x404be8
mov eax, dword [esi]
mov byte [eax + ebx], 0
jmp 0x404bfc
mov eax, esi
mov byte [eax + ebx], 0
jmp 0x404bfc
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00405c70
cmp dword [esi + 0x14], 0x10
mov dword [esp + 0xc], 0
jb 0x404c0c
mov esi, dword [esi]
push 0
lea eax, [esp + 0x10]
push eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop esi
test eax, eax
jne 0x404c2e
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
xor eax, eax
pop edi
pop ecx
ret
push edi
cmp ebx, dword [esp + 0xc]
jne 0x404c22
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov eax, 1
pop edi
pop ecx
ret

Function at 0x404df0
Capabilities:
Get hostname

Disassembly:
sub esp, 0x28
mov eax, dword [0x429084]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov esi, dword [esp + 0x30]
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
mov dword [esp + 8], 0x10
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x404e2f
push dword [esp + 4]
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.00401830
mov ecx, dword [esp + 0x28]
pop esi
xor ecx, esp
call fcn.0040a2d1
add esp, 0x28
ret
Function at 0x405200
Capabilities:
Get mac address on windows

Disassembly:
mov eax, 0x2888
call fcn.0040a5b0
mov eax, dword [0x429084]
xor eax, esp
mov dword [esp + 0x2884], eax
push edi
mov edi, dword [esp + 0x2890]
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
mov dword [esp + 8], 0x2880
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x405253
xor eax, eax
pop edi
mov ecx, dword [esp + 0x2884]
xor ecx, esp
call fcn.0040a2d1
add esp, 0x2888
ret
push esi
lea esi, [esp + 0xc]
nop dword [eax + eax]
mov eax, dword [esi + 0x1a0]
cmp eax, 6
je 0x405270
cmp eax, 0x47
jne 0x405280
lea eax, [esi + 8]
push eax
call fcn.004055d0
add esp, 4
test eax, eax
jne 0x40529f
mov esi, dword [esi]
test esi, esi
jne 0x405260
pop esi
xor eax, eax
pop edi
mov ecx, dword [esp + 0x2884]
xor ecx, esp
call fcn.0040a2d1
add esp, 0x2888
ret
push dword [esi + 0x190]
add esi, 0x194
mov ecx, edi
push esi
call fcn.00404620
mov ecx, dword [esp + 0x288c]
mov eax, 1
pop esi
pop edi
xor ecx, esp
call fcn.0040a2d1
add esp, 0x2888
ret

Function at 0x4052d0
Capabilities:
Get common file path
Get disk information

Disassembly:
sub esp, 0x20c
mov eax, dword [0x429084]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
mov esi, dword [esp + 0x214]
lea eax, [esp + 4]
push eax
push 0
push 0
push 0x24
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x40531b
xor eax, eax
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0040a2d1
add esp, 0x20c
ret
lea eax, [esp + 4]
push 0x5c
push eax
call fcn.0040d14a
add esp, 8
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [esp + 4]
push ecx
push ecx
push ecx
push ecx
push esi
push ecx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov ecx, dword [esp + 0x20c]
pop esi
xor ecx, esp
call fcn.0040a2d1
add esp, 0x20c
ret
Function at 0x4055d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x429084]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov esi, dword [esp + 0x21c]
lea eax, [esp + 0x10]
push 0x100
push 0
push eax
call fcn.0040cff0
push str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_
lea eax, [esp + 0x20]
push 0x100
push eax
call fcn.00411782
push esi
lea eax, [esp + 0x2c]
push 0x100
push eax
call fcn.00411782
push str.Connection
lea eax, [esp + 0x38]
push 0x100
push eax
call fcn.00411782
add esp, 0x30
lea eax, [esp + 4]
push eax
push 1
push 0
lea eax, [esp + 0x1c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop esi
test eax, eax
jne 0x405696
lea eax, [esp + 4]
mov dword [esp + 8], 1
push eax
lea eax, [esp + 0x110]
mov dword [esp + 8], 0x104
push eax
lea eax, [esp + 0x10]
push eax
push 0
push str.PnpInstanceID
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [esp]
test eax, eax
je 0x4056ad
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0040a2d1
add esp, 0x214
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [esp + 0x10c]
cmp al, 0x50
je 0x4056c2
cmp al, 0x70
jne 0x405696
mov al, byte [esp + 0x10d]
cmp al, 0x43
je 0x4056d1
cmp al, 0x63
jne 0x405696
mov al, byte [esp + 0x10e]
cmp al, 0x49
je 0x4056e0
cmp al, 0x69
jne 0x405696
mov ecx, dword [esp + 0x210]
mov eax, 1
xor ecx, esp
call fcn.0040a2d1
add esp, 0x214
ret

Function at 0x405740
Capabilities:
Query service status
Start service
Stop service

Disassembly:
sub esp, 0x20
mov eax, dword [0x429084]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
mov esi, dword [esp + 0x2c]
push 0x20000000
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x405780
push 0x34
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x405793
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0040a2d1
add esp, 0x20
ret
push ebp
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea eax, [esp + 0x10]
push eax
push esi
mov ebp, 1
call edi
test eax, eax
jne 0x4057b0
xor ebp, ebp
jmp 0x4057fd
cmp dword [esp + 0x14], ebp
je 0x4057ec
lea eax, [esp + 0x10]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x4057ac
lea eax, [esp + 0x10]
push eax
push esi
call edi
test eax, eax
je 0x4057e6
cmp dword [esp + 0x14], ebp
je 0x4057ec
lea eax, [esp + 0x10]
push eax
push esi
call edi
test eax, eax
jne 0x4057d4
cmp dword [esp + 0x14], ebp
jne 0x4057fd
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
neg eax
sbb eax, eax
and ebp, eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebx
call esi
mov ecx, dword [esp + 0x2c]
mov eax, ebp
pop edi
pop ebp
pop esi
pop ebx
xor ecx, esp
call fcn.0040a2d1
add esp, 0x20
ret
Function at 0x405820
Capabilities:
Get common file path

Disassembly:
cmp dword [esp + 8], 0x104
jae 0x40582d
xor eax, eax
ret
push dword [esp + 4]
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x40582a
mov eax, dword [esp + 0xc]
test eax, eax
je 0x405860
push eax
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.004116a9
add esp, 0xc
test eax, eax
jne 0x40582a
mov eax, 1
ret

Function at 0x405fe0
Capabilities:
Enumerate pe sections

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov eax, 0x40
mov ecx, dword [esi]
and ecx, 0x3f
mov byte [ecx + esi + 0x18], 0x80
inc ecx
sub eax, ecx
cmp eax, 8
jae 0x406020
push eax
lea eax, [esi + 0x18]
add eax, ecx
push 0
push eax
call fcn.0040cff0
push 0x40
lea eax, [esi + 0x18]
push eax
push esi
call fcn.004061f0
add esp, 0x18
mov eax, 0x40
xor ecx, ecx
add eax, 0xfffffff8
push eax
lea eax, [esi + 0x18]
add eax, ecx
push 0
push eax
call fcn.0040cff0
shl dword [esi], 3
movzx eax, byte [esi]
mov byte [esi + 0x50], al
mov eax, dword [esi]
shr eax, 8
mov byte [esi + 0x51], al
movzx eax, byte [esi + 2]
mov byte [esi + 0x52], al
movzx eax, byte [esi + 3]
mov byte [esi + 0x53], al
movzx eax, byte [esi + 4]
mov byte [esi + 0x54], al
mov eax, dword [esi + 4]
shr eax, 8
mov byte [esi + 0x55], al
movzx eax, byte [esi + 6]
mov byte [esi + 0x56], al
movzx eax, byte [esi + 7]
mov byte [esi + 0x57], al
lea eax, [esi + 0x18]
push 0x40
push eax
push esi
call fcn.004061f0
mov ecx, dword [esp + 0x20]
movzx eax, byte [esi + 8]
push 0x98
push 0
mov byte [ecx], al
mov eax, dword [esi + 8]
shr eax, 8
mov byte [ecx + 1], al
movzx eax, byte [esi + 0xa]
mov byte [ecx + 2], al
movzx eax, byte [esi + 0xb]
mov byte [ecx + 3], al
movzx eax, byte [esi + 0xc]
mov byte [ecx + 4], al
mov eax, dword [esi + 0xc]
shr eax, 8
mov byte [ecx + 5], al
movzx eax, byte [esi + 0xe]
mov byte [ecx + 6], al
movzx eax, byte [esi + 0xf]
mov byte [ecx + 7], al
movzx eax, byte [esi + 0x10]
mov byte [ecx + 8], al
mov eax, dword [esi + 0x10]
shr eax, 8
mov byte [ecx + 9], al
movzx eax, byte [esi + 0x12]
mov byte [ecx + 0xa], al
movzx eax, byte [esi + 0x13]
mov byte [ecx + 0xb], al
movzx eax, byte [esi + 0x14]
mov byte [ecx + 0xc], al
mov eax, dword [esi + 0x14]
shr eax, 8
mov byte [ecx + 0xd], al
movzx eax, byte [esi + 0x16]
mov byte [ecx + 0xe], al
movzx eax, byte [esi + 0x17]
push esi
mov byte [ecx + 0xf], al
call fcn.0040cff0
add esp, 0x24
pop esi
ret

Function at 0x406110
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax], 0
mov dword [eax + 4], 0
ret
Function at 0x417bfd
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004178ab
Function at 0x1000127b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x10007940
call fcn.10007694
sub esp, 0x1ac
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x28], esi
lea ecx, [esi + 4]
call fcn.10001000
xor ebx, ebx
lea ecx, [esi + 0x14]
mov dword [ebp - 4], ebx
call fcn.10001000
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
call fcn.10001000
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
call fcn.10001000
lea eax, [ebp - 0x1b8]
mov byte [ebp - 4], 3
push eax
push 0x202
mov dword [esi], 0x10008230
call dword [0x1000bf18]
push ebx
push ebx
push 1
push ebx
call dword [0x1000be44]
or dword [esi + 0x48], 0xffffffff
mov dword [esi + 0x4c], eax
lea eax, [ebp - 0x10]
push 3
push eax
lea eax, [esi + 0x54]
push eax
mov byte [esi + 0x57], bl
mov byte [ebp - 0x10], 0x68
mov byte [ebp - 0xf], 0x78
mov byte [ebp - 0xe], 0x20
call dword [0x1000bf08]
lea eax, [ebp - 0x24]
mov byte [ebp - 0x24], 0x45
push eax
mov byte [ebp - 0x23], 0x77
mov byte [ebp - 0x22], 0x69
mov byte [ebp - 0x21], 0x6e
mov byte [ebp - 0x20], 0x68
mov byte [ebp - 0x1f], 0x50
mov byte [ebp - 0x1e], 0x72
mov byte [ebp - 0x1d], 0x6f
mov byte [ebp - 0x1c], 0x74
mov byte [ebp - 0x1b], 0x6f
mov byte [ebp - 0x1a], 0x63
mov byte [ebp - 0x19], 0x6f
mov byte [ebp - 0x18], 0x6c
mov byte [ebp - 0x17], 0x48
mov byte [ebp - 0x16], 0x6f
mov byte [ebp - 0x15], 0x73
mov byte [ebp - 0x14], 0x74
mov byte [ebp - 0x13], 0x79
mov byte [ebp - 0x12], bl
call sub.MSVCRT.dll_strlen
add esp, 0x10
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
push 0x1000b390
call fcn.10001b53
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x10001d2d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
mov edi, ecx
mov eax, dword [esi]
push 0x80
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
push 3
mov dword [ebp + 8], eax
push 0
push 2
lea eax, [edi + 0x18]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 8]
push 0
push eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff8
add esi, 8
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov ecx, dword [0x1000b490]
add dword [ebp + 8], eax
lea eax, [ebp - 4]
push 4
push eax
lea eax, [ebp - 0x13]
mov byte [ebp - 0x14], 0xdb
push eax
call fcn.1000591f
mov ecx, dword [0x1000b490]
lea eax, [ebp + 8]
push 4
push eax
lea eax, [ebp - 0xf]
push eax
call fcn.1000591f
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x14]
push 9
push eax
mov ecx, edi
call fcn.10004dcf
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10001de3
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
push 0
mov esi, ecx
push 0x80
push 3
push 0
push 0
lea eax, [esi + 0x18]
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10001e20
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.10001e9b
jmp 0x10001e95
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x1000b490]
lea eax, [ebp - 4]
push 4
push eax
lea eax, [ebp - 0x17]
mov byte [ebp - 0x18], 0xdd
push eax
call fcn.1000591f
mov ecx, dword [0x1000b490]
lea eax, [ebp - 8]
push 4
push eax
lea eax, [ebp - 0x13]
push eax
call fcn.1000591f
mov ecx, dword [0x1000b490]
push 4
lea eax, [ebp - 0xf]
push 0x1000b494
push eax
call fcn.1000591f
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x18]
push 0xd
push eax
mov ecx, esi
call fcn.10004dcf
pop edi
pop esi
leave
ret 4
Function at 0x10002ada
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
and byte [ebp - 1], 0
push esi
push 0x104
mov esi, 0x1000bad0
push 0
push esi
mov byte [ebp - 2], 0x5c
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0
push 0x1a
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov ecx, dword [0x1000b490]
lea eax, [ebp - 2]
push eax
push esi
call fcn.10005949
push dword [ebp + 8]
mov ecx, dword [0x1000b490]
push esi
call fcn.10005949
pop esi
leave
ret

Function at 0x10002bab
Capabilities:
Check if file exists
Get file attributes
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov al, byte [0x1000aa8c]
push esi
xor esi, esi
push edi
cmp dword [0x1000bbd8], esi
mov byte [ebp - 4], al
jne 0x10002c8c
push dword [ebp + 8]
call fcn.10002ada
pop ecx
mov edi, 0x1000bad0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10002bf0
push 0x7b
push edi
call fcn.10002a54
pop ecx
pop ecx
jmp 0x10002c7e
push esi
push 0x80
push 3
push esi
push esi
push bind
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [0x1000bac8], eax
je 0x10002c7e
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 4
push 0x3000
push eax
push esi
mov dword [0x1000b6c0], eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push esi
push 0x1000bac4
push dword [0x1000b6c0]
mov dword [0x1000bbd4], eax
push eax
push dword [0x1000bac8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [0x1000bac8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [0x1000b6c0]
push dword [0x1000bbd4]
call fcn.10002b2b
push dword [0x1000bbd4]
call fcn.10004e14
add esp, 0xc
cmp eax, esi
mov dword [0x1000bacc], eax
jne 0x10002c82
xor eax, eax
jmp 0x10002cc0
mov dword [0x1000bbd8], 1
push dword [ebp + 0xc]
push dword [0x1000bacc]
call fcn.1000524c
pop ecx
cmp eax, esi
pop ecx
je 0x10002cbe
push dword [ebp + 0x10]
push str.127.0.0.1
push dword [ebp - 4]
push esi
push dword [0x1000a268]
push 0x1000bbe4
call eax
add esp, 0x18
mov esi, eax
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x10002dca
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
lea eax, [ebp - 0x104]
push 0x104
push eax
push dword [0x1000bde8]
call dword [0x1000be1c]
cmp dword [ebp + 8], 0
je 0x10002e12
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x208]
push str.Rundll32___s__DllUpdate__s
push eax
call dword [0x1000be88]
add esp, 0x10
jmp 0x10002e2e
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x208]
push str.Rundll32___s__Uninstall
push eax
call dword [0x1000be88]
add esp, 0xc
lea eax, [ebp - 0x208]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [0x1000c364], 1
leave
ret