joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001060
Capabilities:
Encode data using xor

Disassembly:
xchg esp, eax
jp 0x10000f95
add esi, ecx
cmp byte [eax + 0x143b1003], cl
ror dword fs:[ecx - 0x3b], cl
out 0xe4, al
or ah, byte [edx - 0x494b543b]
fiadd word [ebx]
and eax, 0x2a09be97
sub ch, byte [esi - 0x50e66025]
or byte [ebx - 9], ch
pop ds
adc eax, 0xf49432a4
imul eax, dword [ecx - 0x45ff4a62], 0xa2293b54
sahf
mov ch, 0
mov edx, 0xa2293b54
jo 0x10000fd3
cmpsd dword [esi], dword es:[edi]
sbb eax, 0x1ca234a0
in al, 0x88
add byte [edi - 0x2b], dl
call 0xacce7667
into
pushfd
into
pushfd
xor al, byte [ebp + 0x7f2bad1d]
jecxz 0x10001056
lodsd eax, dword [esi]
sub edi, dword [edi - 0x1d]
sti
dec edi
mov ebx, 0xdcef85f8
fcomp qword [ebx + 0x77]
adc al, 0x89
sal byte [esi + 0x6e9435ec], cl
mov al, byte [0xee070ac]
mov edx, edx
mov dh, 0xec
xor eax, 0xaca06e94
jo sym.APPSProperties.dll_public:_unsigned_int___thiscall_AJPRuntimeData::GetJobID_void_
push cs
jbe 0x10001039
push 0x5a
insd dword es:[edi], dx
sbb ch, byte [ebx - 0x4e3a3736]
and cl, byte [edx]
call dword [esi + 0x58d72475]
scasd eax, dword es:[edi]
js 0x10001065
push edx
jae 0x1000100a
pushal
push 0x2a85ffeb
movsb byte es:[edi], byte [esi]
or byte [ecx], ah
jmp [edi + 0x19]

Function at 0x10001100
Capabilities:
Encode data using xor

Disassembly:
push ds
xor byte [eax + 0x29f079fb], ch
sub byte gs:[eax + 0x3742a11], al
sub byte [eax + 0x3742a11], al
sub byte [eax + 0x3742a11], al
and eax, 0x1f1743c9
cwde
out dx, al
bnd js 0x100010f8

Function at 0x10051370
Capabilities:
Encode data using xor

Disassembly:
adc edx, dword [eax - 0x1870905]
adc eax, 0x4348f7db
fcomi st(7)
dec eax
inc ebx
fcomi st(7)
dec eax
inc ebx
xor eax, 0xfd5631c7
fdecstp
xor edx, esp
jl 0x10051368
adc ebx, ecx
push ds
aad 0x71
mov edx, 0x3c3ea9f7
xchg ebp, eax
xchg esi, eax
imul dword [ecx - 0x696ac3c2]
inc ecx
push 0x725005e
inc edx
xor eax, 0x64f93414
rol dword [esi + 3], 0x5c
sti
fsincos
sbb eax, 0x4324d1e6
xor dword [edi], esp
mov gs, word [edx + 0x13]
cmp al, 0xb5
jbe 0x10051385
fsubrp st(1)
int 8
mov al, 0x96
pop ebp
and eax, 0xf8386505
salc
sbb eax, 0x97119aed
mov edi, 0x681a4868
bound edx, qword [ecx + 0x1f]
and ebx, dword [edx]
mov al, byte [0xba4dbaca]
cdq
aas
neg bl
pop edx
stc
inc byte [bx + di + 0x106d]
mov esi, 0x581b7ce9
sub dword [ecx + ebp*2], ebx
sal byte [ebx - 0x78], 1
inc edx
invalid
Function at 0x10065af0
Capabilities:
Encode data using xor

