joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454dac
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x454dc3
add esp, 0xfffffff0
call fcn.00403c9c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a394
mov eax, dword [0x45b958]
cmp word [eax + 2], 0
jne 0x454deb
mov eax, dword [0x45b958]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045685c
mov eax, dword [0x45b9f8]
cmp word [eax + 2], 0
jne 0x454e05
mov eax, dword [0x45b9f8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00456a68
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412190]
call fcn.00403960
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412190]
call fcn.00403960
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x412190]
call fcn.00403960
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41e664]
call fcn.004244e8
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x454fbc
mov eax, dword [0x45b888]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004248bc
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x457138
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45b888]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040ccd8
test eax, eax
je 0x454f0c
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408ec8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cd0c
test eax, eax
je 0x454f20
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404a14
mov byte [ebx + 0xd4], 0
push ebx
push 0x4563bc
call fcn.0041b510
mov dword [ebx + 0xc8], eax
mov eax, dword [0x45b794]
cmp byte [eax], 0
jne 0x454f71
mov eax, ebx
call fcn.00455100
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00457314
mov eax, ebx
call fcn.00457e74
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x454fb1
call fcn.00403cf4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455380
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45f57c]
cmp dword [eax + 0x30], 0
je 0x45542a
cmp dword [ebx + 0x94], 0
jne 0x455424
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x455310
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x455424
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4553ea
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x455424
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041453c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4553f9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x456144
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x456179
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404894
jmp 0x456186
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004047f8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4574f8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x457566
mov eax, esi
call fcn.00441d9c
test al, al
je 0x457566
mov eax, dword [ebx + 0x84]
call fcn.004419fc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x457566
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45755a
push 0
mov eax, dword [ebx + 0x84]
call fcn.004419fc
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00439e28
jmp 0x457566
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00457334
pop esi
pop ebx
ret
Function at 0x403e57
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
push edi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push dword [ebp + 0x18]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
cmp byte [edi], 0x25
jne 0x403ed4
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x104]
push eax
call fcn.00403093
lea eax, [ebp + eax - 0x105]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_CharPrevA]
cmp byte [eax], 0x25
jne 0x403ebc
and byte [eax], 0
push dword [ebp + 0x1c]
lea eax, [ebp - 0x104]
push dword [ebp + 0x18]
push edi
push dword [ebp + 0x10]
push eax
push 0x4016ec
call esi
pop edi
pop esi
leave
ret 0x18

Function at 0x4041d7
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 0xc]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40422c
push esi
push esi
push esi
lea eax, [ebp - 4]
push esi
push eax
push esi
lea eax, [ebp + 8]
push esi
push eax
push esi
push esi
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x404223
cmp dword [ebp + 8], esi
jne 0x404223
cmp dword [ebp - 4], esi
jne 0x404223
push 1
pop esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 8

Function at 0x411c00
Capabilities:
Encode data using xor

