joyce8/EMBER2024-capa huggingface dataset:
Function at 0x60692f
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call int.00639e1f
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x606a52
push ecx
lea ecx, [esi + 0x18]
call fcn.0062614f
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x606a69
push ecx
lea ecx, [esi + 0x24]
call fcn.0062605f
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x62548f
Capabilities:
Encode data using xor

Disassembly:
scasb al, byte es:[edi]
pop edi
sub byte [esi], 0xbe
iretd
pop es
mov byte [ebp + 0x4c0fedf1], 0x54
in eax, dx
cmovl edx, dword [edi + eax*4 + 0x26]
in eax, dx
cmovl edx, dword [edi + eax*4 + 0x26]
inc esi
xor al, 0xae
jo 0x62548b
jle 0x6254fe
push esp
jo 0x625460
dec ecx
lahf
stosd dword es:[edi], eax
mov eax, 0xa6fbb5e0
xchg byte [ebp + 0x475f7171], dh
or byte [edi], 0x5f
adc eax, 0xbc4c9014
salc
mov eax, 0x2422c01f
push esp
mov al, byte [0x6078841a]
mov ch, 0xcb
and al, 0xa3
rol edi, cl
test eax, 0x84119781
cld
sahf
adc al, byte [ebx + 0x10]
popfd
test dword [edx + 0x30], ebx
pop edi
ror byte [esi + 0x51], 0x7f
sbb dword [edi], 0x18
xchg edx, eax
inc ecx
push ss
and bh, byte [esi]
pushfd
mov esi, dword [esi - 0x26]
inc esi
xchg edx, eax
adc eax, 0x10b201bc
push ds
cld
mov es, word [ecx + eax]
invalid
adc ebp, dword [ebx]
sal dword [ecx - 0x6f], cl
sbb esi, dword [ebx]
sahf
add al, 0xbd
fild qword [esi]
inc ecx
sahf
hlt
Function at 0x6284cf
Capabilities:
Check for software breakpoints

Disassembly:
dec ebp
cmp al, 0xcc
wait
push eax
loopne 0x6284ad
xor al, 0x5b
and dl, byte [edi + 0x4d]
das
int3
add ch, bh
ja 0x6284de
sub ah, cl
invalid
and ebx, dword [esi + 0x41]
insd dword es:[edi], dx
mov fs, edi
mov ebp, 0xe042c047
sub al, 0xdc
and edx, dword [ecx - 1]
mov al, 0x90
mov eax, dword [0xd775bd57]
adc dh, byte [0x13c370ad]
mov dh, 0xf9
and ch, byte [edi + 0x34]
loop 0x628518
jbe 0x6284b0
mov al, 0xdf
mov eax, dword [0x3eaff8ce]
retf 0xa3d
cld
mov eax, dword [0xcb3f6247]
push esi
scasd eax, dword es:[edi]
stosd dword es:[edi], eax
and al, 0x40
call 0xc8071a18
mov al, byte [0x88c353ab]
das
in eax, 0x9c
and ch, bh
std
adc ebp, dword [ecx]
sbb byte [edi + 0x20], bh
int 0xbf
and ch, cl
shl byte [esp + ecx], 1
xor edi, dword fs:[esi + 0x1179bd3a]
imul ecx, dword [ebp + ebp*4 + 0x13609a41], 0xffffffff
xchg ecx, eax
sub byte [0xe3a01f27], 0x28
movsd dword es:[edi], dword [esi]
lodsd eax, dword [esi]
push 0xffffffffffffffd1
or ebx, dword [ecx + 0xd]
pushal
push esi
push cs
out 0xa7, eax
cld
js 0x628531
or dword [esi], ecx
mov eax, eax
ror ecx, 1
into
mov esi, 0x80f33eef
xchg ecx, eax
das
push esp
invalid

