joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50704a
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
imul esi, esi, 0x64
mov edi, dword [ebp + 8]
imul edi, edi, 0x64
add edi, dword [ecx + 0x2c]
mov dword [ebp - 4], ecx
add esi, dword [edi + 4]
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov ebx, eax
mov eax, dword [ebx + 0xc]
add eax, dword [edi]
xor ecx, ecx
mov dword [ebp - 8], eax
mov eax, dword [ebx + 4]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 4]
test byte [eax + 0x118], 1
mov dword [ebp - 0xc], ecx
mov dword [ebp + 8], ecx
jne 0x5070c0
push ecx
push ecx
call fcn.0047b21c
mov ecx, dword [ebp - 4]
push 0x30000
push 0
mov dword [ecx + 0x114], eax
call fcn.0047b21c
mov eax, dword [ebp - 4]
add esp, 0x10
or dword [eax + 0x118], 1
xor edx, edx
cmp dword [esi + 0x3c], edx
je 0x50719b
mov ecx, dword [edi]
mov eax, dword [ebx + 0x10]
add eax, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x14]
add eax, ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x18]
add eax, ecx
cmp word [esi + 0x4e], dx
mov dword [ebp - 0x14], eax
mov dword [ebp + 8], edx
jbe 0x50718d
movzx ecx, word [ebp + 8]
shl ecx, 5
add ecx, dword [esi + 0x34]
cmp dword [ecx], edx
je 0x50717a
mov eax, dword [ecx + 4]
mov dword [ecx], eax
mov eax, dword [ecx + 0x10]
movzx edx, word [eax + 4]
sub edx, 0
je 0x507155
dec edx
je 0x50712e
dec edx
jne 0x50717a
push 0xffffffffffffffff
lea edx, [ebp - 0xc]
push edx
movzx edx, word [eax + 8]
push eax
movzx eax, word [eax + 6]
shl eax, 5
add eax, dword [ebp - 0x10]
jmp 0x507143
push 0xffffffffffffffff
lea edx, [ebp - 0xc]
push edx
movzx edx, word [eax + 8]
push eax
movzx eax, word [eax + 6]
shl eax, 5
add eax, dword [ebp - 0x14]
push dword [esi + 0x3c]
push edx
push eax
push dword [ecx + 0xc]
mov ecx, dword [ebp - 4]
call fcn.005064e4
jmp 0x50717a
push 0xffffffffffffffff
lea edx, [ebp - 0xc]
push edx
movzx edx, word [eax + 8]
push eax
push dword [esi + 0x3c]
movzx eax, word [eax + 6]
push edx
mov edx, dword [ebp - 0x18]
lea eax, [edx + eax*8]
push eax
push dword [ecx + 0xc]
mov ecx, dword [ebp - 4]
call fcn.0050687d
inc dword [ebp + 8]
mov ax, word [ebp + 8]
xor edx, edx
cmp ax, word [esi + 0x4e]
jb 0x5070f2
mov edi, dword [edi]
add edi, dword [ebx + 0x10]
mov eax, dword [ebx + 8]
mov dword [ebp - 0xc], edi
mov dword [ebp + 8], eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push edx
push dword [ebp + 8]
push edx
push dword [ebp - 8]
push dword [ebp - 8]
push dword [ebp - 8]
push edx
push dword [ebp - 0xc]
push edx
push dword [esi + 0x44]
push dword [esi + 0x40]
call fcn.004caff9
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x5143e0
Capabilities:
Check for software breakpoints

Disassembly:
cmp dword [esi + 0x14], 0xcc
je 0x514403
mov eax, dword [esi + 0x1a8]
push esi
call dword [eax]
mov dword [esi + 0x8c], 0
mov dword [esi + 0x14], 0xcc
mov ecx, dword [esi + 0x1a8]
mov eax, dword [ecx + 8]
test eax, eax
je 0x514429
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x30
call dword [eax]
mov edx, dword [esi + 0x1a8]
mov eax, dword [edx + 8]
test eax, eax
jne 0x514410
mov edx, dword [esi + 0x44]
xor eax, eax
test edx, edx
setne al
add eax, 0xcd
mov dword [esi + 0x14], eax
mov eax, 1
ret

