joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401290
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x401391
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push esi
call ebx
test eax, eax
jne 0x401390
push edi
push esi
lea eax, [ebp - 0x208]
push 0x104
push eax
call fcn.00404504
lea eax, [ebp - 0x208]
push 0x5c
push eax
call fcn.004026b0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x40138f
add edi, 2
push 0x5c
push edi
call fcn.004026b0
mov esi, eax
add esp, 8
test esi, esi
je 0x401347
xor eax, eax
mov word [esi], ax
lea eax, [ebp - 0x208]
push eax
call ebx
test eax, eax
jne 0x40133c
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x40133c
call fcn.004014e0
test eax, eax
je 0x40133c
push 0x10000000
push str.Users
lea eax, [ebp - 0x208]
push eax
call fcn.004014f0
mov eax, 0x5c
lea edi, [esi + 2]
mov word [esi], ax
cmp word [edi], 0
je 0x401351
test esi, esi
jne 0x4012e8
lea eax, [ebp - 0x208]
push eax
call ebx
test eax, eax
jne 0x40138f
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x40138f
call fcn.004014e0
test eax, eax
je 0x40138f
push 0x10000000
push str.Users
lea eax, [ebp - 0x208]
push eax
call fcn.004014f0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x401410
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push dword [ebp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x40149e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x40149e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40149e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x40149e
push 1
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push dword [ebp + 8]
call fcn.004011a0
mov esi, eax
cmp esi, 0xffffffff
je 0x40149e
push 0
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], 0
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0x10
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x10
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
mov ebx, 0x408e54
nop
nop
mov ecx, 0x41c2660d
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x48367696
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4096c0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x40d018]
xor eax, ebp
mov dword [ebp - 0x40], eax
xor eax, eax
mov word [ebp - 0x248], ax
push 0x206
push 0
lea ecx, [ebp - 0x246]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
xor edx, edx
mov word [ebp - 0x450], dx
push 0x206
push 0
lea eax, [ebp - 0x44e]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.MSVCR90.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x40974f
mov edx, dword [ebp + 0xc]
push edx
push 0x104
lea eax, [ebp - 0x450]
push eax
call fcn.004062c0
push 0x40b3b4
push 0x104
lea ecx, [ebp - 0x450]
push ecx
call fcn.00406310
jmp 0x40979e
lea edx, [ebp - 0x450]
push edx
push 0
push 0
push 0x2b
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x409780
push 0x40b3b8
push 0x104
lea eax, [ebp - 0x450]
push eax
call fcn.00406310
jmp 0x40979e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x40b3d8
push str.SHGetFolderPath_failed
call fcn.004080a0
add esp, 0xc
jmp 0x409874
lea ecx, [ebp - 0x450]
push ecx
push 0x104
lea edx, [ebp - 0x248]
push edx
call fcn.004062c0
push str.AdobeARMHelper.exe
push 0x104
lea eax, [ebp - 0x248]
push eax
call fcn.00406310
push 0xffffffffffffffff
lea ecx, [ebp - 0x248]
push ecx
call fcn.004095f0
add esp, 8
test eax, eax
jne 0x4097fc
push 0x357
lea edx, [ebp - 0x248]
push edx
push str.Service_workflow_failed__file_not_valid:
call fcn.004080a0
add esp, 0xc
jmp 0x409874
mov dword [ebp - 0x3c], 0
push 0x38
push 0
lea eax, [ebp - 0x38]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x540
mov dword [ebp - 0x20], 5
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x248]
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x40985b
push 0
push 0x40b48c
push str.ShellExecuteEx_succeeded
call fcn.004080a0
add esp, 0xc
jmp 0x409874
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x40b4c4
push str.ShellExecuteEx_failed
call fcn.004080a0
add esp, 0xc
mov ecx, dword [ebp - 0x40]
xor ecx, ebp
call fcn.00407458
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
mov eax, section..3ean
nop
mov ebx, 0x40915c
nop
nop
mov ecx, 0x40407145
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..7LWLf
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x641a4f40
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x405160
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x417ac9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1c], 0
push 0x24
mov ecx, dword [ebp - 0x14]
add ecx, 0x18
push ecx
lea edx, [ebp - 0x10]
push edx
call sub.MFC42.DLL_operator
mov dword [ebp - 4], 0
push 0x41d534
push 0x41d530
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Replace
mov eax, dword [ebp - 0x10]
push eax
push 1
push 2
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x28], 0
jne 0x405225
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x244], 1
mov ecx, dword [ebp - 0x10]
push ecx
push 0x4637
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x28], eax
push 0
push 0
push 0
push 2
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x24]
mov dword [ecx], eax
jmp 0x40526d
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x244]
add eax, 1
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x244], eax
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x1c], 1
push 0
push 0
push 0
push 2
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x24]
mov dword [edx], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4125d0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x418806
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x324
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x3f5
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, dword [esi + 0x6c]
mov edx, dword [esi + 0x70]
lea edi, [esi + 0x6c]
mov ebx, eax
mov eax, dword [esi + 0x68]
lea ebp, [esi + 0x70]
push eax
push ecx
push edx
lea eax, [esp + 0x140]
push str._s_s._s
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea ecx, [esp + 0x30]
lea edx, [esp + 0x148]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__findfirst]
add esp, 0x1c
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x412777
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x134], 0
test eax, eax
jbe 0x4126bb
lea eax, [esp + 0x134]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push edi
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x348], 0
mov ecx, esp
mov dword [esp + 0x20], esp
push ebp
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x3c]
mov dword [esp + 0x348], 0xffffffff
push ecx
call fcn.00412450
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4126bf
mov eax, dword [ebx + 0x20]
lea edx, [esp + 0x134]
push edx
push 0
push 0x143
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4126bf
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__findnext]
add esp, 8
test eax, eax
jne 0x412769
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x234], 0
test eax, eax
jbe 0x412731
lea eax, [esp + 0x234]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edi
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x348], 1
mov ecx, esp
mov dword [esp + 0x24], esp
push ebp
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x3c]
mov dword [esp + 0x348], 0xffffffff
push ecx
call fcn.00412450
add esp, 0x10
mov esi, eax
test esi, esi
je 0x41274e
mov eax, dword [ebx + 0x20]
lea edx, [esp + 0x234]
push edx
push 0
push 0x143
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__findnext]
add esp, 8
test eax, eax
je 0x4126da
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll__findclose]
add esp, 4
mov ecx, dword [esp + 0x334]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x330
ret

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

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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [esp + 4], 0
mov dword [esp], edi
call sym._WindowsGetStringRawBuffer_8
sub esp, 8
mov ebx, eax
test byte [0x10004018], 8
jne 0x100013f0
mov dword [esi], 0
mov dword [esp + 4], str.Windows.Devices.Geolocation.Geolocator
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
jne 0x100013d5
mov eax, dword [0x10004068]
mov dword [esp + 8], esi
mov dword [esp + 4], 0x10006390
mov dword [esp], 0x10004068
call dword [eax]
sub esp, 0xc
cmp dword [esi], 1
sbb eax, eax
lea esp, [ebp - 0xc]
pop ebx
and eax, 0x80040111
pop esi
pop edi
pop ebp
ret 8
lea eax, [ebp - 0x10]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym._WindowsGetStringRawBuffer_8
mov edx, dword [ebp - 0x10]
sub esp, 8
call sym._wine_dbgstr_wn
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.classid__s__factory__p._n
mov dword [esp + 8], str.DllGetActivationFactory
mov dword [esp + 4], 0x10004018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x1000139d
Function at 0x10002550
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x100025a8
cmp byte [esi + ebx - 1], 0xa
je 0x1000257c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x10004118], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x4fce5d
Capabilities:
Encode data using xor

