joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413168
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41325b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x413268
push 0
call sub.user32.dll_FindWindowA
mov ebx, eax
test ebx, ebx
je 0x4131aa
push ebx
call sub.user32.dll_SetForegroundWindow
mov eax, 0x413288
mov dl, 1
call fcn.00412d3c
push 0
push 0x413290
call sub.user32.dll_FindWindowA
mov ebx, eax
push 0xff
lea eax, [ebp - 0x109]
push eax
push ebx
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 4]
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.00403e40
mov edx, 0x4132a0
mov eax, dword [ebp - 4]
call fcn.0041309c
test al, al
je 0x413245
push 0
push 0x4132b0
push 0
push ebx
call sub.user32.dll_FindWindowExA
mov esi, eax
test esi, esi
je 0x413245
push 0
push 0
push 0xf5
push esi
call sub.user32.dll_PostMessageA
push 0
push 0
push 0xf5
push esi
call sub.user32.dll_PostMessageA
push 0x4132b8
push 0
push 0
push ebx
call sub.user32.dll_FindWindowExA
mov esi, eax
test esi, esi
je 0x413245
push 0
push 0
push 0xf5
push esi
call sub.user32.dll_PostMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x413262
lea eax, [ebp - 4]
call fcn.00403bd0
ret

Function at 0x4133f8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7f8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040405c
xor eax, eax
push ebp
push 0x41346b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x405]
mov edx, dword [ebp - 4]
call fcn.00407338
lea eax, [ebp - 0x806]
mov edx, ebx
call fcn.00407338
push 1
push 0
lea eax, [ebp - 0x806]
push eax
mov eax, dword [ebp - 4]
call fcn.0040406c
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x413472
lea eax, [ebp - 4]
call fcn.00403bd0
ret

Function at 0x4136ac
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040405c
mov eax, dword [ebp - 8]
call fcn.0040405c
xor eax, eax
push ebp
push 0x41372f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x41370a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
call fcn.0040406c
push eax
mov eax, dword [ebp - 4]
call fcn.0040406c
push eax
call sub.KERNEL32.DLL_CopyFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x413714
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x413736
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403bf4
ret
Function at 0x10015057
Capabilities:
Enumerate processes

Disassembly:
push 0x238
mov eax, 0x1002dffa
call fcn.10016e35
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x10015074
xor eax, eax
jmp 0x10015151
xor edi, edi
push edi
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x1001514f
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push esi
call sub.kernel32.dll_Process32FirstW
jmp 0x10015125
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x244]
call fcn.1000127b
push ebx
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], edi
call fcn.1000127b
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 1
call fcn.10001cc6
lea ecx, [ebp - 0x240]
call fcn.10001cc6
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.1001cc74
pop ecx
pop ecx
mov ecx, dword [ebp - 0x240]
lea ecx, [ecx - 0x10]
test al, al
jne 0x1001512f
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.10001eb4
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.kernel32.dll_Process32NextW
test eax, eax
jne 0x100150a4
jmp 0x10015148
mov edi, dword [ebp - 0x234]
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
call fcn.10001eb4
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, edi
call fcn.10016ddf
ret

