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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x49f008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
xor eax, eax
push 3
pop esi
inc eax
mov dword [ebp - 0x10c], 0x104
mov dword [ebp - 0x110], eax
mov ebx, ecx
lea eax, [ebp - 0x11c]
xor ecx, ecx
push eax
push 0x20019
push ecx
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x114], ecx
call edi
test eax, eax
jne 0x44c657
push ebx
push str._sConnection
lea eax, [ebp - 0x108]
push 0x103
push eax
call fcn.0044cafb
add esp, 0x10
lea eax, [ebp - 0x118]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x11c]
call edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x44c64f
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 4
pop eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push str.MediaSubType
push dword [ebp - 0x118]
call ebx
test eax, eax
jne 0x44c647
push 0x104
push eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x110], 1
push eax
mov dword [ebp - 0x10c], 0x103
call fcn.00451eb0
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push str.PnpInstanceID
push dword [ebp - 0x118]
call ebx
test eax, eax
jne 0x44c647
mov eax, dword [ebp - 0x114]
xor ebx, ebx
inc ebx
cmp eax, ebx
jne 0x44c641
push esi
lea eax, [ebp - 0x108]
push 0x495e74
push eax
call fcn.00461360
add esp, 0xc
test eax, eax
jne 0x44c613
xor esi, esi
jmp 0x44c647
mov eax, dword [ebp - 0x114]
cmp eax, ebx
jne 0x44c641
push esi
lea eax, [ebp - 0x108]
push 0x495e74
push eax
call fcn.00461360
add esp, 0xc
test eax, eax
je 0x44c63b
push 2
pop esi
jmp 0x44c647
mov eax, dword [ebp - 0x114]
cmp eax, 2
cmove esi, ebx
push dword [ebp - 0x118]
call edi
push dword [ebp - 0x11c]
call edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044df7a
mov esp, ebp
pop ebp
ret
Function at 0x44c8b8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2aa8
call fcn.00476590
mov eax, dword [0x49f008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x208
lea eax, [ebp - 0x20c]
push esi
xor ebx, ebx
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x2a98], edi
call fcn.00451eb0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x44c90d
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x44c94e
push 0x5c
pop eax
cmp ax, word [ebp + ecx*2 - 0x20e]
je 0x44c94e
mov word [ebp + ecx*2 - 0x20c], ax
lea ecx, [ecx*2 + 2]
cmp ecx, esi
jae 0x44cacc
xor eax, eax
mov word [ebp + ecx - 0x20c], ax
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x44c957
sub ecx, edx
mov edx, 0x104
sar ecx, 1
mov eax, edx
sub eax, ecx
push eax
push str.iphlpapi.dll
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.00463ef9
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x2aa8], eax
test eax, eax
jne 0x44c9a3
xor al, al
jmp 0x44cabb
push 0x495e78
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x44ca94
lea ecx, [ebp - 0x2aa0]
mov dword [ebp - 0x2aa0], 0x2880
push ecx
lea ecx, [ebp - 0x2a8c]
push ecx
call eax
test eax, eax
jne 0x44ca94
push 3
pop eax
mov dword [ebp - 0x2a9c], eax
lea esi, [ebp - 0x2a8c]
mov ebx, edi
lea eax, [ebp - 0x2a94]
sub ebx, eax
lea ecx, [esi + 8]
call fcn.0044c4a9
xor ecx, ecx
mov dword [ebp - 0x2aa4], eax
mov dword [ebp - 0x2a94], ecx
mov edi, ecx
mov word [ebp - 0x2a90], cx
lea edx, [ebp - 0x2a94]
add edx, edi
mov cl, byte [ebx + edx]
cmp cl, byte [edx]
jne 0x44ca28
inc edi
cmp edi, 6
jb 0x44ca11
jmp 0x44ca39
cmp dword [esi + 0x1a0], 6
jne 0x44ca82
cmp dword [ebp - 0x2a9c], eax
jle 0x44ca82
mov edi, dword [ebp - 0x2a98]
mov al, byte [esi + 0x194]
mov byte [edi], al
mov al, byte [esi + 0x195]
mov byte [edi + 1], al
mov al, byte [esi + 0x196]
mov byte [edi + 2], al
mov al, byte [esi + 0x197]
mov byte [edi + 3], al
mov al, byte [esi + 0x198]
mov byte [edi + 4], al
mov al, byte [esi + 0x199]
mov byte [edi + 5], al
mov eax, dword [ebp - 0x2aa4]
mov dword [ebp - 0x2a9c], eax
jmp 0x44ca88
mov edi, dword [ebp - 0x2a98]
mov esi, dword [esi]
test esi, esi
jne 0x44c9f2
xor ebx, ebx
push dword [ebp - 0x2aa8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x2a94]
mov dword [ebp - 0x2a94], ebx
push eax
mov ecx, edi
mov word [ebp - 0x2a90], bx
call fcn.0044c480
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044df7a
mov esp, ebp
pop ebp
ret
call fcn.0044e0ae
int3
Function at 0x44cfaf
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd48
mov eax, dword [0x49f008]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor bl, bl
mov dword [ebp - 0xd40], edx
push edi
mov dword [ebp - 0xd3c], ecx
xor esi, esi
mov dword [ebp - 0xd44], eax
test bl, bl
jne 0x44d204
push 0x200
lea eax, [ebp - 0x50c]
push 0
push eax
call fcn.00451eb0
add esp, 0xc
lea eax, [ebp - 0x50c]
push esi
push str..PhysicalDrive_d
push 0xff
push eax
call fcn.0044d374
add esp, 0x10
lea eax, [ebp - 0x50c]
xor edi, edi
push edi
push edi
push 3
push edi
push 3
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xd38], eax
cmp eax, 0xffffffff
je 0x44d1fa
mov dword [ebp - 0xd34], edi
xor eax, eax
lea edi, [ebp - 0xd18]
stosd dword es:[edi], eax
push 0x800
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xd0c]
xor edi, edi
push edi
push eax
mov dword [ebp - 0xd18], edi
mov dword [ebp - 0xd14], edi
call fcn.00451eb0
add esp, 0xc
lea eax, [ebp - 0xd34]
push edi
mov edi, dword [ebp - 0xd38]
push eax
push 0x800
lea eax, [ebp - 0xd0c]
push eax
push 0xc
lea eax, [ebp - 0xd18]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x44d1ed
push 0x100
lea eax, [ebp - 0x10c]
push 0
push eax
call fcn.00451eb0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x100
push 0
push eax
call fcn.00451eb0
add esp, 0xc
lea eax, [ebp - 0x30c]
push 0x100
push 0
push eax
call fcn.00451eb0
mov edx, dword [ebp - 0xcfc]
lea eax, [ebp - 0x20c]
add esp, 0xc
lea ecx, [ebp - 0xd0c]
push eax
push 0
call fcn.0044cba3
mov edx, dword [ebp - 0xcf8]
lea eax, [ebp - 0x30c]
push eax
push 0
lea ecx, [ebp - 0xd0c]
call fcn.0044cba3
call fcn.00449fda
mov edx, dword [ebp - 0xcf4]
lea ecx, [ebp - 0x10c]
cmp eax, 0xb
push ecx
setl al
lea ecx, [ebp - 0xd0c]
movzx eax, al
push eax
call fcn.0044cba3
movsx eax, byte [ebp - 0x10c]
push eax
call fcn.00461157
add esp, 0x1c
test eax, eax
jne 0x44d16e
movsx eax, byte [ebp - 0xf9]
push eax
call fcn.00461157
pop ecx
test eax, eax
je 0x44d1f3
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0xd30]
call fcn.0042ec50
mov ecx, dword [ebp - 0xd3c]
push eax
call fcn.004273f0
lea ecx, [ebp - 0xd30]
call fcn.00411d80
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0xd30]
call fcn.0042ec50
mov ecx, dword [ebp - 0xd40]
push eax
call fcn.004273f0
lea ecx, [ebp - 0xd30]
call fcn.00411d80
lea eax, [ebp - 0x30c]
push eax
lea ecx, [ebp - 0xd30]
call fcn.0042ec50
mov ecx, dword [ebp - 0xd44]
push eax
call fcn.004273f0
lea ecx, [ebp - 0xd30]
call fcn.00411d80
mov bl, 1
jmp 0x44d1f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, 0x10
jl 0x44cfde
mov ecx, dword [ebp - 8]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044df7a
mov esp, ebp
pop ebp
ret
Function at 0x44d217
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x49f008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
call fcn.00449fda
cmp eax, 5
jle 0x44d2b4
push 0x1d
pop ecx
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem_
lea edi, [ebp - 0x80]
rep movsd dword es:[edi], dword [esi]
push 4
pop eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x84]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x80]
movsw word es:[edi], word [esi]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44d2b4
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x8c]
push eax
push ebx
push str.EnableLUA
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x90], 1
push dword [ebp - 0x84]
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044df7a
mov esp, ebp
pop ebp
ret