Disassembly:
test dword [edx - 0x528b36d6], eax
sbb al, 0xd0
xor ebp, dword [ebp + 0x76]
sub dword [edi - 0x18], edi
xchg ebp, eax
fld qword [ecx + 0x6e]
dec ecx
mov eax, edx
add ah, byte [ebx]
or bl, bl
call dword [0x18d3e2b2]
jo 0x411c2c
push ebp
adc eax, 0xb9dd4949
fnstenv [ebx - 0x69]
movsb byte es:[edi], byte [esi]
mov dh, 0xd6
and dword [edi + ebx*8 + 0x42a74abc], eax
or dword [ecx], ebp
add byte [ebx + 0x71], bl
xor byte [ebx - 1], bl
and dl, byte [ecx + 0x22f6cca]
push esp
lodsd eax, dword [esi]
push 0x8e1e3326
push ebp
dec esp
insb byte es:[edi], dx
das
add dl, byte [ebp + ebp*4 + 0x68]
xor ebx, dword es:[esi]
mov ss, word [ebp + 0x4c]
pushfd
pop eax
mov al, 0xa6
add dword [ebx], 0x5c
cwde
jg 0x411c40
ret 0x81d5
Function at 0x401170
Capabilities:
Allocate or change rwx memory
Create thread
Enumerate processes
Execute shellcode via indirect call
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x58c004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x401351
lea eax, [ebp - 0x240]
mov dword [ebp - 0x240], 0x22c
push eax
push esi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x401220
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop word [eax + eax]
push 0x4071e4
lea eax, [ebp - 0x21c]
push eax
call edi
test eax, eax
je 0x40120e
push str.cstrike.exe
lea eax, [ebp - 0x21c]
push eax
call edi
test eax, eax
je 0x40120e
lea eax, [ebp - 0x240]
push eax
push esi
call ebx
test eax, eax
jne 0x4011d0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x401351
push dword [ebp - 0x238]
push 0
push 0x2a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x401351
mov esi, dword [0x407264]
push 0x40
push 0x3000
mov dword [ebp - 0x248], esi
push dword [esi + 0x407278]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 0
push dword [esi + 0x40727c]
mov dword [ebp - 0x244], eax
push 0x407228
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor eax, eax
xor edi, edi
cmp ax, word [esi + 0x40722e]
jae 0x4012b3
lea esi, [esi + 0x407334]
nop
mov eax, dword [esi]
push 0
push dword [esi - 4]
add eax, 0x407228
push eax
mov eax, dword [esi - 8]
add eax, dword [ebp - 0x244]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [ebp - 0x248]
lea esi, [esi + 0x28]
inc edi
movzx eax, word [eax + 0x40722e]
cmp edi, eax
jl 0x401280
push 0x20
push 0x3000
push 0x1000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ecx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
mov eax, dword [ebp - 0x244]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RtlZeroMemory
push 0x40721c
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call esi
push 0
push 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
mov eax, fcn.00401160
lea esi, [edi + 0x10]
sub eax, section..text
push eax
push section..text
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0xffffffffffffffff
push 0
push 0
push edi
push esi
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push 0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405ddb
mov esp, ebp
pop ebp
ret 8
Function at 0x401600
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov ebx, ecx
xor esi, esi
push ebx
lea ecx, [ebp - 0x28]
call fcn.004018f0
mov ecx, dword [ebp - 0x14]
mov edi, dword [eax + 0x10]
cmp ecx, 0x10
jb 0x401650
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401646
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401711
push ecx
push edx
call fcn.00405e19
add esp, 8
cmp esi, edi
jae 0x401717
push ebx
lea ecx, [ebp - 0x28]
call fcn.004018f0
cmp dword [eax + 0x14], 0x10
jb 0x401671
mov eax, dword [eax]
mov cl, byte [esi + eax]
movsx edi, cl
jmp 0x401675
movsx edi, byte [eax + esi]
mov ax, word [0x58a0e8]
xor ecx, ecx
mov word [ebp - 4], ax
mov al, byte [0x58a0ea]
mov byte [ebp - 2], al
nop dword [eax]
mov eax, 0x24924925
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
mov dl, al
shl dl, 3
sub dl, al
mov al, cl
shl dl, 3
sub al, dl
add al, 0x36
xor byte [ebp + ecx - 4], al
inc ecx
cmp ecx, 3
jl 0x401690
lea eax, [ebp - 4]
push edi
push eax
call fcn.004013b0
mov ecx, dword [ebp - 0x14]
add esp, 8
cmp ecx, 0x10
jb 0x4016f9
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4016ef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401711
push ecx
push edx
call fcn.00405e19
add esp, 8
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x10]
cdq
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
call fcn.00401a00
inc esi
jmp 0x401610
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401b60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, edx
push ecx
push 0xfffffffffffffff5
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov ax, word [0x58a0f0]
xor ebx, ebx
mov word [ebp - 4], ax
mov al, byte [0x58a0f2]
mov byte [ebp - 2], al
nop
mov eax, 0xa0a0a0a1
mov cl, bl
mul ebx
shr edx, 5
movsx eax, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x36
xor byte [ebp + ebx - 4], cl
inc ebx
cmp ebx, 3
jl 0x401b90
lea eax, [ebp - 4]
push esi
push eax
call fcn.004013b0
mov esi, dword [ebp + 0x10]
add esp, 8
cmp esi, 0x58a0ec
je 0x401c1e
push dword [ebp + 0xc]
push 0xfffffffffffffff5
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov ax, word [0x58a0f0]
xor ebx, ebx
mov word [ebp + 0x10], ax
mov al, byte [0x58a0f2]
mov byte [ebp + 0x12], al
nop dword [eax + eax]
mov eax, 0xa0a0a0a1
mov cl, bl
mul ebx
shr edx, 5
movsx eax, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x36
xor byte [ebp + ebx + 0x10], cl
inc ebx
cmp ebx, 3
jl 0x401bf0
lea eax, [ebp + 0x10]
push esi
push eax
call fcn.004013b0
add esp, 8
mov esi, dword [ebp + 8]
test esi, esi
jle 0x401c37
push 0x58a064
call fcn.004013b0
add esp, 4
sub esi, 1
jne 0x401c25
push 7
push 0xfffffffffffffff5
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406678
Capabilities:
Parse pe header

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x134
call fcn.10023970
call fcn.10032e10
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0xa
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 8]
call fcn.1001fc20
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov esp, ebp
pop ebp
ret 8