Function at 0x64d9cd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6563a8
cmp edx, dword [eax]
je 0x64d9ef
add eax, 8
inc ecx
cmp eax, 0x656438
jl 0x64d9e0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6563a8]
jne 0x64db1d
mov eax, dword [0xa59d04]
cmp eax, 1
je 0x64daf7
test eax, eax
jne 0x64da20
cmp dword [0x6562d4], 1
je 0x64daf7
cmp edx, 0xfc
je 0x64db1d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x64da57
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0064e3b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0064e840
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x64da9a
lea eax, [ebp - 0x1a4]
push eax
call fcn.0064e840
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x652b44
push edi
call fcn.00650710
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0064e3b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0064e3c0
lea eax, [ebp - 0xa0]
push 0x652b24
push eax
call fcn.0064e3c0
push dword [esi + 0x6563ac]
lea eax, [ebp - 0xa0]
push eax
call fcn.0064e3c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00650684
add esp, 0x2c
pop edi
jmp 0x64db1d
lea eax, [ebp + 8]
lea esi, [esi + 0x6563ac]
push 0
push eax
push dword [esi]
call fcn.0064e840
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 0x41f150
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x14000]
push edi
or ebp, 0xffffffff
jmp 0x41f172
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41f179
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41f168
mov eax, 1
add ebx, ebx
jne 0x41f18b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41f180
jne 0x41f19c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41f180
xor ecx, ecx
sub eax, 3
jb 0x41f1b0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41f222
mov ebp, eax
add ebx, ebx
jne 0x41f1bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41f1c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41f1ec
inc ecx
add ebx, ebx
jne 0x41f1d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41f1cd
jne 0x41f1e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41f1cd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41f20c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41f1fd
jmp 0x41f16e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41f20c
add edi, ecx
jmp 0x41f16e
pop esi
mov edi, esi
mov ecx, 0x7b7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41f22a
cmp byte [edi], 5
jne 0x41f22a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x41f22f
lea edi, [esi + 0x1d000]
mov eax, dword [edi]
or eax, eax
je 0x41f2a7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x208f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x20998]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41f25c
mov ecx, edi
jns 0x41f28b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2099c]
or eax, eax
je 0x41f2a1
mov dword [ebx], eax
add ebx, 4
jmp 0x41f279
call dword [esi + 0x209a0]
popal
jmp section.UPX0

Function at 0x4153e0
Capabilities:
Encode data using xor

Disassembly:
pop ds
rol dword [ebx], 1
xor al, 0x76
push ebp
test byte [ecx], dh
xchg edi, eax
pop esp
adc eax, 0xaf34d523
invalid
Function at 0xf4a1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00f4a140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00f4a140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00f4a140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00f4a140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xf4abfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xf4ac50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xf5c87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xf4ac43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xf4ac52
xor eax, eax
pop esi
leave
ret 4
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00406dc2
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00406dc2
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00406dc2
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00406dc2
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00406dc2
mov dword [0x41203c], eax
call fcn.00406dc2
test eax, eax
jge 0x402550
push 8
call fcn.00406dc2
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00406dc2
pop ecx
push 1
call fcn.00406dc2
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00406dc2
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00406dc2
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00406dc2
jmp 0x402495