Disassembly:
shr byte [eax - 0x37], 0x6d
sahf
adc byte [ecx + ecx - 0x3c0c88ec], ah
or eax, 0xdcbd75dc
in eax, dx
xor bh, byte [ebx + 0x5896df35]
fist word [esi + 0x268cfa58]
fist word [esi + 0x268cfa58]
xor bl, bl
cmp byte [esi + ebp + 0x4ef62f4a], 0xb5
mov ch, 0x14
jo 0xa192bfeb
test al, 0x9d
push cs
pop es
jecxz 0x10065b68
adc dword [esi + 0x69], 0x6a079aa0
xchg ebp, eax
and dword es:[eax + 0x67891cf9], ecx
push 0x3c
pushfd
salc
mov ch, byte [ebx + 0x16]
lahf
push es
dec edx
stc
cmp eax, 0xe9feec5f
stc
in eax, 0xb4
aad 0x6c
aaa
cmp bl, byte [0x71e272c4]
mov dword [ebx - 0x3eb77398], ecx
loopne 0x10065acb
lcall 0xc6f8, 0x39a1e223
ror byte [esi - 0x67], cl
push edi
xor byte [esi - 0x4812821d], dl
add dword [ebp - 0x66], eax
arpl word ds:[edx], bx
adc edi, dword [eax*8 + 0x3c1f6f30]
and eax, 0x30744176
invalid
xor ch, al
or dword [0x1068dc50], 0xffffff96
ficom word [ecx - 0x3cb9e644]
sahf
lahf
xlatb
inc ecx
std
sbb ebx, ebp
arpl word [eax], dx
in eax, 0x93
std
pop ebx
jbe 0x10065b56
sub ebx, ebp
mov bh, 0x36
sal edi, cl
out dx, eax
jmp 0x1833f7fb

Function at 0x100684c0
Capabilities:
Encode data using xor

Disassembly:
mov ch, 0x98
inc ecx
push eax
mov word [ebx - 0x739716f9], ds
mov esi, 0xbf62fff7
cmp dword [edx + ebx*8], esp
push edx
call [edx]
invalid
pushfd
dec ecx
inc ecx
stosd dword es:[edi], eax
xchg esp, eax
call 0x1339c565
popal
mov ecx, 0xcbda0f67
xor byte [eax - 0x21], cl
dec edi
push 0xfffffffffffffffe
mov byte [0x91e6c663], al
jle 0x100684bb
cmp esp, dword [edx + 0x3621747a]
or ecx, ebp
and ebp, esp
je 0x1006847f
adc eax, 0xaf1ab67c
invalid

Function at 0x100a7ba0
Capabilities:
Encode data using xor

Disassembly:
adc al, cl
mov esp, 0xea3e9ce8
call 0x2cf4ba41
pop eax
call 0x2cf4ba41
pop eax
add edi, dword [edx + 0x596c75ab]
shr dword [edi + 0x2212c468], 1
xchg edi, eax
xor byte [edi + 0x1b], ah
jecxz 0x100a7bff
mov eax, 0x820d0c8f
loope 0x100a7b9d
rcr byte [edx + 0x366d772f], 0x83
into
sub ecx, 8
aad 0x57
pop esi
retf
push ebx
int 0x7f
mov ah, 0xf4
aas
pop eax
cmp byte [edi + 0x72], bl
or ch, dh
xchg esp, eax
call 0x21c2c669
pop ebp
cmpsb byte [esi], byte es:[edi]
aas
jb 0x100a7c6c
in eax, 0x4a
test eax, 0x2fe01067
and eax, dword [edi - 0x2a]
salc
inc edi
pop ebp
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x40510c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404428
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x405125
test al, 0x10
je 0x405129
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x4052b8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, 0x104
call fcn.00404284
add esp, 0x104
pop ebx
ret

Function at 0x4052e8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404418
xor eax, eax
push ebp
push 0x405330
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404428
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
setne bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405337
lea eax, [ebp - 4]
call fcn.00404030
ret

Function at 0x406ed8
Capabilities:
Get geographical location

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

