joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419680
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4196d9
test eax, edx
je 0x4196dc
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x419697
movzx eax, word [eax]
sub eax, ecx
jmp 0x4196be
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x4196bf
add ecx, 4
js 0x4196af
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x4196bc
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x4196be
xor eax, eax
ret
test eax, eax
je 0x4196e8
test edx, edx
jne 0x419688
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x4246e4
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x4c090c
mov eax, esi
mov edx, 8
test al, 1
je 0x424700
shr eax, 1
xor eax, 0xedb88320
jmp 0x424702
shr eax, 1
dec edx
jne 0x4246f3
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4246ec
pop esi
ret

Function at 0x424718
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ecx
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x4c0908], 0
jne 0x424742
call fcn.004246e4
mov dword [esp], 0x4c0908
mov edx, dword [esp]
mov eax, 1
lock xchg dword [edx], eax
mov eax, edi
test esi, esi
je 0x42476c
mov edx, 0xff
and edx, ebx
movzx ecx, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x4c090c]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x424748
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x467584
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x46758c
mov eax, edx
pop esi
pop ebx
ret
Function at 0x4123a3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040ae14
and dword [ebp - 4], 0
cmp dword [0x422444], 0
mov ebx, eax
jne 0x412454
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x412505
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x412505
push eax
call fcn.0040ada2
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x422444], eax
call esi
push eax
call fcn.0040ada2
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x422448], eax
call esi
push eax
call fcn.0040ada2
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42244c], eax
call esi
push eax
call fcn.0040ada2
pop ecx
mov dword [0x422454], eax
test eax, eax
je 0x412454
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040ada2
pop ecx
mov dword [0x422450], eax
mov eax, dword [0x422450]
cmp eax, ebx
je 0x4124ac
cmp dword [0x422454], ebx
je 0x4124ac
push eax
call fcn.0040ae1d
push dword [0x422454]
mov esi, eax
call fcn.0040ae1d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4124ac
test edi, edi
je 0x4124ac
call esi
test eax, eax
je 0x4124a3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4124a3
test byte [ebp - 0xc], 1
jne 0x4124ac
or dword [ebp + 0x10], 0x200000
jmp 0x4124e5
mov eax, dword [0x422448]
cmp eax, ebx
je 0x4124e5
push eax
call fcn.0040ae1d
pop ecx
test eax, eax
je 0x4124e5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4124e5
mov eax, dword [0x42244c]
cmp eax, ebx
je 0x4124e5
push eax
call fcn.0040ae1d
pop ecx
test eax, eax
je 0x4124e5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x422444]
call fcn.0040ae1d
pop ecx
test eax, eax
je 0x412505
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x412507
xor eax, eax
pop edi
pop esi
pop 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
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x5465751f
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x758961c2
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x6c48209f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], 1
mov dword [esp], edx
call sym._fread
cmp ebx, eax
je 0x6c4820d6
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
call sym._checkErr__systemZio_141_4
mov eax, dword [ebp - 0xc]
add esp, 0x24
pop ebx
pop ebp
ret 4

Function at 0x6c4825ef
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebx
mov ebx, edx
sub esp, 0x10
test edx, edx
je 0x6c482609
mov dword [esp], edx
call sym._strlen
mov dword [esp + 0xc], esi
mov dword [esp], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], 1
call sym._fwrite
mov dword [esp], esi
call sym._fflush
add esp, 0x10
pop ebx
pop esi
pop ebp
ret

Function at 0x6c483c23
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
push esi
mov esi, ecx
push ebx
sub esp, 0x1c
mov dword [esp], 2
call dword [0x6c48f0b4]
mov dword [esp + 8], edi
mov dword [esp], esi
mov ebx, eax
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
call sym._fwrite
mov dword [esp], ebx
call sym._fflush
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x6c487710
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [esp], 2
call sym.___acrt_iob_func
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
mov dword [esp], 0x6c4909dc
call sym._fwrite
mov ebx, dword [ebp - 0xc]
mov dword [esp], 2
call sym.___acrt_iob_func
mov dword [esp + 8], ebx
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._vfprintf
call sym._abort