Function at 0x10022210
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005fd7d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10096080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [0x10097c64]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x100985f8]
cmp eax, dword [edx + 4]
jle 0x10022284
push 0x100985f8
call fcn.10039abe
add esp, 4
cmp dword [0x100985f8], 0xffffffff
jne 0x10022284
push 0x100610c0
call fcn.1003a01c
add esp, 4
push 0x100985f8
call fcn.10039a6d
add esp, 4
mov ecx, dword [ebp + 8]
call fcn.1001b530
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x10022307
push 0xffffffffffffffff
push 0x10096b28
mov ecx, dword [ebp + 8]
call fcn.100237c0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x100222f1
mov ecx, dword [ebp - 0x18]
push ecx
push 0
lea edx, [ebp - 0x44]
push edx
mov ecx, dword [ebp + 8]
call fcn.10023780
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x28]
call fcn.10022210
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.1001b570
push 0
mov ecx, dword [ebp + 8]
call fcn.1001b530
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0x2c], eax
jmp 0x1002232f
mov edx, dword [ebp - 0x14]
and edx, 0x10
jne 0x10022322
mov eax, dword [ebp - 0x14]
and eax, 0x400
jne 0x10022322
mov dword [ebp - 0x1c], 0
jmp 0x10022329
mov dword [ebp - 0x1c], 1
mov cl, byte [ebp - 0x1c]
mov byte [ebp - 0xd], cl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x10026fc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10096080]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 0x10], 0
jg 0x10026fea
jl 0x10026fe1
cmp dword [ebp + 0xc], 0
ja 0x10026fea
xor eax, eax
xor edx, edx
jmp 0x1002712b
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x38], 0
je 0x1002700c
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.100070d0
jmp 0x1002712b
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x10]
call fcn.10008970
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x1002707b
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
call fcn.10002e60
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.10008ad0
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.100094e0
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x14]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.10008a50
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x4c], 0
je 0x1002711c
mov ecx, dword [ebp - 0x10]
call fcn.10027af0
mov dword [ebp - 0x2c], 0xfff
cmp dword [ebp - 8], 0xfff
jbe 0x100270eb
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x4c]
push edx
push 0xfff
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.100464e2
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x18]
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
cmp dword [ebp - 0x18], 0xfff
je 0x100270e9
xor eax, eax
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
sbb edx, eax
mov eax, ecx
jmp 0x1002712b
jmp 0x10027097
cmp dword [ebp - 8], 0
jbe 0x1002711c
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.100464e2
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x28]
mov dword [ebp - 8], ecx
xor edx, edx
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
sbb ecx, edx
mov edx, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10039a2f
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100291f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x10096080]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x23c], 2
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0xffffffff
jne 0x1002923b
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100292bb
push 0x22c
push 0
lea eax, [ebp - 0x230]
push eax
call fcn.1003b990
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1002929c
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp + 8]
call fcn.10029670
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x10029273
jmp 0x100292a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10039a2f
mov esp, ebp
pop ebp
ret
Function at 0x10032b70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 0xc]
call fcn.100074f0
lea eax, [eax + eax + 2]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
call fcn.1001b530
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
call fcn.1001b530
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 1
push 0
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10032be8
push str.Cannot_write_string_value:_RegSetValueExW_failed.
mov ecx, dword [ebp - 4]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10032bf0
push 0x10094b2c
lea edx, [ebp - 0x2c]
push edx
call fcn.1003b38d
mov esp, ebp
pop ebp
ret 8
Function at 0x10037160
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 8
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x10037290
push 0
push 0
call fcn.100482cd
add esp, 0x18
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esp, ebp
pop ebp
ret
Function at 0x10037ff0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov byte [ebp - 1], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x24], 0
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x28], 0
mov edx, dword [ebp - 8]
add edx, 0x28
push edx
push 0
mov eax, dword [ebp - 8]
push eax
push 0x10038090
push 0
push 0
call fcn.100482cd
add esp, 0x18
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x24], eax
mov edx, dword [ebp - 8]
cmp dword [edx + 0x24], 0
je 0x1003807e
mov eax, dword [ebp - 8]
cmp dword [eax + 0x28], 0
je 0x1003807e
mov dword [ebp - 0xc], 0
jmp 0x10038059
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0xa
jae 0x1003807e
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 8]
call fcn.10037e10
mov byte [ebp - 1], al
movzx edx, byte [ebp - 1]
test edx, edx
je 0x1003807c
jmp 0x1003807e
jmp 0x10038050
movzx eax, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x1003962b
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x10039652
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x10039655
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.10039607
pop esi
leave
ret 8

Function at 0x1004982e
Capabilities:
Parse pe header

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