Function at 0x1001cc74
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x1001cc83
pop dword [ebp - 0x3c]
mov eax, 0x366005db
sub eax, 0x265e3958
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x3c7b7
push 0
mov eax, 0x73cbe137
add eax, 0x9c372025
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0x653d1598
add ecx, 0x9ac32383
xor edx, edx
add edx, eax
mov esi, 0xf72e533b
add esi, 0x18d668c5
add esi, dword [ebp - 0x3c]
mov ebx, 0x64f8145d
sub ebx, 0xb580868d
xor dword [ebp - 0x10], 0x7c06db47
mov edi, dword [esi]
add edi, ebx
sub dword [ebp - 0x28], ebx
mov dword [edx], edi
mov dword [ebp - 4], 0x32e39914
add edx, 4
add esi, 4
loop 0x1001cce4
add eax, 0xb661fc6
add eax, 0xf49ab779
mov ebx, eax
add eax, 0xed1182f7
sub eax, 0xed1182f2
mov ecx, 0x38082c2
sub ecx, 0xf38082c2
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x406451
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x238
mov eax, 0x40e9c3
call fcn.0040d3d4
mov dword [ebp - 0x21c], ecx
movzx eax, word [ebp + 8]
xor edi, edi
mov esi, dword [0x4166f0]
inc edi
push 0xf0
push eax
push esi
call dword [sym.imp.kernel32.dll_FindResourceW]
test eax, eax
je 0x4065c3
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x4065c3
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4065c3
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x4065c3
mov ecx, dword [esi + 4]
mov ebx, eax
movzx eax, word [esi + 2]
add esi, 8
mov dword [ebp - 0x220], ecx
mov ecx, 0x403
cmp cx, ax
jne 0x40653b
push 3
lea eax, [ebp - 0x110]
push esi
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x114], eax
call main
push dword [ebp - 0x114]
mov eax, dword [ebp - 0x21c]
and dword [ebp - 4], 0
push 0
push 0x143
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
lea eax, [ebp - 0x110]
cmove edi, ecx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x114], eax
je 0x4065b1
push dword [ebp - 0x114]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
jmp 0x4065b1
mov ecx, 0x1234
cmp cx, ax
jne 0x4065b1
or dword [ebp - 0x240], 0xffffffff
lea eax, [ebp - 0x214]
push 3
push esi
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x244], 1
mov dword [ebp - 0x218], eax
call main
mov eax, dword [ebp - 0x218]
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x23c], eax
cmp eax, ecx
je 0x40658e
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
lea eax, [ebp - 0x244]
push eax
mov eax, dword [ebp - 0x21c]
push 0
push 0x40b
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp eax, 0xffffffff
je 0x4065c1
add esi, dword [ebp - 0x220]
test edi, edi
jne 0x4064a9
jmp 0x4065c3
xor edi, edi
mov eax, edi
call fcn.0040d38f
ret 4

Function at 0x40ac12
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x40ac21
pop dword [ebp - 0x4c]
mov eax, 0xa9f2dc9f
add eax, 0x564dcf82
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x39e0d
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x31413cc0
sub ecx, 0x3140eed5
xor edi, edi
add edi, eax
mov edx, 0x399eddd8
sub edx, 0x395d33d8
add edx, dword [ebp - 0x4c]
mov esi, 0xe5632d47
sub esi, 0x530d11a3
mov ebx, dword [edx]
xor dword [ebp - 4], 0x226bdec5
sub ebx, esi
sub dword [ebp - 4], eax
mov dword [edi], ebx
xor dword [ebp - 0x28], eax
add edi, 0x23f79886
sub edi, 0x23f79882
add edx, 4
loop 0x40ac7d
add eax, 0x12a7f
mov ebx, eax
add eax, 0x13fbf6ab
sub eax, 0x13fbf6a6
mov ecx, 0xf18ab6ec
add ecx, 0xeb54914
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x75f29d
Capabilities:
Enumerate pe sections