Function at 0x5144e0
Capabilities:
Check for software breakpoints

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x514517
push esi
call fcn.005462a0
mov eax, dword [esi + 0x40]
test eax, eax
je 0x514510
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
pop ebp
ret 4
mov dword [esi + 0x14], 0xcb
mov ecx, dword [esi + 0x14]
cmp ecx, 0xcb
jne 0x514596
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x514580
nop
mov eax, dword [esi + 8]
test eax, eax
je 0x51453a
push esi
call dword [eax]
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
test eax, eax
je 0x514579
cmp eax, 2
je 0x514580
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x514530
cmp eax, 3
je 0x51455d
cmp eax, 1
jne 0x514530
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
cmp eax, dword [ecx + 8]
jl 0x514530
mov eax, dword [ecx + 8]
mov edx, dword [esi + 0x144]
add eax, edx
mov dword [ecx + 8], eax
jmp 0x514530
xor eax, eax
pop esi
pop ebp
ret 4
mov eax, dword [esi + 0x94]
mov dword [esi + 0x9c], eax
call fcn.005143e0
pop esi
pop ebp
ret 4
cmp ecx, 0xcc
je 0x5145ad
mov eax, dword [esi]
mov dword [eax + 0x14], 0x14
push esi
mov dword [eax + 0x18], ecx
call dword [eax]
call fcn.005143e0
pop esi
pop ebp
ret 4