Function at 0x406f24
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x406f46
movzx eax, byte [esp]
jmp 0x406f48
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4075d8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x407450
mov eax, dword [0x40ba9c]
cmp byte [eax], 0
je 0x407654
mov eax, dword [0x40b9f4]
call fcn.00402f88
call fcn.00402dac
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00406398
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40769c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40768a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x40b9d4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x40e7f0]
call fcn.004047cc
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x408ccc
Capabilities:
Encrypt data using rc6

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
lea edx, [esp + 0xc]
mov eax, dword [0x4109bc]
mov ecx, 0x40
call fcn.00402dfc
mov dword [0x410908], 0xb7e15163
mov ebx, 0x2b
mov eax, 0x410908
mov edx, dword [eax]
add edx, 0x9e3779b9
mov dword [eax + 4], edx
add eax, 4
dec ebx
jne 0x408cfa
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
mov dword [esp], 0x84
mov eax, dword [ebx*4 + 0x410908]
add eax, esi
add eax, edi
mov dword [esp + 4], 3
mov ecx, dword [esp + 4]
mov edx, eax
shl edx, cl
mov ecx, dword [esp + 4]
neg ecx
shr eax, cl
or edx, eax
mov eax, edx
mov esi, eax
mov dword [ebx*4 + 0x410908], esi
lea eax, [edi + esi]
mov dword [esp + 8], eax
mov ecx, dword [esp + 8]
mov eax, dword [esp + ebp*4 + 0xc]
add eax, esi
add eax, edi
shl eax, cl
mov ecx, dword [esp + 8]
neg ecx
mov edx, dword [esp + ebp*4 + 0xc]
add edx, esi
add edi, edx
shr edi, cl
or eax, edi
mov edi, eax
mov dword [esp + ebp*4 + 0xc], edi
lea eax, [ebx + 1]
mov ecx, 0x2c
cdq
idiv ecx
mov ebx, edx
inc ebp
and ebp, 0x8000000f
jns 0x408d92
dec ebp
or ebp, 0xfffffff0
inc ebp
dec dword [esp]
jne 0x408d1a
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x408e1c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edx, dword [0x4109b4]
sub dword [eax + 8], edx
mov edx, dword [0x4109b0]
sub dword [eax], edx
mov edx, 0x14
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax + 8]
mov dword [eax + 0xc], ebx
mov ebx, dword [eax + 4]
mov dword [eax + 8], ebx
mov ebx, dword [eax]
mov dword [eax + 4], ebx
mov dword [eax], ecx
mov ecx, dword [eax + 0xc]
mov ebx, ecx
add ecx, ecx
inc ecx
imul ebx, ecx
mov esi, 5
mov ecx, esi
mov edi, ebx
shl edi, cl
mov ecx, esi
neg ecx
shr ebx, cl
or edi, ebx
mov ecx, edi
mov esi, ecx
mov ecx, dword [eax + 4]
mov ebx, ecx
add ecx, ecx
inc ecx
imul ebx, ecx
mov dword [esp], 5
mov ecx, dword [esp]
mov edi, ebx
shl edi, cl
mov ecx, dword [esp]
neg ecx
shr ebx, cl
or edi, ebx
mov ecx, edi
mov ebx, ecx
mov ecx, dword [eax + 8]
mov edi, edx
add edi, edi
sub ecx, dword [edi*4 + 0x41090c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov ecx, dword [esp + 8]
mov edi, dword [esp + 4]
shr edi, cl
mov ecx, dword [esp + 8]
neg ecx
mov ebp, dword [esp + 4]
shl ebp, cl
or edi, ebp
mov ecx, edi
xor ecx, esi
mov dword [eax + 8], ecx
mov ecx, dword [eax]
mov edi, edx
add edi, edi
sub ecx, dword [edi*4 + 0x410908]
mov dword [esp + 0xc], ecx
mov ecx, esi
mov edi, dword [esp + 0xc]
shr edi, cl
mov ecx, esi
neg ecx
mov esi, dword [esp + 0xc]
shl esi, cl
or edi, esi
mov ecx, edi
xor ecx, ebx
mov dword [eax], ecx
dec edx
test edx, edx
jne 0x408e39
mov edx, dword [0x41090c]
sub dword [eax + 0xc], edx
mov edx, dword [0x410908]
sub dword [eax + 4], edx
mov al, 1
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4090d8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404418
xor eax, eax
push ebp
push 0x4091a8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x44
call fcn.00409054
mov dword [ebp - 0x58], 0x44
mov dword [ebp - 0x2c], 1
mov word [ebp - 0x28], 0
lea eax, [ebp - 0x14]
xor ecx, ecx
mov edx, 0xc
call fcn.00409054
mov dword [ebp - 0x14], 0xc
mov dword [ebp - 0xc], 0xffffffff
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0x20
push 0xffffffffffffffff
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.00404428
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x409192
push 0xffffffffffffffff
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4091af
lea eax, [ebp - 4]
call fcn.00404030
ret
Function at 0x10001090
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push ebx
push edi
mov edi, eax
mov ebx, ecx
je 0x10001169
test ebx, ebx
je 0x10001169
test edi, edi
je 0x10001169
push esi
push 0x100
call fcn.10006323
mov esi, eax
mov eax, dword [ebp + 0x10]
add esp, 4
push eax
call fcn.10001180
test eax, eax
jne 0x100010d7
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
xor eax, eax
xor ecx, ecx
cmp dword [ebp + 0xc], eax
jle 0x1000114e
mov edx, dword [ebp + 8]
sub edx, edi
mov dword [ebp + 0x10], edx
mov edx, dword [ebp + 0xc]
mov dword [ebp + 8], edx
mov edi, edi
inc eax
and eax, 0x800000ff
jns 0x100010ff
dec eax
or eax, 0xffffff00
inc eax
movzx edx, byte [eax + esi]
add ecx, edx
and ecx, 0x800000ff
jns 0x10001115
dec ecx
or ecx, 0xffffff00
inc ecx
mov bl, byte [ecx + esi]
mov dl, byte [eax + esi]
mov byte [eax + esi], bl
mov byte [ecx + esi], dl
movzx edx, byte [eax + esi]
movzx ebx, byte [ecx + esi]
add edx, ebx
and edx, 0x800000ff
jns 0x1000113b
dec edx
or edx, 0xffffff00
inc edx
movzx edx, byte [edx + esi]
mov ebx, dword [ebp + 0x10]
xor dl, byte [ebx + edi]
inc edi
dec dword [ebp + 8]
mov byte [edi - 1], dl
jne 0x100010f0
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
push esi
mov dword [eax], ecx
call fcn.1000641a
add esp, 4
pop esi
pop edi
or eax, 0xffffffff
pop ebx
pop ebp
ret 0x10
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0x10

Function at 0x10001180
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
test esi, esi
je 0x100011db
lea esp, [esp]
mov byte [eax + esi], al
inc eax
cmp eax, 0x100
jl 0x10001190
push edi
xor edi, edi
xor ecx, ecx
mov eax, ecx
cdq
idiv dword [ebp + 8]
movzx eax, byte [edx + ebx]
movzx edx, byte [ecx + esi]
add edi, eax
add edi, edx
and edi, 0x800000ff
jns 0x100011c2
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [ecx + esi]
mov dl, byte [edi + esi]
mov byte [ecx + esi], dl
inc ecx
mov byte [edi + esi], al
cmp ecx, 0x100
jl 0x100011a0
or eax, 0xffffffff
pop edi
pop ebp
ret 4

Function at 0x10001310
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1001d078]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x10001345
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000640b
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x10]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [ebp - 0x18]
push 0
push 0
push 0
lea edx, [ebp - 0x14]
push edx
push 0
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.1000640b
mov esp, ebp
pop ebp
ret
Function at 0x100058a0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1001d078]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 0x10], eax
push edi
xor esi, esi
lea eax, [ebx + 2]
movzx ecx, byte [eax - 2]
movzx edx, byte [eax - 1]
mov byte [ebp + esi - 0xc], cl
movzx ecx, byte [eax]
mov byte [ebp + esi - 0xb], dl
movzx edx, byte [eax + 1]
mov byte [ebp + esi - 0xa], cl
mov byte [ebp + esi - 9], dl
add esi, 4
add eax, 4
cmp esi, 8
jb 0x100058c0
mov ecx, dword [ebx]
shr ecx, 3
and ecx, 0x3f
mov eax, 0x38
cmp ecx, 0x38
jb 0x10005901
mov eax, 0x78
lea edi, [ebx + 0x58]
sub eax, ecx
push edi
call fcn.100057e0
lea eax, [ebp - 0xc]
push eax
mov eax, 8
call fcn.100057e0
mov esi, dword [ebp - 0x10]
lea eax, [ebx + 8]
inc esi
mov ecx, 4
movzx edx, byte [eax]
mov byte [esi - 1], dl
movzx edx, byte [eax + 1]
mov byte [esi], dl
movzx edx, byte [eax + 2]
mov byte [esi + 1], dl
movzx edx, byte [eax + 3]
mov byte [esi + 2], dl
add eax, 4
add esi, 4
dec ecx
jne 0x10005926
push 0x98
push ecx
push ebx
call fcn.1000ce10
push 0x40
push 0
push edi
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0x67452301
mov dword [ebx + 0xc], 0xefcdab89
mov dword [ebx + 0x10], 0x98badcfe
mov dword [ebx + 0x14], 0x10325476
call fcn.1000ce10
mov ecx, dword [ebp - 4]
add esp, 0x18
mov byte [edi], 0x80
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000640b
mov esp, ebp
pop ebp
ret 4