Disassembly:
mov edx, esi
push ebp
mov dl, dh
setae dl
lea edx, [eax + edx]
xchg ebp, edx
jmp 0x743429
mov dx, 0x31ad
mov edx, esi
mov dl, 0x29
lea edx, [eax*4]
setl dl
lea edx, [edx*4]
jmp 0x7433de
mov bp, si
mov eax, dword [esp]
mov al, dl
mov dx, bx
lea ebp, [edx + edi]
pushfd
jmp 0x74343c
setns dl
not ebp
pushfd
mov edx, ecx
pushfd
mov dword [esp + 2], eax
jmp 0x74340f
mov eax, dword [esp + 6]
xchg dh, dl
mov dl, 0x26
pushal
sets dl
mov dh, byte [esp + 0xe]
jmp 0x743532
push esi
mov dword [esp], edx
jmp 0x7433f4
bswap edx
not edx
setae dh
not edx
mov edx, dword [esp + 0x14]
lea esp, [esp + 0x18]
jmp 0x760781
push ebp
mov ebp, esi
bsr ebp, esi
adc ebp, 0x63c687db
jmp 0x74350d
mov ebp, esp
sub esp, 2
lea esp, [esp + 2]
sub esp, 0x214
jmp 0x74354b
lea esp, [esp + 4]
lea esp, [esp + 0x18]
mov ebp, dword [esp + 0x10]
mov dh, 0xd3
mov dh, byte [esp]
mov edx, esp
jmp 0x743470
push ebx
bt ebx, esp
mov ebx, 0x82ce2b7e
jmp 0x776309
jmp 0x743454
jmp 0x743568
jmp 0x7434d4
push esi
mov ebx, dword [esp]
mov si, word [esp]
lea ebx, [ecx*4]
jmp 0x776322
mov esi, eax
call fcn.0077632a
pop ebp

Function at 0x88567a
Capabilities:
Access peb ldr_data

Disassembly:
call fcn.00885035
push eax
jmp 0x885030
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0x8855d3
mov dword [esp + 0x34], edi
lea esp, [esp + 0x34]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0x8855e9
mov word [esp + 1], bp
push dword [esp + 2]
lea esp, [esp]
mov dword [esp + 0x38], esi
jmp 0x88560e
Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406787
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x4086ca
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x4086d9
pop dword [ebp - 0x18]
mov eax, 0x8973b62a
add eax, 0x76ccd0af
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x9b57876c
sub dword [ebp - 0x28], 0x4d054221
mov dword [ebp - 0x24], 0xcec7e50e
sub dword [ebp - 0x24], 0x9c9498c9
mov dword [ebp - 0x20], 0x4a922528
add dword [ebp - 0x20], 0x1ba1f06
mov dword [ebp - 0x1c], 0x4bda7766
sub dword [ebp - 0x1c], 0x4bda7766
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], 0xbd3c365f
sub dword [ebp - 0x28], 0x48c9cd09
mov dword [ebp - 0x24], 0xb32c0bbb
sub dword [ebp - 0x24], 0x71bfaa46
mov dword [ebp - 0x20], 0xbd976a51
sub dword [ebp - 0x20], 0x5a27fde5
mov dword [ebp - 0x1c], 0xef7f86d0
sub dword [ebp - 0x1c], 0xef7f86d0
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x8e496ab5
add eax, 0x71f76597
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3bdbd
push 0
call eax
mov ecx, 0xca702d1a
sub ecx, 0xca6fdbbf
mov ebx, eax
mov edx, 0x41b000
add edx, dword [ebp - 0x18]
mov edi, 0x5837a90
add edi, 0x61e93cfa
sub dword [ebp - 4], 0x5aaa8884
mov esi, dword [edx]
add dword [ebp - 4], 0xc89be890
xor esi, edi
mov dword [ebx], esi
sub dword [ebp - 4], 0xd4fdebea
add ebx, 0x682b37e3
sub ebx, 0x682b37df
add edx, 0x8971e01e
sub edx, 0x8971e01a
loop 0x4087f0
add eax, 0x944df5a3
add eax, 0x6bb3429c
mov ebx, eax
add eax, 0x6b29a516
add eax, 0x94d65aef
mov ecx, 0x400000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x2a30dd20
Capabilities:
Terminate thread