Function at 0x51adbd
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push esi
lea eax, [ebp - 0x24]
mov esi, ecx
and dword [esi], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp + 0xc]
and dword [esi + 8], 0
and dword [esi + 0xc], 0
and dword [esi + 0x10], 0
mov dword [esi + 4], ecx
lea eax, [ecx + eax - 1]
dec ecx
not ecx
and eax, ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
mov dword [esi + 4], eax
jne 0x51ae02
mov ecx, 0x100000
lea ecx, [eax + ecx - 1]
dec eax
not eax
and ecx, eax
mov dword [esi + 0x14], ecx
mov eax, esi
pop esi
leave
ret 8
Function at 0x547726
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x547735
xor eax, eax
jmp 0x547818
mov eax, dword [esp + 0xc]
cmp eax, 8
push ebx
push esi
mov esi, dword [esp + 0xc]
not esi
mov ecx, 0xff
jb 0x5477f8
push edi
mov edi, eax
shr edi, 3
xor ebx, ebx
mov bl, byte [edx]
sub eax, 8
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x595480]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x595480]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x595480]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x595480]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x595480]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x595480]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x595480]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x595480]
inc edx
dec edi
jne 0x547755
pop edi
test eax, eax
je 0x547812
xor ebx, ebx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x595480]
inc edx
dec eax
jne 0x5477fc
mov eax, esi
pop esi
not eax
pop ebx
ret 0xc
Function at 0x5479b9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebx + 0x24]
push esi
mov dword [ebp - 8], edx
push edi
mov ecx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x34]
mov esi, dword [ebx + 0x6c]
sub eax, ecx
sub eax, esi
mov dword [ebp - 4], eax
jne 0x5479e5
test ecx, ecx
jne 0x5479ef
test esi, esi
jne 0x5479ef
mov eax, edx
jmp 0x547a60
cmp eax, 0xffffffff
jne 0x5479ef
push 0xfffffffffffffffe
pop eax
jmp 0x547a60
mov esi, dword [ebx + 0x24]
lea esi, [edx + esi - 0x106]
cmp ecx, esi
jb 0x547a60
mov edi, dword [ebx + 0x30]
mov ecx, edx
mov eax, ecx
shr ecx, 2
lea esi, [edi + edx]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x44]
mov eax, dword [ebx + 0x3c]
sub dword [ebx + 0x68], edx
sub dword [ebx + 0x64], edx
sub dword [ebx + 0x54], edx
lea eax, [eax + ecx*2]
dec eax
dec eax
movzx esi, word [eax]
mov edi, esi
sub edi, edx
cmp esi, edx
sbb esi, esi
not esi
and esi, edi
dec ecx
mov word [eax], si
jne 0x547a25
mov eax, dword [ebx + 0x38]
mov esi, edx
lea eax, [eax + edx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edi, ecx
sub edi, edx
cmp ecx, edx
sbb ecx, ecx
not ecx
and ecx, edi
dec esi
mov word [eax], cx
jne 0x547a44
mov eax, dword [ebp - 4]
add eax, edx
mov esi, dword [ebx]
cmp dword [esi + 4], 0
mov dword [ebp - 0xc], esi
je 0x547b0d
mov edi, dword [ebx + 0x6c]
add edi, dword [ebx + 0x64]
mov ecx, dword [esi + 4]
add edi, dword [ebx + 0x30]
cmp ecx, eax
mov dword [ebp - 4], ecx
jbe 0x547a85
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x547a8f
xor ecx, ecx
jmp 0x547ace
sub ecx, dword [ebp - 4]
mov eax, dword [esi + 0x1c]
mov dword [esi + 4], ecx
cmp dword [eax + 0x18], 0
jne 0x547ab1
push dword [ebp - 4]
push dword [esi]
push dword [esi + 0x30]
call fcn.0056e003
mov edx, dword [ebp - 8]
mov dword [esi + 0x30], eax
mov ecx, dword [ebp - 4]
mov esi, dword [esi]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov eax, dword [ebp - 0xc]
add dword [eax], ecx
add dword [eax + 8], ecx
add dword [ebx + 0x6c], ecx
mov edi, dword [ebx + 0x6c]
cmp edi, 3
jb 0x547af9
mov eax, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
lea esi, [eax + ecx]
movzx eax, byte [esi]
mov ecx, dword [ebx + 0x50]
mov dword [ebx + 0x40], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp edi, 0x106
jae 0x547b0d
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x5479c7
pop edi
pop esi
leave
ret
Function at 0x57441f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
push ebx
xor ebx, ebx
cmp dword [0x877484], ebx
push esi
push edi
jne 0x5744a8
lea eax, [ebp - 0x270]
push 0x208
push eax
mov dword [0x877484], 1
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x270]
push str._atl.dll
push eax
call fcn.0047a860
pop ecx
lea eax, [ebp - 0x270]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x57452e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.AtlAxWinInit
push edi
call esi
push str.AtlAxCreateControl
push edi
mov dword [0x877470], eax
call esi
push str.AtlAxGetControl
push edi
mov dword [0x877478], eax
call esi
mov dword [0x877474], eax
push 0x13
mov esi, str.d27cdb6e_ae6d_11cf_96b8_444553540000
pop ecx
lea edi, [ebp - 0x68]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x14], 0xd27cdb6c
mov word [ebp - 0x10], 0xae6d
mov word [ebp - 0xe], 0x11cf
mov byte [ebp - 0xc], 0x96
mov byte [ebp - 0xb], 0xb8
mov byte [ebp - 0xa], 0x44
mov byte [ebp - 9], 0x45
mov byte [ebp - 8], 0x53
mov byte [ebp - 7], 0x54
mov byte [ebp - 6], bl
mov byte [ebp - 5], bl
mov dword [ebp - 4], ebx
movsw word es:[edi], word [esi]
call dword [0x877470]
push ebx
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x68]
push eax
call dword [0x877478]
test eax, eax
jne 0x57452a
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call dword [0x877474]
test eax, eax
jne 0x57452a
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x14]
push 0x877480
push edx
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
je 0x57453e
xor eax, eax
jmp 0x574578
push ebx
push ebx
push str.ATL.DLL
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x57452a
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [0x877480]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x58]
mov eax, dword [0x877480]
lea edx, [ebp - 0x18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [0x877480]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x70]
inc dword [0x87747c]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5769a4
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
push ebp
push ebx
push esi
mov dword [esp], eax
test eax, eax
je 0x576a51
mov esi, eax
mov edx, dword [esi]
xor eax, eax
mov byte [edx + 0x16], al
mov ecx, dword [esi]
mov byte [ecx + 0x17], al
mov ebx, dword [esi]
mov byte [ebx + 0x18], al
mov ebp, dword [esi]
mov byte [ebp + 0x19], al
mov ebp, dword [esi + 4]
test ebp, ebp
jle 0x5769fb
mov eax, esi
mov edx, dword [eax]
xor ecx, ecx
xor ebx, ebx
movzx esi, byte [edx + ebx]
mov edi, ecx
shl edi, 8
shr ecx, 0x18
xor ecx, esi
mov eax, ecx
mov ecx, edi
xor ecx, dword [eax*4 + 0x599fa0]
inc ebx
cmp ebx, ebp
jl 0x5769db
jmp 0x576a01
mov eax, esi
mov edx, dword [eax]
xor ecx, ecx
mov eax, dword [esp]
mov edi, dword [eax + 0xc]
test edi, edi
jle 0x576a2f
mov ebp, dword [eax + 8]
xor esi, esi
movzx eax, byte [ebp + esi]
mov ebx, ecx
shl ebx, 8
shr ecx, 0x18
xor ecx, eax
mov eax, ecx
mov ecx, ebx
xor ecx, dword [eax*4 + 0x599fa0]
inc esi
cmp esi, edi
jl 0x576a10
mov esi, dword [esp]
mov byte [edx + 0x16], cl
mov ebp, dword [esi]
mov eax, ecx
shr eax, 8
mov byte [ebp + 0x17], al
mov ebx, dword [esi]
mov edx, ecx
shr edx, 0x10
mov byte [ebx + 0x18], dl
mov edi, dword [esi]
shr ecx, 0x18
mov byte [edi + 0x19], cl
pop ecx
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0xa0be30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x190000]
push edi
or ebp, 0xffffffff
jmp 0xa0be52
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xa0be59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa0be48
mov eax, 1
add ebx, ebx
jne 0xa0be6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xa0be7c
jne 0xa0be9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa0be9b
dec eax
add ebx, ebx
jne 0xa0be88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xa0be60
add ebx, ebx
jne 0xa0be97
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xa0beed
xor ecx, ecx
sub eax, 3
jb 0xa0beb3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xa0bf22
sar eax, 1
mov ebp, eax
jmp 0xa0bebe
add ebx, ebx
jne 0xa0bebe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa0be8c
inc ecx
add ebx, ebx
jne 0xa0becc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa0be8c
add ebx, ebx
jne 0xa0bed9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xa0bece
jne 0xa0beea
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xa0bece
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xa0bf0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xa0befe
jmp 0xa0be4e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xa0bf0c
add edi, ecx
jmp 0xa0be4e
pop esi
mov edi, esi
mov ecx, 0x603c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xa0bf2a
cmp byte [edi], 0x25
jne 0xa0bf2a
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 0xa0bf2f
lea edi, [esi + 0x5e4000]
mov eax, dword [edi]
or eax, eax
je 0xa0bfa7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6394e0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x639620]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xa0bf5c
mov ecx, edi
jns 0xa0bf8b
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 + 0x639624]
or eax, eax
je 0xa0bfa1
mov dword [ebx], eax
add ebx, 4
jmp 0xa0bf79
call dword [esi + 0x639634]
mov ebp, dword [esi + 0x639628]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0xa0bfdb
sub esp, 0xffffff80
jmp 0x4de7d2