Disassembly:
push ebx
or esi, dword [edx + 0x41def9eb]
in eax, 0xfa
xchg ebx, eax
xchg esp, eax
add al, 0xe7
push ebx
add al, 0x16
xchg ebp, eax
popfd
mov ebx, 0xe348960c
jae 0x4fcd87
push cs
out 0xe4, eax
not ecx
ret 0xc1d3
ja 0x4fce20
xlatb
jae 0x4fcdb9
enter 0x4321, 0xffffffffffffffab
sbb al, 0x4a
test al, 0xa1
test dword [ecx + 0x5d], esp
mov ch, 0xbc
mul byte [ebx]
mov eax, ecx
push eax
add al, 0x2b
pop edx
div byte [edx]
in eax, 0xe2
sub byte [eax + 0x11], ah
imul esp, dword [esi], 0x860e57a4
push ecx
jbe 0x4fce1c
movsb byte es:[edi], byte es:[esi]
push edi
push cs
xchg byte [ecx + 0x76], dl
lcall 0xe45f, 0xd457f6e2
cwde
loop 0x4fce7a
push edi
aam 0x5f
in al, 0x98
cmpsd dword [esi], dword es:[edi]
out 0x9e, al
add eax, 0xeacd4a96
in eax, 0xd8
cli

Function at 0x550a2d
Capabilities:
Encode data using xor