Disassembly:
push 0xc
mov eax, 0x2a353dc6
call fcn.2a302657
mov ebx, ecx
xor ecx, ecx
cmp dword [ebx], 0xb
mov edi, ecx
mov dword [ebp - 0x14], edi
jne 0x2a30de11
push 0xea60
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
or dword [ebx + 0x1a0], 0xffffffff
push 1
push dword [ebx + 0x2d4]
call dword [sym.imp.kernel32.dll_SetThreadPriority]
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
call dword [sym.imp.kernel32.dll_GetTickCount]
shr eax, 4
lea esi, [eax + 0x12c]
call dword [sym.imp.kernel32.dll_GetTickCount]
shr eax, 4
cmp eax, esi
jae 0x2a30ddca
mov edi, esi
push 0xea60
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [ebx + 0x2d8]
mov esi, dword [ebx]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
cmp esi, 0xb
jne 0x2a30ddc7
push 0x64
call dword [sym.imp.kernel32.dll_Sleep]
call dword [sym.imp.kernel32.dll_GetTickCount]
shr eax, 4
cmp eax, edi
jb 0x2a30dd8e
mov edi, dword [ebp - 0x14]
push 0xea60
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp dword [ebx], 0xb
jne 0x2a30ddf1
push 1
push dword [ebx + 0x2d4]
call dword [sym.imp.kernel32.dll_TerminateThread]
xor edi, edi
inc edi
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_CloseHandle]
xor ecx, ecx
mov dword [ebx + 0x2d8], ecx
cmp dword [ebx + 0x18], 0
lea esi, [ebx + 0x1a0]
mov dword [esi], ecx
je 0x2a30de46
test di, di
jne 0x2a30de43
push esi
push dword [ebx + 0x18]
call fcn.2a343a5f
xor ecx, ecx
cmp dword [esi], ecx
jne 0x2a30de46
push esi
push dword [ebx + 0x14]
mov dword [ebx + 0x18], ecx
call fcn.2a343a5f
xor ecx, ecx
jmp 0x2a30de46
mov dword [ebx + 0x18], ecx
cmp word [ebx + 0x144], cx
je 0x2a30decd
push ecx
push ecx
lea ecx, [ebp - 0x18]
call fcn.2a343a5f
mov edi, dword [0x2a36bb18]
xor eax, eax
push eax
mov dword [ebp - 4], eax
lea eax, [ebx + 0x40]
push eax
mov eax, dword [0x2a36bb0c]
push str.Cstring
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x2a35835c]
call esi
mov esi, dword [edi + 0xd0]
pop ecx
movzx eax, ax
mov ecx, esi
push eax
push 0
call dword [0x2a35835c]
call esi
add esp, 0x10
lea ecx, [ebp - 0x18]
push 0
push eax
call fcn.2a343a5f
cmp dword [ebp - 0x14], 0
je 0x2a30debf
lea ecx, [ebp - 0x18]
call fcn.2a343a5f
test al, al
je 0x2a30debf
lea ecx, [ebp - 0x18]
call fcn.2a33ed32
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.2a343a5f
xor ecx, ecx
cmp dword [ebx + 0x34], 0
je 0x2a30def1
mov eax, dword [0x2a36b7ac]
push dword [ebx + 0x34]
mov esi, dword [eax + 0x284]
mov ecx, esi
call dword [0x2a35835c]
call esi
pop ecx
xor ecx, ecx
mov dword [ebx + 0x34], ecx
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x2a30df25
push eax
mov eax, dword [0x2a36bb38]
cmp word [ebx + 0x196], cx
je 0x2a30df0f
mov esi, dword [eax + 0x124]
jmp 0x2a30df15
mov esi, dword [eax + 0x11c]
mov ecx, esi
call dword [0x2a35835c]
call esi
xor eax, eax
pop ecx
mov dword [ebx + 0x20], eax
mov dword [ebx], 2
call fcn.2a302bc2
ret
Function at 0x2a32caab
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x428
mov eax, 0x2a35572a
call fcn.2a304215
mov edx, dword [ebp + 0xc]
xor ebx, ebx
mov eax, dword [ebp + 8]
mov esi, ebx
mov dword [ebp - 0x42c], edx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x424], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
test eax, eax
je 0x2a32cccc
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
inc eax
push 2
push eax
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x420]
push eax
call fcn.2a343a5f
add esp, 0x10
test eax, eax
js 0x2a32ccc6
mov edi, dword [ebp - 0x420]
cmp edi, 0x400
jg 0x2a32cb4f
push edi
call fcn.2a32df9a
pop ecx
test al, al
je 0x2a32cb4f
mov eax, edi
call fcn.2a352aa0
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x2a32cb61
push edi
lea ecx, [ebp - 0x424]
call fcn.2a343a5f
mov esi, dword [ebp - 0x424]
push 3
push edi
push dword [ebp - 0x41c]
push eax
call fcn.2a343a5f
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x2a32ccc6
push 0x60
push ebx
push eax
call fcn.2a32e256
mov edi, eax
mov dword [ebp - 0x420], edi
test edi, edi
jne 0x2a32cbb9
push 2
push ebx
push dword [ebp - 0x41c]
call fcn.2a32e256
mov edi, eax
mov dword [ebp - 0x420], eax
test edi, edi
jne 0x2a32cbb9
call fcn.2a32b317
mov ebx, eax
jmp 0x2a32cc95
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov dword [ebp - 0x42c], eax
test eax, eax
jne 0x2a32cbe0
call fcn.2a32b317
jmp 0x2a32cc88
push eax
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x428], eax
test eax, eax
je 0x2a32cbd6
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov dword [ebp - 0x41c], eax
lea ecx, [eax + 1]
cmp ecx, eax
jae 0x2a32cc13
mov ebx, 0x8007000e
jmp 0x2a32cc8a
push ecx
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.2a343a5f
jmp 0x2a32cc39
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x2a32cc0c
mov eax, dword [ebp - 0x41c]
push eax
push dword [ebp - 0x428]
push eax
push dword [ebp - 0x418]
call fcn.2a343a5f
mov eax, dword [ebp - 0x418]
add esp, 0x10
mov ecx, dword [ebp - 0x41c]
push dword [ebp + 0x14]
mov byte [eax + ecx], bl
lea ecx, [ebp - 0x434]
push dword [ebp - 0x418]
call fcn.2a343a5f
mov ebx, eax
test edi, edi
je 0x2a32cc95
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x2a32ccae
lea ecx, [ebp - 0x418]
call fcn.2a32b98d
or dword [ebp - 4], 0xffffffff
jmp 0x2a32ccbe
push esi
mov esi, dword [esi]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
test esi, esi
jne 0x2a32ccb4
mov eax, ebx
jmp 0x2a32ccfa
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
cmp ebx, eax
je 0x2a32cce1
lea ecx, [ebp - 0x418]
call fcn.2a32b98d
or dword [ebp - 4], 0xffffffff
jmp 0x2a32ccf1
push esi
mov esi, dword [esi]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
test esi, esi
jne 0x2a32cce7
mov eax, 0x8007000e
lea esp, [ebp - 0x444]
call fcn.2a30424f
ret 0x10
Function at 0x2a343a5f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x2a343a6e
pop dword [ebp - 0x4c]
mov eax, 0x8e136432
add eax, 0x9c20d63c
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0xdee9feee
sub dword [ebp - 0x5c], 0x9097b9a3
mov dword [ebp - 0x58], 0x7e5b0b2c
add dword [ebp - 0x58], 0xb3d84119
mov dword [ebp - 0x54], 0x6f4b6c3e
sub dword [ebp - 0x54], 0x22ff2810
mov dword [ebp - 0x50], 0xd8134fee
sub dword [ebp - 0x50], 0xd8134fee
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x2fb4da8d
add eax, 0xfa80a5f7
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x519620e6
add dword [ebp - 0x5c], 0x22dc4870
mov dword [ebp - 0x58], 0x9fbe3db7
add dword [ebp - 0x58], 0xa1ae23be
mov dword [ebp - 0x54], 0x5286cd36
sub dword [ebp - 0x54], 0xef1760ca
mov dword [ebp - 0x50], 0x3501429
sub dword [ebp - 0x50], 0x3501429
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x7bb3c9ca
sub eax, 0x517e493e
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x4edec
push 0
call eax
mov ecx, 0xa99bdca7
add ecx, 0x56647c85
mov edx, eax
mov esi, 0x2a37f600
add esi, dword [ebp - 0x4c]
mov ebx, 0xab29bc6
sub ebx, 0x7d650a
sub dword [ebp - 0x30], 0x47fc56a6
mov edi, dword [esi]
xor dword [ebp - 0x3c], eax
add edi, ebx
sub dword [ebp - 0x2c], eax
mov dword [edx], edi
xor dword [ebp - 8], 0x2a31768b
add edx, 0x98956d7b
add edx, 0x676a9289
add esi, 4
loop 0x2a343b8a
add eax, 0x909fc204
add eax, 0x6f61957f
mov ebx, eax
add eax, 0x8997a0de
sub eax, 0x8997a0d9
mov ecx, 0x2becb0fc
add ecx, 0xfe434f04
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x401ddb
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov esi, eax
sub ecx, dword [esi + 0x18]
mov eax, dword [ebp + 0xc]
sub eax, dword [esi + 0x14]
mov edx, dword [esi]
push edi
push 1
push ecx
xor ebx, ebx
mov dword [ebp + 0x10], ecx
push eax
mov ecx, esi
mov dword [ebp + 0xc], eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call dword [edx + 0x6c]
mov edi, dword [esi + 0xe8]
cmp edi, ebx
mov dword [ebp - 0x10], eax
je 0x401f1f
push edi
call fcn.004246dd
mov ebx, eax
test ebx, ebx
pop ecx
je 0x401eef
mov eax, dword [ebx + 0x10]
push 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax + 0x28]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
test eax, eax
je 0x401e55
lea eax, [ebx + 0x14]
push eax
call fcn.0041c697
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, ebx
push 0x202
call fcn.0042491e
mov eax, dword [ebp - 0x10]
cmp dword [esi + 0xe8], eax
jne 0x401eac
mov eax, dword [ebx + 0x40]
xor ecx, ecx
cmp eax, ecx
je 0x401e9e
cmp word [eax], cx
je 0x401e9e
push 1
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x401eef
cmp dword [ebx + 0x10], ecx
je 0x401eef
mov dword [ebp - 4], 1
jmp 0x401eef
mov eax, dword [ebx]
push 1
push 0
mov ecx, ebx
call dword [eax + 0x28]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
test eax, eax
je 0x401ecb
lea eax, [ebx + 0x14]
push eax
call fcn.0041c697
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, ebx
push 0x2a3
call fcn.0042491e
mov dword [ebp - 8], 1
xor ecx, ecx
cmp dword [ebp - 4], ecx
mov dword [esi + 0xe8], ecx
je 0x401f00
push 0x67
jmp 0x401f18
cmp dword [ebp - 8], ecx
je 0x401f1f
cmp dword [ebp - 0xc], ecx
je 0x401f1f
lea eax, [esi + 0xe4]
cmp edi, dword [eax]
jne 0x401f16
mov dword [eax], ecx
push 0x6a
mov edi, ebx
call fcn.00401a39
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x40352d
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push dword [ebp + 8]
lea eax, [ebp + 8]
call fcn.00423978
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLocalTime]
movzx eax, word [ebp - 2]
push eax
movzx eax, word [ebp - 4]
push eax
movzx eax, word [ebp - 6]
push eax
movzx eax, word [ebp - 8]
push eax
push str.__02d__02d__02d__03d__n
lea ecx, [ebp + 8]
call fcn.0040b1e8
mov esi, dword [ebp + 8]
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
lea eax, [esi - 0x10]
call fcn.00401023
pop esi
leave
ret 4