Function at 0x43b64e
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
mov eax, dword [esp]
add esp, 4
sub esp, 4
mov dword [esp], edx
mov ebx, dword [esp]
add esp, 4
add ebx, 1
sub edx, ebx
call fcn.0043b699
or edx, ebx
xor dword [ecx], eax
add edx, 0xc186d775
sub ebx, 0x477c0541
inc ecx
inc ebx
cmp ecx, edi
jne fcn.0043b64e
sub ebx, 0x859d4e8e
mov edx, edx
add ebx, edx
ret
Function at 0x40f180
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40f1ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40f1ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret
Function at 0x401b4b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x401b5a
pop dword [ebp - 0x24]
mov eax, 0x2a310be2
add eax, 0xd60f0f78
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x90a0e4f7
sub dword [ebp - 0x34], 0x424e9fac
mov dword [ebp - 0x30], 0x8b1a3994
sub dword [ebp - 0x30], 0x58e6ed4f
mov dword [ebp - 0x2c], 0x90fdb97c
add dword [ebp - 0x2c], 0xbb4e8ab2
mov dword [ebp - 0x28], 0x217dddaf
add dword [ebp - 0x28], 0xde822251
lea eax, [ebp - 0x34]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xab3aed1e
sub dword [ebp - 0x34], 0x36c883c8
mov dword [ebp - 0x30], 0x71390dd8
add dword [ebp - 0x30], 0xd033539d
mov dword [ebp - 0x2c], 0x4ec7db31
add dword [ebp - 0x2c], 0x14a7913b
mov dword [ebp - 0x28], 0x52c1a475
add dword [ebp - 0x28], 0xad3e5b8b
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x465fb082
add eax, 0xb9e11fca
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x409f9
push 0
call eax
mov ecx, 0x63b0
mov esi, eax
mov edx, 0x50b8d354
add edx, 0xaf88dcac
add edx, dword [ebp - 0x24]
mov ebx, 0xd6899366
sub ebx, 0xf84cdd81
sub dword [ebp - 0x1c], 0x290b20be
mov edi, dword [edx]
sub dword [ebp - 8], edx
sub edi, ebx
xor dword [ebp - 4], esi
mov dword [esi], edi
add dword [ebp - 0x10], 0x248ed1d3
add esi, 0x9cccecad
add esi, 0x63331357
add edx, 4
loop 0x401c71
add eax, 0x80c72dc7
sub eax, 0x80c5ac34
xor ebx, ebx
add ebx, eax
add eax, 0xa6db3aa4
sub eax, 0xa6db3a9f
mov ecx, 0xa16e6aa9
sub ecx, 0xa12e6aa9
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x8c211c
Capabilities:
Encode data using xor