Function at 0x44dbfb
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x49f008]
xor eax, esp
mov dword [esp + 0x60], eax
and dword [esp + 0x18], 0
and dword [esp + 0x14], 0
push esi
mov esi, dword [ebp + 8]
push edx
mov edx, ecx
mov dword [esp + 0xc], 0x67452301
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.0044d390
pop ecx
lea edx, [esp + 8]
mov ecx, esi
call fcn.0044d44a
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.0044df7a
mov esp, ebp
pop ebp
ret
Function at 0x46c240
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046c0bd

Function at 0x46e0ff
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046dd99
Function at 0x404ab0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov dword [0x56646c], 0
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_BringWindowToTop]
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret

Function at 0x4052e0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51a770
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x55f904]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [edi]
call fcn.004055d0
mov eax, dword [edi]
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov dword [eax], eax
mov eax, dword [edi]
mov dword [eax + 4], eax
lea eax, [ebp - 0x230]
push eax
push 0
mov dword [edi + 4], 0
mov dword [ebp - 0x230], 0
call esi
test eax, eax
je 0x40534b
cmp eax, 0x6f
jne 0x405374
push dword [ebp - 0x230]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x405374
lea eax, [ebp - 0x230]
push eax
push ebx
call esi
test eax, eax
je 0x40537b
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
jmp 0x4054c5
xorps xmm0, xmm0
mov esi, ebx
movlpd qword [ebp - 0x1c], xmm0
mov eax, dword [esi + 0x194]
lea ecx, [ebp - 0x1c]
cmp eax, dword [ecx]
jne 0x4053a1
mov eax, dword [esi + 0x198]
cmp eax, dword [ecx + 4]
je 0x4054ac
push 0x20a
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.004f0080
movzx eax, byte [esi + 0x199]
add esp, 0xc
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push 0x54a688
push 0xffffffffffffffff
lea eax, [ebp - 0x22c]
push 0x104
push eax
call fcn.004052c0
add esp, 0x28
mov dword [ebp - 0x248], 0
xor eax, eax
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x234], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405432
sub eax, edx
lea ecx, [ebp - 0x248]
sar eax, 1
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.00403460
lea eax, [ebp - 0x248]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.004054f0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x4054ac
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4054a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4054e1
push edx
push ecx
call fcn.004ee3ca
add esp, 8
mov esi, dword [esi]
test esi, esi
jne 0x405385
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
cmp dword [edi + 4], eax
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004edf30
mov esp, ebp
pop ebp
ret
call fcn.004f890c
int3
Function at 0x406bd0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x55f904]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
test ecx, ecx
je 0x406d66
test edx, edx
jle 0x406d66
push edx
xorps xmm0, xmm0
mov byte [ebp - 0x34], 0
push ecx
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x9c], 0x67452301
mov dword [ebp - 0x98], 0xefcdab89
mov dword [ebp - 0x94], 0x98badcfe
mov dword [ebp - 0x90], 0x10325476
movups xmmword [ebp - 0x30], xmm0
mov byte [ebp - 0x10], 0
movups xmmword [ebp - 0x20], xmm0
call fcn.004063e0
cmp byte [ebp - 0x34], 0
jne 0x406d16
xor edx, edx
lea ecx, [ebp - 0x8b]
movzx eax, byte [ecx - 1]
lea ecx, [ecx + 4]
mov byte [ebp + edx - 0xc], al
movzx eax, byte [ecx - 4]
mov byte [ebp + edx - 0xb], al
movzx eax, byte [ecx - 3]
mov byte [ebp + edx - 0xa], al
movzx eax, byte [ecx - 2]
mov byte [ebp + edx - 9], al
add edx, 4
cmp edx, 8
jb 0x406c65
mov edx, dword [ebp - 0x8c]
mov ecx, 0x78
shr edx, 3
mov eax, 0x38
and edx, 0x3f
sub ecx, edx
sub eax, edx
cmp edx, 0x38
cmovae eax, ecx
lea ecx, [ebp - 0x9c]
push eax
push 0x560380
call fcn.004063e0
push 8
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x9c]
call fcn.004063e0
xor edx, edx
lea ecx, [ebp - 0x9b]
nop word [eax + eax]
movzx eax, byte [ecx - 1]
lea ecx, [ecx + 4]
mov byte [ebp + edx - 0x44], al
movzx eax, byte [ecx - 4]
mov byte [ebp + edx - 0x43], al
movzx eax, byte [ecx - 3]
mov byte [ebp + edx - 0x42], al
movzx eax, byte [ecx - 2]
mov byte [ebp + edx - 0x41], al
add edx, 4
cmp edx, 0x10
jb 0x406ce0
mov byte [ebp - 0x84], 0
mov byte [ebp - 0x34], 1
push esi
push edi
xor esi, esi
lea edi, [ebp - 0x30]
nop dword [eax]
movzx eax, byte [ebp + esi - 0x44]
push eax
push str._02x
push 3
push edi
call fcn.004063c0
inc esi
add esp, 0x10
add edi, 2
cmp esi, 0x10
jl 0x406d20
push 0x20
lea eax, [ebp - 0x30]
mov byte [ebp - 0x10], 0
push eax
mov ecx, ebx
call fcn.00405d20
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004edf30
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop ebx
call fcn.004edf30
mov esp, ebp
pop ebp
ret
Function at 0x408e90
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51a9c1
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x55f904]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x18], esi
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x5677d8]
cmp eax, dword [ecx + 4]
jle 0x409055
push 0x5677d8
call fcn.004ee073
add esp, 4
cmp dword [0x5677d8], 0xffffffff
jne 0x409055
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0xa8], 0x12
push eax
xorps xmm0, xmm0
mov dword [ebp - 0xa4], str.ko_KR
push ecx
movlpd qword [0x5677d0], xmm0
mov dword [ebp - 0xa0], 9
mov dword [ebp - 0x9c], str.en_US
mov dword [ebp - 0x98], 0x2a
mov dword [ebp - 0x94], str.vi_VN
mov dword [ebp - 0x90], 0x1e
mov dword [ebp - 0x8c], str.th_TH
mov dword [ebp - 0x88], 0x19
mov dword [ebp - 0x84], str.ru_RU
mov dword [ebp - 0x80], 0x22
mov dword [ebp - 0x7c], str.uk_UA
mov dword [ebp - 0x78], 0x16
mov dword [ebp - 0x74], str.pt_PT
mov dword [ebp - 0x70], 0x1f
mov dword [ebp - 0x6c], str.tr_TR
mov dword [ebp - 0x68], 0xa
mov dword [ebp - 0x64], str.es_ES
mov dword [ebp - 0x60], 0xc
mov dword [ebp - 0x5c], str.fr_FR
mov dword [ebp - 0x58], 7
mov dword [ebp - 0x54], str.de_DE
mov dword [ebp - 0x50], 0x11
mov dword [ebp - 0x4c], str.ja_JP
mov dword [ebp - 0x48], 0x21
mov dword [ebp - 0x44], str.in_ID
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], str.ar_IL
mov dword [ebp - 0x38], 0x29
mov dword [ebp - 0x34], str.fa_IR
mov dword [ebp - 0x30], 0x39
mov dword [ebp - 0x2c], str.hi_IN
mov dword [ebp - 0x28], 0x10
mov dword [ebp - 0x24], str.it_IT
mov dword [ebp - 0x20], 0x3e
mov dword [ebp - 0x1c], str.ms_MY
call fcn.00403020
push 0x521230
call fcn.004ee3b5
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x5677d8
call fcn.004ee029
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
cmp cx, 4
jne 0x409098
mov ecx, 0xc04
cmp ax, cx
je 0x40908f
mov ecx, 0x1404
cmp ax, cx
je 0x40908f
mov ecx, 0x404
cmp ax, cx
je 0x40908f
mov ecx, 0x7c04
push 5
push str.zh_TW
jmp 0x4090fa
mov eax, ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403150
mov eax, dword [ebp - 0x14]
cmp eax, dword [0x5677d0]
je 0x4090f3
mov edx, dword [eax + 0x14]
mov ecx, edx
xor eax, eax
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4090e0
sub ecx, edi
sar ecx, 1
push ecx
push edx
jmp 0x409113
push 5
push str.en_US
mov dword [esi], 0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, esi
call fcn.00403460
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004edf30
mov esp, ebp
pop ebp
ret
Function at 0x40d050
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51afbd
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x55f904]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 4
xor eax, eax
mov dword [ebp - 0x2c], 0
push 0x54b3e4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00403460
mov ecx, esi
mov dword [ebp - 4], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d0b2
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.004035c0
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push 0
push 3
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x40d160
push 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push ecx
push 0xc
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x38], 8
push ecx
push 0xc
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x34], 0
push ecx
push 0x2d1400
push eax
mov byte [ebp - 0x3c], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp byte [ebp - 0x3c], 1
jne 0x40d149
push str.It_is_suport_trim
push 0xa7
push str.helper::disk::isSSD
call fcn.0042e960
add esp, 0xc
mov bl, 1
jmp 0x40d162
push str.It_is_not_suport_trim
push 0xab
push str.helper::disk::isSSD
call fcn.0042e960
add esp, 0xc
xor bl, bl
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x40d198
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d18e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d1b5
push edx
push ecx
call fcn.004ee3ca
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004edf30
mov esp, ebp
pop ebp
ret
call fcn.004f890c
int3
Function at 0x40d1c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24c
mov eax, dword [0x55f904]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push esi
push edi
push 0
push 2
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40d212
push str.CreateToolhelp32Snapshot__of_processes_
call fcn.0040c8d0
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.004edf30
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x40d239
push str.Process32First
call fcn.0040c8d0
add esp, 4
jmp 0x40d26d
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop
lea eax, [esp + 0x44]
mov ecx, ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0040f620
lea eax, [esp + 0x20]
push eax
push esi
call edi
test eax, eax
jne 0x40d240
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x254]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004edf30
mov esp, ebp
pop ebp
ret
Function at 0x40ece0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, 0x565698
push 0
call fcn.004ef69e
mov edi, eax
mov dword [ebp - 8], 1
test edi, edi
je 0x40ee75
mov eax, dword [ebp + 8]
shr eax, 4
mov dword [ebp - 0x10], eax
lea ecx, [eax + 1]
movzx eax, cx
mov dword [ebp - 0xc], eax
nop dword [eax + eax]
push 0
push eax
push 6
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov ebx, eax
test ebx, ebx
je 0x40ed7c
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40ed7c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40ed7c
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, dword [ebp + 8]
mov ecx, ebx
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40ed72
cmp esi, edx
jae 0x40ed7c
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x40ed60
cmp esi, edx
jae 0x40ed7c
cmp word [esi], 0
jne 0x40ed9d
mov ebx, dword [ebp - 8]
mov ecx, 0x565698
push ebx
call fcn.004ef69e
mov edi, eax
inc ebx
mov dword [ebp - 8], ebx
test edi, edi
je 0x40ee75
mov eax, dword [ebp - 0xc]
jmp 0x40ed20
test edi, edi
je 0x40ee75
mov eax, dword [ebp - 0x10]
inc eax
push 6
movzx eax, ax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x40ee75
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40ee75
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40ee75
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and ebx, 0xf
jbe 0x40ee06
cmp esi, ecx
jae 0x40ee75
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ebx, 1
jne 0x40edf4
cmp esi, ecx
jae 0x40ee75
movzx eax, word [esi]
test ax, ax
je 0x40ee75
mov edx, dword [ebp - 4]
mov edi, eax
mov ebx, eax
mov ecx, 1
mov edx, dword [edx]
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, edi
or ecx, eax
jge 0x40ee3c
mov ebx, dword [ebp - 4]
mov ecx, ebx
push edi
call fcn.0040ef10
mov edx, dword [ebx]
movzx ebx, word [esi]
movzx ecx, bx
lea eax, [esi + 2]
push ecx
push eax
push edi
push edx
call fcn.004f8cda
push eax
call fcn.0040c960
mov ecx, dword [ebp - 4]
add esp, 0x14
mov eax, dword [ecx]
cmp edi, dword [eax - 8]
jg 0x40ee80
mov dword [eax - 0xc], edi
mov eax, dword [ecx]
xor ecx, ecx
mov word [eax + edi*2], cx
lea eax, [ecx + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.0040c940
int3