Function at 0x1000640b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001d078]
jne 0x10006415
repz ret
jmp fcn.10008939
Function at 0x100127ba
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1001d078]
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.1000af96
and dword [ebp - 0x14], 0
cmp dword [0x1001f3c4], 0
mov dword [ebp - 0x18], eax
jne 0x1001286d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10012915
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10012915
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1001f3c4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1001f3c8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1001f3cc], eax
call edi
push eax
call esi
mov dword [0x1001f3d4], eax
test eax, eax
je 0x1001286d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1001f3d0], eax
mov eax, dword [0x1001f3d0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x100128c6
cmp dword [0x1001f3d4], ecx
je 0x100128c6
push eax
call esi
push dword [0x1001f3d4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x100128c6
test ebx, ebx
je 0x100128c6
call edi
test eax, eax
je 0x100128bd
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x100128bd
test byte [ebp - 8], 1
jne 0x100128c6
or dword [ebp + 0x10], 0x200000
jmp 0x100128f9
mov eax, dword [0x1001f3c8]
cmp eax, dword [ebp - 0x18]
je 0x100128f9
push eax
call esi
test eax, eax
je 0x100128f9
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100128f9
mov eax, dword [0x1001f3cc]
cmp eax, dword [ebp - 0x18]
je 0x100128f9
push eax
call esi
test eax, eax
je 0x100128f9
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1001f3c4]
call esi
test eax, eax
je 0x10012915
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10012917
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000640b
leave
ret
Function at 0x412769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x416190
cmp edx, dword [eax]
je 0x41278b
add eax, 8
inc ecx
cmp eax, 0x416220
jl 0x41277c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x416190]
jne 0x4128b9
mov eax, dword [0x416bb0]
cmp eax, 1
je 0x412893
test eax, eax
jne 0x4127bc
cmp dword [0x4160e4], 1
je 0x412893
cmp edx, 0xfc
je 0x4128b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4127f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00413670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00413490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x412836
lea eax, [ebp - 0x1a4]
push eax
call fcn.00413490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41545c
push edi
call fcn.00413f00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00413670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00413680
lea eax, [ebp - 0xa0]
push 0x41543c
push eax
call fcn.00413680
push dword [esi + 0x416194]
lea eax, [ebp - 0xa0]
push eax
call fcn.00413680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00413e75
add esp, 0x2c
pop edi
jmp 0x4128b9
lea eax, [ebp + 8]
lea esi, [esi + 0x416194]
push 0
push eax
push dword [esi]
call fcn.00413490
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x1f1c135
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov edi, dword [esp + 0x28]
rcr ebp, 1
ror edi, 3
lahf
inc edi
cbw
rcl al, 0x9d
rol edi, 3
cwd
inc edx
inc edi
rol edi, 1
cwd
rdtsc
inc edi
test ax, di
bswap ax
shrd ebp, edi, 0x5a
lea edi, [edi + ecx]
bswap eax
lahf
mov esi, esp
sbb bx, bp
mov bp, si
bt eax, 0x84
lea esp, [esp - 0xc0]
cmc
push eax
mov eax, ecx
movsx ax, dh
push edx
movzx edx, ax
mov al, 0xe0
mov eax, edi
push edi
setb ah
mov edx, eax
rdtsc
push ebx
cwd
xchg bl, dh
cmovb bx, bp
push esi
cmovg edx, edi
movzx edi, ax
mov edi, ebp
push ecx
not di
movzx edx, ax
pushfd
ror di, 0xcc
rol ebx, cl
push ebp
cmovb ax, di
rdtsc
mov ecx, 0
cmova esi, eax
cmc
push ecx
jmp 0x1ea44d1