Disassembly:
push 0x8c1ea3
pop ebx
and eax, eax
call fcn.008c2158
and esi, eax
sub eax, 0xe8707d75
add esi, 0x6091a45a
xor dword [ecx], ebx
dec eax
sub eax, esi
and esi, esi
add ecx, 1
mov eax, eax
inc eax
inc eax
cmp ecx, edi
jne fcn.008c211c
and eax, eax
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x40d93c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
xor ecx, ecx
xor ebx, ebx
xor esi, esi
cmp dword [ebp + 8], ecx
jbe 0x40d9a6
nop dword [eax]
lea eax, [ebx + 1]
movzx ebx, al
mov dl, byte [ebx + edi]
movzx eax, dl
add eax, ecx
movzx ecx, al
mov dword [ebp - 8], ecx
movzx eax, byte [ecx + edi]
mov byte [ebx + edi], al
mov byte [ecx + edi], dl
movzx ecx, byte [ebx + edi]
movzx eax, dl
add ecx, eax
and ecx, 0x800000ff
jns 0x40d993
dec ecx
or ecx, 0xffffff00
inc ecx
movzx eax, byte [ecx + edi]
mov ecx, dword [ebp - 4]
xor byte [esi + ecx], al
inc esi
mov ecx, dword [ebp - 8]
cmp esi, dword [ebp + 8]
jb 0x40d95c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4022d0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
imul edx
bswap edi
add esi, 0x16
not ebx
rcr eax, 0xfe
add esi, 0xf3
add edi, 7
not edi
add esi, 0xf8
mov ebx, 0x44
bswap edx
sbb esi, 0x51
and ebx, 0xfd
rcr esi, 0xe4
add edi, 0x39
dec edi
dec ebx
bswap eax
and eax, 0xd0
bswap edi
sub eax, 0xbb
imul eax
or eax, 0x94
sub esi, 0xbc
ror edi, 0xda
or edx, 0x34
mov eax, 0x49
not ebx
and eax, 0x5d
and eax, 0xaa
sbb edi, 0x8f
bswap ebx
rcl edi, 0xff
and edi, 0xfa
bswap edi
rol esi, 8
not eax
dec edx
sub ebx, 0x2f
dec edi
or edx, 2
bswap esi
inc edi
add ebx, 0x3b
rol edi, 0x88
or ebx, 0x98
bswap esi
and eax, 0x8c
not ebx
neg ebx
xor ecx, ecx
xor edi, edi
inc edx
rcl esi, 0x18
imul eax
or esi, 0x6f
rol eax, 0x94
not eax
rcr edx, 0xd0
dec esi
mov esi, 0xd1
not eax
sbb ebx, 0xa1
mov edx, 0x3b
not eax
imul eax
or ebx, 0x66
neg eax
ror eax, 0xb
add ebx, 0x25
mov eax, 0xe1
imul esi
not edi
imul edi
sbb edx, 0x14
inc ebx
not eax
or eax, 0x3d
dec esi
rol edx, 0xb1
add eax, 0x36
dec edx
rcl esi, 0x7e
sub eax, 0x38
rcl esi, 0x55
not edx
dec edi
inc ebx
rcl eax, 0xa3
not edi
neg eax
mov edi, 0x6b
sbb edi, 0xd4
rol eax, 0x1f
imul edx
mov esi, 0x1f
neg edx
dec edx
and ebx, 0x24
rol edx, 0x7c
not ebx
mov edx, 0x29
mov ecx, dword [ebp + 0xc]
or ebx, 0xa8
add esi, 0x48
sbb edx, 0x13
add edx, 0xc6
rcl edx, 9
bswap eax
dec esi
rcr edi, 0xd4
inc esi
dec esi
dec edi
inc ebx
not edx
rol ebx, 0x90
neg esi
dec esi
neg edi
ror edi, 0x8e
inc edi
neg edi
rcl edx, 0x45
bswap edi
rol edx, 0x36
dec esi
rcl ebx, 0x3a
not ebx
mov eax, 0x17
inc edx
mov eax, 0x61
dec esi
neg ebx
neg edx
rcr ebx, 0xb3
or esi, 0xf5
sub eax, 0x57
add edx, 0xa6
add edx, 0x56
dec edx
not edi
or eax, 0x1e
mov eax, 0x1a
sbb eax, 0x14
imul edi
rcr edi, 0x60
bswap edi
neg esi
and edx, 0x77
inc ebx
dec esi
add ebx, 0x94
mov edi, dword [ebp + 8]
xor ebx, esi
xor esi, eax
mov ebx, ebx
not byte [edi]
xor ebx, eax
mov esi, esi
xor ebx, esi
mov esi, ebx
xor esi, esi
xor esi, eax
mov ebx, esi
xor esi, ebx
mov eax, ebx
add byte [edi], 0x79
xor eax, esi
xor esi, eax
mov eax, esi
mov esi, eax
xor esi, eax
mov esi, eax
xor ebx, esi
mov esi, eax
mov esi, eax
sub byte [edi], 0x30
mov esi, eax
xor esi, eax
xor eax, esi
xor ebx, esi
mov ebx, eax
xor eax, esi
mov esi, ebx
mov ebx, ebx
mov eax, ebx
imul byte [edi]
inc edi
loop 0x402491
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4053fa
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x439694]
jne 0x405404
repz ret
jmp fcn.00409dd6