Function at 0x406dc2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x406dd1
pop dword [ebp - 0x24]
mov eax, 0x406dd1
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x35dd1
push 0
mov eax, 0x2bf5bdf1
add eax, 0xd44b22e7
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0x3a46
xor edx, edx
add edx, eax
mov ebx, 0xde0bf571
sub ebx, 0xddcab9ad
add ebx, dword [ebp - 0x24]
mov esi, 0x8e646d66
xor dword [ebp - 4], ebx
mov edi, dword [ebx]
sub dword [ebp - 0x10], esi
xor edi, esi
mov dword [edx], edi
add edx, 0x8e9639a3
sub edx, 0x8e96399f
add ebx, 4
loop 0x406e21
add eax, 0xdbeb
xor ebx, ebx
add ebx, eax
add eax, 0xd2fcdd56
add eax, 0x2d0322af
mov ecx, 0x6a5373b7
add ecx, 0x95ec8c49
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x81ca40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x298000]
push edi
jmp 0x81ca5a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x81ca61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x81ca50
mov eax, 1
add ebx, ebx
jne 0x81ca73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x81ca84
jne 0x81caa3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x81caa3
dec eax
add ebx, ebx
jne 0x81ca90
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x81ca68
add ebx, ebx
jne 0x81ca9f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x81caf5
xor ecx, ecx
sub eax, 3
jb 0x81cabb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x81cb2a
sar eax, 1
mov ebp, eax
jmp 0x81cac6
add ebx, ebx
jne 0x81cac6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x81ca94
inc ecx
add ebx, ebx
jne 0x81cad4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x81ca94
add ebx, ebx
jne 0x81cae1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x81cad6
jne 0x81caf2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x81cad6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x81cb14
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x81cb06
jmp 0x81ca56
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x81cb14
add edi, ecx
jmp 0x81ca56
pop esi
mov edi, esi
mov ecx, 0xc9b5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x81cb32
cmp byte [edi], 0x3e
jne 0x81cb32
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x81cb37
lea edi, [esi + 0x418000]
mov eax, dword [edi]
or eax, eax
je 0x81cbaf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x41f748]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x41f8d8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x81cb64
mov ecx, edi
jns 0x81cb93
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x41f8e0]
or eax, eax
je 0x81cba9
mov dword [ebx], eax
add ebx, 4
jmp 0x81cb81
call dword [esi + 0x41f8dc]
mov ebp, dword [esi + 0x41f8e4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x31f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x81cbe3
sub esp, 0xffffff80
jmp section.UPX0
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 0x402bf1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x402c00
pop dword [ebp - 0xc]
mov eax, 0x919e0dab
sub eax, 0x915de1ab
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0xbdf8141f
add dword [ebp - 0x1c], 0x905a312c
mov dword [ebp - 0x18], 0xb314f9a3
add dword [ebp - 0x18], 0x7f1e52a2
mov dword [ebp - 0x14], 0xe1fef8dd
sub dword [ebp - 0x14], 0x95b2b4af
mov dword [ebp - 0x10], 0x916b9fbb
sub dword [ebp - 0x10], 0x916b9fbb
lea eax, [ebp - 0x1c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x6b128c60
sub dword [ebp - 0x1c], 0xf6a0230a
mov dword [ebp - 0x18], 0x373d3822
add dword [ebp - 0x18], 0xa2f2953
mov dword [ebp - 0x14], 0x27d300d
sub dword [ebp - 0x14], 0x9f0dc3a1
mov dword [ebp - 0x10], 0xaa61d74f
sub dword [ebp - 0x10], 0xaa61d74f
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x58f504a1
sub eax, 0x58b493f9
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x36262
push 0
call eax
mov ecx, 0xa48a6a8a
sub ecx, 0xa48a24b3
mov edx, eax
mov ebx, 0x28ca029d
add ebx, 0xd776fd63
add ebx, dword [ebp - 0xc]
mov edi, 0xab4b94a9
sub dword [ebp - 4], 0x13fe55da
mov esi, dword [ebx]
xor dword [ebp - 8], ebx
sub esi, edi
mov dword [ebp - 8], 0x7b7435f3
mov dword [edx], esi
xor dword [ebp - 4], eax
add edx, 0x4fb862a0
sub edx, 0x4fb8629c
add ebx, 0x78212327
add ebx, 0x87dedcdd
loop 0x402d17
add eax, 0x159ec20e
add eax, 0xea624821
mov ebx, eax
add eax, 0x7add4692
add eax, 0x8522b973
mov ecx, 0x5304f990
sub ecx, 0x52c4f990
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x40333c
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x410aa0
call fcn.00406024
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x40323d
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x40323d
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x40323d
cmp dword [eax + 0x400074], 0xe
jbe 0x40323d
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x403241
and dword [ebp - 0x1c], 0
push 1
call main
pop ecx
test eax, eax
jne 0x403255
push 0x1c
call main
pop ecx
call fcn.00407199
test eax, eax
jne 0x403266
push 0x10
call main
pop ecx
call fcn.00406d3d
and dword [ebp - 4], 0
call fcn.00403bed
test eax, eax
jge 0x403280
push 0x1b
call main
pop ecx
call sub.kernel32.dll_GetCommandLineW
mov dword [0x413d00], eax
call fcn.00406ce0
mov dword [0x412ff8], eax
call main
test eax, eax
jge 0x4032a5
push 8
call main
pop ecx
call fcn.00406a03
test eax, eax
jge 0x4032b6
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x4032c9
push eax
call main
pop ecx
mov eax, dword [0x413340]
mov dword [0x413344], eax
push eax
push dword [0x413334]
push dword [0x41332c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4032f7
push eax
call main
call fcn.0040428b
jmp 0x40332c
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.00406069
ret
call main
jmp 0x4031eb

Function at 0x40d240
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x40d24f
pop dword [ebp - 0x24]
mov eax, 0xaa69e781
sub eax, 0xaa291532
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x39732
push 0
mov eax, 0x3ed3df3b
sub eax, 0x3e92fe1b
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0xa69958dc
sub ecx, 0xa6991066
mov edx, eax
mov ebx, 0xb6640418
add ebx, 0x49dd73e8
add ebx, dword [ebp - 0x24]
mov esi, 0xf1c0c1d9
sub dword [ebp - 0xc], 0x1d88b8db
mov edi, dword [ebx]
add dword [ebp - 0x18], 0xf1676374
xor edi, esi
add dword [ebp - 0x14], 0x9a4eedfd
mov dword [edx], edi
sub dword [ebp - 0x1c], 0xba208b96
add edx, 0x68244e72
add edx, 0x97dbb192
add ebx, 0xb60e5fa2
sub ebx, 0xb60e5f9e
loop 0x40d2a8
add eax, 0x90170a90
add eax, 0x6fea0a1b
xor ebx, ebx
add ebx, eax
add eax, 0xe518defd
sub eax, 0xe518def8
mov ecx, 0x7c4df25d
sub ecx, 0x7c0df25d
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x4016be
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x18]
xor edi, edi
cmp eax, edi
lea ecx, [eax + 1]
mov dword [esi + 0x18], ecx
jne 0x401742
push str.oleacc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, edi
mov dword [esi + 0x14], eax
je 0x401734
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ObjectFromLresult
push eax
call edi
push str.AccessibleObjectFromWindow
mov dword [esi], eax
push dword [esi + 0x14]
call edi
push str.AccessibleChildren
mov dword [esi + 4], eax
push dword [esi + 0x14]
call edi
push str.AccessibleObjectFromEvent
mov dword [esi + 8], eax
push dword [esi + 0x14]
call edi
push str.GetRoleTextA
mov dword [esi + 0xc], eax
push dword [esi + 0x14]
call edi
mov dword [esi + 0x10], eax
jmp 0x401742
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 1
pop eax
pop edi
pop esi
pop ebx
ret

Function at 0x401ae2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 8]
push ebx
push eax
xor ebx, ebx
push 0x20019
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x401b07
xor eax, eax
jmp 0x401b64
push esi
lea eax, [ebp + 0xc]
push edi
push eax
lea eax, [ebp - 4]
push ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push ebx
or edi, 0xffffffff
push dword [ebp + 0x10]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x401b52
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x18]
jge 0x401b52
lea eax, [ebp + 0xc]
inc dword [ebp + 0xc]
push eax
lea eax, [ebp - 4]
push dword [ebp + 0x14]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 8]
call esi
mov edi, eax
cmp edi, ebx
je 0x401b52
mov eax, dword [ebp + 0x14]
mov byte [eax], bl
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp edi, ebx
pop edi
pop esi
sete al
pop ebx
leave
ret
Function at 0x401c49
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x14], edi
jne 0x401c7d
lea eax, [ebp + 0xc]
push eax
push 0x2001f
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401c9e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x401cbf
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
push edi
push 0x2001f
push edi
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x401ca2
xor eax, eax
jmp 0x401cdf
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp + 0x14]
push 1
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
cmp dword [ebp + 0x18], edi
je 0x401cd4
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
ret