Disassembly:
lodsb al, byte [esi]
mov esp, 0xad7342f3
movsd dword es:[edi], dword [esi]
sar dword [esi], cl
adc eax, 0xe94a9c34
fmul qword [esi - 0x6d]
fcmovbe st(0), st(7)
xchg edx, eax
mov dword [0xee7a9918], eax
pushfd
sbb byte [ecx], ch
fldenv [ebx - 0x3cb8bc07]
push dword [ebp + 0x56]
jno 0x550ab5
adc ch, dh
jmp 0x7af801d4
invalid
dec ebx
xor edi, ebx
sub byte [eax + 0x38d2fd57], 0x56
je 0x550a73
push eax
jb 0x550a73
jbe 0x550ae1
push ebx
invalid
cdq
push esi
inc edi
mov dh, 0x19
adc eax, dword [ebx]
and dword [esi + 0x69c739bc], esi
imul ecx, dword [ebp + 0x2253ce56], 0xe27be281
or eax, 0x5d4c9610
mov ah, 0x3b
je 0x550b29
sbb byte [edx - 0xc74ad3f], ch
mov ecx, 0xdee33a94
invalid
aam 0x66
lodsb al, byte [esi]
xchg ebx, eax
jmp 0x8c071a6

Function at 0x62af0d
Capabilities:
Encode data using xor

Disassembly:
mov bl, 0x25
fucom st(4)
test eax, 0x23c0b295
ret
push cs
jae 0x62aed4
push esi
aam 0xde
pop ss
cmpsb byte [esi], byte es:[edi]
clc
invalid
Function at 0x10341b30
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.1012172f
mov eax, dword [0x10411580]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x10420d80]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1420], ecx
mov edx, dword [ebp - 0x1420]
cmp edx, dword [ebp - 0x1424]
jae 0x10341d08
lea eax, [ebp - 5]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1418], ecx
mov edx, dword [ebp - 0x1418]
cmp edx, dword [ebp - 0x1430]
jae 0x10341c57
mov eax, dword [ebp - 0x1420]
cmp eax, dword [ebp - 0x1424]
jae 0x10341c57
mov ecx, dword [ebp - 0x1420]
mov dl, byte [ecx]
mov byte [ebp - 0x1419], dl
mov eax, dword [ebp - 0x1420]
add eax, 1
mov dword [ebp - 0x1420], eax
mov cl, byte [ebp - 0x1419]
mov byte [ebp - 0x1411], cl
movsx edx, byte [ebp - 0x1411]
cmp edx, 0xa
jne 0x10341c35
mov eax, dword [ebp - 0x1408]
add eax, 1
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp - 0x1418]
mov byte [ecx], 0xd
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
mov eax, dword [ebp - 0x1418]
mov cl, byte [ebp - 0x1411]
mov byte [eax], cl
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
jmp 0x10341bb9
mov eax, dword [ebp - 0x1418]
lea ecx, [ebp - 0x1404]
sub eax, ecx
mov dword [ebp - 0x142c], eax
push 0
lea edx, [ebp - 0x1428]
push edx
mov eax, dword [ebp - 0x142c]
push eax
lea ecx, [ebp - 0x1404]
push ecx
mov edx, dword [ebp - 0x1434]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10341cc1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
jmp 0x10341d28
mov edx, dword [ebp - 0x140c]
add edx, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], edx
mov eax, dword [ebp - 0x1428]
cmp eax, dword [ebp - 0x142c]
jae 0x10341d03
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x10341d28
jmp 0x10341b92
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10123674
mov esp, ebp
pop ebp
ret
Function at 0x10341dc0
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.1012172f
mov eax, dword [0x10411580]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x10420d80]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x141c], ecx
mov edx, dword [ebp - 0x141c]
cmp edx, dword [ebp - 0x1424]
jae 0x10341fab
lea eax, [ebp - 6]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1414], ecx
mov edx, dword [ebp - 0x1414]
cmp edx, dword [ebp - 0x1430]
jae 0x10341ef6
mov eax, dword [ebp - 0x141c]
cmp eax, dword [ebp - 0x1424]
jae 0x10341ef6
mov ecx, dword [ebp - 0x141c]
mov dx, word [ecx]
mov word [ebp - 0x141e], dx
mov eax, dword [ebp - 0x141c]
add eax, 2
mov dword [ebp - 0x141c], eax
mov cx, word [ebp - 0x141e]
mov word [ebp - 0x1418], cx
movzx edx, word [ebp - 0x1418]
cmp edx, 0xa
jne 0x10341ed2
mov eax, dword [ebp - 0x1408]
add eax, 2
mov dword [ebp - 0x1408], eax
mov ecx, 0xd
mov edx, dword [ebp - 0x1414]
mov word [edx], cx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
mov ecx, dword [ebp - 0x1414]
mov dx, word [ebp - 0x1418]
mov word [ecx], dx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
jmp 0x10341e49
mov ecx, dword [ebp - 0x1414]
lea edx, [ebp - 0x1404]
sub ecx, edx
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x142c], ecx
push 0
lea eax, [ebp - 0x1428]
push eax
mov ecx, dword [ebp - 0x142c]
push ecx
lea edx, [ebp - 0x1404]
push edx
mov eax, dword [ebp - 0x1434]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10341f64
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x10341fcb
mov eax, dword [ebp - 0x140c]
add eax, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], eax
mov ecx, dword [ebp - 0x1428]
cmp ecx, dword [ebp - 0x142c]
jae 0x10341fa6
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1410]
mov dword [edx], eax
mov ecx, dword [ebp - 0x140c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x1408]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
jmp 0x10341fcb
jmp 0x10341e22
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10123674
mov esp, ebp
pop ebp
ret
Function at 0x10011023
Capabilities:
Terminate process