Function at 0x6c488004
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x6c488023
mov eax, 0
jmp 0x6c488067
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x6c488046
mov eax, 0
jmp 0x6c488067
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x10b
je 0x6c488062
mov eax, 0
jmp 0x6c488067
mov eax, 1
leave
ret
Function at 0x6c488069
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x14]
movzx edx, ax
mov eax, dword [ebp - 0xc]
add eax, edx
add eax, 0x18
mov dword [ebp - 4], eax
jmp 0x6c4880c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [ebp + 0xc], eax
jb 0x6c4880c0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x6c4880c0
mov eax, dword [ebp - 4]
jmp 0x6c4880dc
add dword [ebp - 8], 1
add dword [ebp - 4], 0x28
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 6]
movzx eax, ax
cmp dword [ebp - 8], eax
jb 0x6c48809d
mov eax, 0
leave
ret
Function at 0x10007c60
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x10160068]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x22c]
push 0x228
push 0
push eax
mov esi, ecx
call fcn.100e7700
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x10007cdf
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10007cbd
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.100ea461
add esp, 8
test eax, eax
je 0x10007cfb
lea eax, [ebp - 0x230]
push eax
push edi
call ebx
test eax, eax
jne 0x10007cb3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ceb24
mov esp, ebp
pop ebp
ret 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ceb24
mov esp, ebp
pop ebp
ret 4
Function at 0x100100b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010f332
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x10160068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x818], esi
mov dword [ebp - 0x81c], esi
mov eax, edi
mov dword [ebp - 0x814], 0
cmp dword [edi + 0x14], 8
jb 0x10010102
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov ebx, eax
test ebx, ebx
jne 0x10010119
cmp dword [edi + 0x14], 8
mov ebx, edi
jb 0x10010119
mov ebx, dword [edi]
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.100e7700
mov eax, dword [edi + 0x10]
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x1001013a
mov edi, dword [edi]
push eax
push edi
lea eax, [ebp - 0x810]
push 0x3ff
push eax
call fcn.100ed120
add esp, 0x10
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.MxStart.exe
push ebx
call fcn.100ea461
add esp, 8
test eax, eax
jne 0x100101d5
push 0x10138f58
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001025f
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x810]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100101b2
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1000b730
jmp 0x1001027f
push str.TSBrowserLauncher.exe
push ebx
call fcn.100ea461
add esp, 8
test eax, eax
jne 0x1001021a
push str.TSBrowser.exe
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001025f
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.1000b340
jmp 0x1001027f
push str.DCBrowserLauncher.exe
push ebx
call fcn.100ea461
add esp, 8
test eax, eax
jne 0x1001025f
push str.DCBrowser.exe
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001025f
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.1000b340
jmp 0x1001027f
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov ecx, esi
push 0x101376f0
mov word [esi], ax
call fcn.1000b730
mov dword [ebp - 4], 0
mov dword [ebp - 0x814], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ceb24
mov esp, ebp
pop ebp
ret
Function at 0x10013ca0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010f9a8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10160068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x30], edi
test edi, edi
je 0x10013e32
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + edi + 0x80]
test eax, eax
je 0x10013e32
cmp dword [eax + edi], 0
lea ebx, [eax + edi]
je 0x10013e32
nop word [eax + eax]
mov esi, dword [ebx + 0xc]
push 0x10139eec
add esi, edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push 0x10139eec
push esi
call fcn.100f9210
add esp, 0xc
test eax, eax
jne 0x10013e26
mov esi, dword [ebx]
add esi, edi
mov eax, dword [esi]
test eax, eax
je 0x10013e26
js 0x10013e18
mov ecx, 0x10139f2c
cmp ecx, 0x80000000
jae 0x10013e18
add eax, 2
mov dword [ebp - 0x18], 0
add edi, eax
mov dword [ebp - 0x14], 0
mov eax, edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10013d76
sub eax, edx
lea ecx, [ebp - 0x28]
push eax
push edi
call fcn.100111c0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
push 0x10139f2c
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.100f40ca
add esp, 8
test eax, eax
jne 0x10013dc8
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push 0x40
push dword [ebp - 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10013e50
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10013e03
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10013df9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013eae
push edx
push ecx
call fcn.100cf0c8
add esp, 8
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
jne 0x10013d35
add ebx, 0x14
cmp dword [ebx], 0
jne 0x10013d00
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ceb24
mov esp, ebp
pop ebp
ret
push str.kernel23
push dword [ebp - 0x18]
push edi
call fcn.100ed165
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10013e98
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10013e8e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013eae
push edx
push ecx
call fcn.100cf0c8
add esp, 8
mov dword [ebp - 0x18], 0
mov al, 1
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
jmp 0x10013e34
call fcn.100ecf9f
int3
Function at 0x100186e0
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101101d2
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x10160068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor eax, eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x430], edi
mov dword [ebp - 0x424], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [ebp - 4], eax
xor esi, esi
mov ebx, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x424], 1
mov dword [ebp - 0x42c], str._programfiles_x86__Internet_Exploreriexplore.exe
mov dword [ebp - 0x428], str._programfiles_Internet_Exploreriexplore.exe
nop dword [eax]
nop dword [eax + eax]
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100e7700
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x208
push eax
push dword [ebp + esi*4 - 0x42c]
call ebx
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100187b5
inc esi
cmp esi, 2
jb 0x10018770
jmp 0x100187de
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100187c0
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000b730
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ceb24
mov esp, ebp
pop ebp
ret 4
Function at 0x10027710
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10112649
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x10160068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x34], eax
mov esi, ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], 0
test eax, eax
jne 0x10027782
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], edx
mov dword [ebp - 0x38], 1
jmp 0x1002792a
xor ecx, ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], cx
mov dword [ebp - 4], 1
push eax
push 1
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], ecx
push 2
push eax
call fcn.100edf90
add esp, 0x10
cmp eax, 1
jne 0x100278df
movzx eax, word [ebp - 0x30]
inc eax
cmp byte [ebx + 8], 0
je 0x1002783e
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100cf0d6
movzx ecx, word [ebp - 0x30]
mov edi, eax
push dword [ebp - 0x34]
xor eax, eax
mov word [edi + ecx*2], ax
movzx ecx, word [ebp - 0x30]
push ecx
push 2
push edi
call fcn.100edf90
movzx ecx, word [ebp - 0x30]
add esp, 0x14
cmp eax, ecx
jne 0x100278d2
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10027820
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x2c]
call fcn.1000b730
jmp 0x100278d2
push eax
call fcn.100cf0d6
movzx ecx, word [ebp - 0x30]
mov edi, eax
push dword [ebp - 0x34]
mov byte [ecx + edi], 0
movzx ecx, word [ebp - 0x30]
push ecx
push 1
push edi
call fcn.100edf90
movzx ecx, word [ebp - 0x30]
add esp, 0x14
cmp eax, ecx
jne 0x100278d2
mov edx, edi
lea ecx, [ebp - 0x54]
call fcn.1008fbb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
push eax
call fcn.1000b290
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x40]
cmp edx, 8
jb 0x100278be
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100278b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002794a
push edx
push ecx
call fcn.100cf0c8
add esp, 8
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
test edi, edi
je 0x100278df
push edi
call fcn.100ceb35
add esp, 4
movups xmm0, xmmword [ebp - 0x2c]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov word [ebp - 0x2c], ax
movq xmm0, qword [ebp - 0x1c]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x38], 1
mov byte [ebp - 4], al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100ceb24
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100ecf9f
int3
Function at 0x10037d50
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ecx
push ebx
mov bh, byte [ecx + 0x100]
push ebp
mov ebp, dword [esp + 0x10]
push edi
xor edi, edi
mov dword [esp + 0xc], edx
mov dl, byte [ecx + 0x101]
test ebp, ebp
je 0x10037da9
push esi
nop
inc bh
movzx esi, bh
mov bl, byte [esi + ecx]
add dl, bl
mov byte [esp + 0x18], dl
movzx edx, dl
movzx eax, byte [edx + ecx]
mov byte [esi + ecx], al
mov byte [edx + ecx], bl
movzx eax, byte [esi + ecx]
mov edx, dword [esp + 0x10]
add al, bl
movzx eax, al
movzx eax, byte [eax + ecx]
xor byte [edi + edx], al
inc edi
mov dl, byte [esp + 0x18]
cmp edi, ebp
jb 0x10037d70
pop esi
pop edi
pop ebp
mov byte [ecx + 0x101], bh
mov byte [ecx + 0x100], bh
pop ebx
pop ecx
ret
Function at 0x1003d8c0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10114b97
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10160068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0x18
mov byte [edi], 0
call fcn.100ced35
add esp, 4
mov dword [edi + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 4], 0
lea esi, [edi + 8]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1003f320
mov dword [esi], eax
mov byte [ebp - 4], 3
lea esi, [edi + 0x10]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1003f320
mov dword [esi], eax
mov byte [ebp - 4], 6
xor eax, eax
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 7
mov word [edi + 0x20], ax
mov byte [ebp - 4], 7
lea ecx, [edi + 0x38]
call fcn.1002b4d0
mov byte [ebp - 4], 8
lea eax, [edi + 0xb8]
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 9
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov byte [eax + 0x30], cl
mov byte [ebp - 4], 0xa
xor eax, eax
mov dword [edi + 0x100], ecx
mov dword [edi + 0x104], 7
mov word [edi + 0xf0], ax
mov byte [ebp - 4], 0xb
mov dword [edi + 0x118], eax
mov dword [edi + 0x11c], 0xf
mov byte [edi + 0x108], al
mov byte [ebp - 4], 0xc
mov dword [edi + 0x130], eax
mov dword [edi + 0x134], 0xf
mov byte [edi + 0x120], al
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10043080
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10115988
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10160068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
mov dword [esi + 0x10], eax
call fcn.100efd39
mov ecx, dword [esi]
add esp, 4
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
test ecx, ecx
je 0x100431a4
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x34], edx
call fcn.1003ef10
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
jne 0x10043128
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10043194
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004318a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100431c0
jmp 0x1004318a
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x80
push 4
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x100430eb
test esi, esi
je 0x100430eb
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push 8
lea eax, [ebp - 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100430eb
push edx
push ecx
call fcn.100cf0c8
add esp, 8
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ceb24
mov esp, ebp
pop ebp
ret 4
call fcn.100ecf9f
int3