Disassembly:
jmp 0x1001cb00
jmp fcn.1001cb30
cmp ecx, dword [0x10021054]
jne 0x1001cb0a
repz ret
jmp 0x100110b9

Function at 0x10019dc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x10019dcf
pop dword [ebp - 0x24]
mov eax, 0x6843aa67
sub eax, 0x58420c98
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x76b3b015
sub dword [ebp - 0x34], 0x28616aca
mov dword [ebp - 0x30], 0xdf50d9f6
sub dword [ebp - 0x30], 0xad1d8db1
mov dword [ebp - 0x2c], 0xf0b1edbb
sub dword [ebp - 0x2c], 0xa465a98d
mov dword [ebp - 0x28], 0xd81920a6
add dword [ebp - 0x28], 0x27e6df5a
lea eax, [ebp - 0x34]
push eax
mov eax, 0x1202650b
add eax, 0xfdffbce1
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x1e90c811
sub dword [ebp - 0x34], 0xaa1e5ebb
mov dword [ebp - 0x30], 0x2398ed35
sub dword [ebp - 0x30], 0xe22c8bc0
mov dword [ebp - 0x2c], 0x80ca40c8
sub dword [ebp - 0x2c], 0x1d5ad45c
mov dword [ebp - 0x28], 0xcf8060f2
add dword [ebp - 0x28], 0x307f9f0e
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x6803c792
sub eax, 0x5801a5a2
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x31256
push 0
call eax
mov ecx, 0x2fe7
mov edx, eax
mov ebx, 0x1ef5659f
add ebx, 0xf10ce461
add ebx, dword [ebp - 0x24]
mov esi, 0x8063ac6c
sub esi, 0x1e68d7ea
mov dword [ebp - 0x10], 0xab44ab7c
mov edi, dword [ebx]
mov dword [ebp - 8], 0xa57dd117
sub edi, esi
xor dword [ebp - 8], 0xfff597c8
mov dword [edx], edi
xor dword [ebp - 4], ecx
add edx, 0xc2614074
sub edx, 0xc2614070
add ebx, 0xe380fd3f
sub ebx, 0xe380fd3b
loop 0x10019eeb
add eax, 0xb26f
mov ebx, eax
add eax, 0x15530a18
sub eax, 0x15530a13
mov ecx, 0x604fca62
add ecx, 0xafb0359e
add ecx, dword [ebp - 0x24]
call ebx
leave
ret