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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
mov esp, esp
push ebx
push esi
push edi
mov dword [esp - 0x1c], 0x6fed8d33
xor edi, edi
mov dword [ebp - 0x18], ecx
lea ebx, [eax + eax*2]
mov edx, edx
mov dword [ebp - 0xc], edi
shl ebx, 2
mov dword [ebp - 0x10], ebx
lea ecx, [ecx]
xchg edx, edx
mov ecx, dword [ecx + 8]
mov eax, dword [ebp + 0x10]
add ecx, ebx
mov dword [esp - 0x38], 0x13005825
mov esi, dword [ebp + 8]
xor ebx, ebx
mov edx, dword [eax + edi*4]
xchg ecx, ecx
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [esp - 0x34], ebp
mov eax, edx
and eax, 3
lea eax, [esi + eax*2]
mov edx, edx
mov dword [ebp - 0x14], eax
lea eax, [edx + 1]
and eax, 3
mov dword [esp - 0x38], edi
mov edi, dword [ebp - 0x14]
lea eax, [esi + eax*2]
mov dword [ebp + 0xc], eax
mov dword [esp - 0x24], esi
lea eax, [edx - 2]
and eax, 3
lea eax, [esi + eax*2]
xchg ebx, ebx
mov dword [ebp - 4], eax
lea eax, [edx - 1]
and eax, 3
lea eax, [esi + eax*2]
mov ebp, ebp
mov dword [ebp - 8], eax
lea esp, [esp]
mov eax, 0x2e4f3496
mov dword [esp - 0x18], esi
add eax, 0x470e3077
xor eax, 0x740a6e70
xor eax, 0x714c0e35
mov dword [esp - 0x28], esi
sub eax, 0x6607d474
xor eax, 0x13bd4914
add eax, 0x90fc30eb
mov dword [esp - 0x40], 0x2ab872f3
mul ebx
shr edx, 1
lea eax, [edx + edx*2]
mov ebx, ebx
mov edx, ebx
sub edx, eax
inc ebx
mov eax, dword [ecx + edx*4]
mov ecx, ecx
lea esi, [ecx + edx*4]
movzx edx, word [edi]
add eax, eax
and edx, 1
mov dword [esp - 0x3c], ebx
or eax, edx
not edx
mov dword [esi], eax
mov dword [esp - 0x3c], edx
movzx eax, word [edi]
shr ax, 1
shl edx, 0xf
mov dword [esp - 0x40], ebx
or dx, ax
mov eax, dword [ebp + 0xc]
mov word [edi], dx
movzx edx, word [eax]
mov dword [esp - 0x30], 0x205b4e53
mov eax, dword [esi]
and edx, 1
add eax, eax
or eax, edx
mov esp, esp
not edx
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov esi, esi
shl edx, 0xf
movzx eax, word [eax]
shr ax, 1
mov dword [esp - 0x14], 0x1f6026eb
or dx, ax
mov eax, dword [ebp + 0xc]
mov word [eax], dx
mov dword [esp - 0x2c], 0x7b314a24
mov eax, dword [ebp - 4]
movzx edx, word [eax]
mov eax, dword [esi]
and edx, 1
xchg edi, edi
add eax, eax
or eax, edx
not edx
mov dword [esi], eax
mov dword [esp - 0x20], ecx
mov eax, dword [ebp - 4]
shl edx, 0xf
movzx eax, word [eax]
mov dword [esp - 0x28], ecx
shr ax, 1
or dx, ax
mov eax, dword [ebp - 4]
mov word [eax], dx
mov ecx, ecx
mov eax, dword [ebp - 8]
movzx edx, word [eax]
mov eax, dword [esi]
and edx, 1
mov edx, edx
add eax, eax
or eax, edx
not edx
mov dword [esp - 0x24], ecx
mov dword [esi], eax
mov esi, dword [ebp - 8]
shl edx, 0xf
mov dword [esp - 0x1c], esi
movzx eax, word [esi]
shr ax, 1
or dx, ax
mov edi, edi
mov word [esi], dx
cmp ebx, 0xf
jl 0x48c54a
mov edi, dword [ebp - 0xc]
mov dword [esp - 0x1c], esp
mov ebx, dword [ebp - 0x10]
inc edi
mov ecx, dword [ebp - 0x18]
mov dword [esp - 0xc], ebx
add ebx, 0xc
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], ebx
mov dword [esp - 0x1c], ecx
cmp edi, 8
jl 0x48c4de
pop edi
pop esi
xchg edi, edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x48c6b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
xor eax, eax
mov dword [esp - 0x40], 0x21e167c
push ebx
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [esp - 0x14], 0x1272d39b
nop
mov edx, dword [eax + 0x4c0520]
xor edx, 0x600c359d
mov esi, esi
mov dword [ebp + eax - 0x4c], edx
add eax, 4
cmp eax, 0x40
mov dword [esp - 0x38], 0x4b8480bc
jb 0x48c6d0
cmp dword [ebx + 4], 8
jne 0x48c7b3
movzx ecx, byte [edi]
xchg edi, edi
movzx eax, byte [edi + 1]
shl cx, 8
or cx, ax
mov dword [esp - 0x30], edi
movzx eax, byte [edi + 3]
mov word [ebp - 6], cx
movzx ecx, byte [edi + 2]
shl cx, 8
mov ebx, ebx
or cx, ax
movzx eax, byte [edi + 5]
mov word [ebp - 8], cx
movzx ecx, byte [edi + 4]
xchg esp, esp
shl cx, 8
or cx, ax
movzx eax, byte [edi + 7]
mov word [ebp - 0xa], cx
mov esp, esp
movzx ecx, byte [edi + 6]
shl cx, 8
or cx, ax
mov dword [esp - 0x38], 0x2b53af04
lea eax, [ebp - 0x4c]
push eax
nop
sub esp, 4
mov dword [esp - 0x20], 0x707b1e2
mov dword [esp], 0x3c01fee3
sub dword [esp], 0x24dfc4f1
xor dword [esp], 0x7eb90a03
sub dword [esp], 0x27cb6b8a
mov dword [esp - 0x3c], edi
sub dword [esp], 0x41cfc867
lea eax, [ebp - 0xc]
mov word [ebp - 0xc], cx
push eax
mov dword [esp - 0x24], esi
mov ecx, ebx
call fcn.0048c4b0
pop edi
mov dword [esp - 0x20], 0x178c8904
pop ebx
mov esp, ebp
pop ebp
xchg edx, edx
ret 4
cmp dword [ebx], 0
pushf
mov dword [ebp - 4], 0x4e737a96
add dword [ebp - 4], 0x25da3ca6
mov dword [esp - 0x24], 0x426496c
sub dword [ebp - 4], 0x2466297b
xor dword [ebp - 4], 0x5cc45dee
sub dword [ebp - 4], 0x1323d02f
popf
xchg ebx, ebx
jle 0x48c8c8
xor edx, edx
push esi
mov dword [ebp + 8], edx
mov ebx, ebx
lea esi, [edi + 2]
jmp 0x48c7fd
movzx ecx, byte [esi - 2]
movzx eax, byte [esi - 1]
shl cx, 8
or cx, ax
mov esi, esi
movzx eax, byte [esi + 1]
mov word [ebp - 6], cx
movzx ecx, byte [esi]
mov dword [esp - 0x3c], ebp
shl cx, 8
or cx, ax
movzx eax, byte [esi + 3]
xchg edi, edi
mov word [ebp - 8], cx
movzx ecx, byte [esi + 2]
shl cx, 8
or cx, ax
mov esi, esi
movzx eax, byte [edx + edi + 7]
mov word [ebp - 0xa], cx
movzx ecx, byte [esi + 4]
shl cx, 8
mov dword [esp - 0x14], ecx
or cx, ax
lea eax, [ebp - 0x4c]
push eax
mov dword [esp - 0x20], 0x4ab4d301
push edx
lea eax, [ebp - 0xc]
mov word [ebp - 0xc], cx
mov dword [esp - 0x14], 0x4853ac23
push eax
mov ecx, ebx
call fcn.0048c4b0
xchg ecx, ecx
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
xchg ecx, ecx
mov eax, dword [ebx + 4]
sub eax, dword [ebp + 8]
sub eax, 8
mov dword [esp - 0x24], 0x4b934432
push eax
lea eax, [ebp - 0xc]
push eax
mov dword [esp - 0x30], esp
call fcn.0048c4b0
mov eax, dword [ebp - 4]
lea esi, [esi + 8]
mov edx, dword [ebp + 8]
mov dword [esp - 0x24], 0x3311c449
inc eax
add edx, 8
mov dword [ebp - 4], eax
mov dword [ebp + 8], edx
mov edx, edx
cmp eax, dword [ebx]
jl 0x48c7fd
pop esi
xchg edi, edi
pop edi
pop ebx
mov esp, ebp
mov ecx, ecx
pop ebp
ret 4
Function at 0x48c8e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov ecx, ecx
push edi
xor edi, edi
test esi, esi
je 0x48c92e
xchg edi, edi
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
mov edx, edx
mov ecx, esi
mov edx, edi
xor edx, eax
mov dword [esp - 0x40], edi
test cl, 1
lea ecx, [eax + eax]
cmove edx, edi
mov eax, ecx
mov dword [esp - 0x38], 0x1c1f9d4f
xor eax, ebx
mov edi, edx
cmp ecx, 0x100
cmovb eax, ecx
mov dword [esp - 0x30], esp
shr esi, 1
jne 0x48c8fb
pop ebx
mov eax, edi
xchg ecx, ecx
pop edi
pop esi
pop ebp
mov ebp, ebp
ret
Function at 0x48ce10
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
lea edx, [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
test esi, esi
jle 0x48ce38
mov eax, dword [ebp + 0x14]
lea edx, [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
dec esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
jmp 0x48ce46
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov ecx, edx
test esi, esi
jle 0x48ce60
dec esi
add edx, 8
mov dword [ebp + 0x10], esi
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
jmp 0x48ce6e
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov ecx, edx
test esi, esi
jle 0x48ce88
dec esi
add edx, 8
mov dword [ebp + 0x10], esi
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
jmp 0x48ce96
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov ecx, edx
test esi, esi
jle 0x48ceb0
dec esi
add edx, 8
mov dword [ebp + 0x10], esi
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
jmp 0x48cebe
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov eax, edx
mov dword [ebp - 0x2c], 0
cdq
mov dword [ebp - 0x3c], eax
mov eax, esi
mov dword [ebp - 0x38], edx
cdq
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 4], 0
mov dword [ebp - 4], esp
and esp, 0xfffffff0
push 0x33
call 0x48cef2
add dword [esp], 5
retf
Function at 0x48df30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
sub edi, ebx
sar edi, 1
je 0x48e00d
push esi
lea esi, [edi + 1]
mov ecx, 2
mov eax, esi
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.00490c90
push edi
push ebx
mov ebx, eax
push esi
push ebx
call fcn.004916c0
mov esi, ebx
mov dword [ebp - 8], 0
add esp, 0x14
lea ecx, [esi + 2]
lea ecx, [ecx]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x48df80
sub esi, ecx
lea edx, [ebp - 8]
sar esi, 1
mov dword [ebp - 4], esi
cmp esi, 2
jbe 0x48dfb9
mov ecx, 2
mov eax, esi
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.00490c90
mov edx, eax
add esp, 4
mov dword [ebp - 8], edx
xor edi, edi
test esi, esi
je 0x48dfe6
mov esi, ebx
sub esi, edx
mov ecx, edi
lea edx, [edx + 2]
and ecx, 3
mov eax, 0x7baa44f1
shl ecx, 3
inc edi
sar eax, cl
cbw
xor ax, word [edx + esi - 2]
mov word [edx - 2], ax
cmp edi, dword [ebp - 4]
jb 0x48dfc3
mov ecx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
call fcn.00444e20
cmp dword [ebp - 4], 2
pop esi
jbe 0x48e004
push dword [ebp - 8]
call fcn.00490c60
add esp, 4
push ebx
call fcn.00490c60
add esp, 4
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x490830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov dword [esp - 0x10], 0x58875687
push esi
push edi
mov edi, ecx
xor eax, eax
xchg ecx, ecx
lea ebx, [ebx]
xor byte [eax + 0x4c0768], 0x9d
inc eax
cmp eax, 0x100
mov esp, esp
jb 0x49084a
mov edx, dword [edi]
xor ecx, ecx
mov ecx, ecx
mov esi, edx
movzx eax, byte [esi]
inc esi
mov dword [esp - 0x30], edx
cmp byte [eax + 0x4c0768], 0x3f
ja 0x490880
mov eax, ecx
inc ecx
mov dword [esp - 0x40], esi
cmp eax, dword [edi + 4]
jb 0x490863
sub esi, edx
dec esi
xchg ebp, ebp
lea eax, [esi + 3]
shr eax, 2
lea eax, [eax + eax*2]
mov dword [esp - 0x28], ebx
inc eax
push eax
call fcn.00490c90
mov ebx, dword [ebp + 8]
xchg ebp, ebp
mov edx, eax
add esp, 4
mov dword [ebx], edx
mov dword [esp - 0x34], 0x738928b6
mov edi, dword [edi]
cmp esi, 4
jbe 0x490964
lea ebx, [esi - 5]
mov dword [esp - 0x44], ebp
shr ebx, 2
inc ebx
jmp 0x4908ce
movzx eax, byte [edi + 1]
sub esi, 4
mov edx, edx
movzx ecx, byte [eax + 0x4c0768]
movzx eax, byte [edi]
shr cl, 4
mov dword [esp - 0x10], edi
movzx eax, byte [eax + 0x4c0768]
shl al, 2
or cl, al
mov dword [esp - 0x40], esi
mov byte [edx], cl
movzx eax, byte [edi + 2]
movzx ecx, byte [eax + 0x4c0768]
mov dword [esp - 0x18], 0x4f57cfbd
movzx eax, byte [edi + 1]
shr cl, 2
movzx eax, byte [eax + 0x4c0768]
shl al, 4
xchg edi, edi
or cl, al
mov byte [edx + 1], cl
movzx eax, byte [edi + 2]
movzx ecx, byte [eax + 0x4c0768]
mov dword [esp - 0x3c], 0x7cf77da
movzx eax, byte [edi + 3]
add edi, 4
shl cl, 6
mov dword [esp - 0x2c], ebx
or cl, byte [eax + 0x4c0768]
mov byte [edx + 2], cl
add edx, 3
mov dword [esp - 0x14], ebp
sub ebx, 1
jne 0x4908ce
mov ebx, dword [ebp + 8]
xchg esi, esi
cmp esi, 1
jbe 0x490a00
movzx eax, byte [edi + 1]
mov dword [esp - 0x3c], esp
mov cl, byte [eax + 0x4c0768]
movzx eax, byte [edi]
shr cl, 4
mov al, byte [eax + 0x4c0768]
mov dword [esp - 0x18], ecx
shl al, 2
or cl, al
mov byte [edx], cl
mov dword [esp - 0x34], 0x2f438523
inc edx
cmp esi, 2
jbe 0x490a00
movzx eax, byte [edi + 2]
mov dword [esp - 0x34], esi
mov cl, byte [eax + 0x4c0768]
movzx eax, byte [edi + 1]
shr cl, 2
mov dword [esp - 0x18], 0x358a54d7
mov al, byte [eax + 0x4c0768]
shl al, 4
or cl, al
mov dword [esp - 0x28], ecx
mov byte [edx], cl
inc edx
cmp esi, 3
mov dword [esp - 0x40], 0x5a030fd9
jbe 0x490a00
movzx eax, byte [edi + 2]
mov cl, byte [eax + 0x4c0768]
movzx eax, byte [edi + 3]
xchg esi, esi
shl cl, 6
or cl, byte [eax + 0x4c0768]
mov byte [edx], cl
mov dword [esp - 0xc], 0x913944
inc edx
mov byte [edx], 0x5a
xor byte [edx], 0xf
xor byte [edx], 0x49
mov dword [esp - 0x18], ecx
add byte [edx], 0x1b
add byte [edx], 0xa
sub byte [edx], 0x41
inc edx
mov dword [esp - 0x18], 0x686400e2
xor eax, eax
jmp 0x490a29
xor byte [eax + 0x4c0768], 0x9d
inc eax
cmp eax, 0x100
jb 0x490a29
mov dword [esp - 0xc], 0x6b992848
sub edx, dword [ebx]
pop edi
pop esi
mov dword [esp - 0x1c], esp
mov eax, edx
pop ebx
pop ebp
mov dword [esp - 0x20], edi
ret 4
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x407ef8
mov ecx, 0x13df36ae
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section._RDATA
mov ebx, 0x42cd70
nop
mov ecx, 0x733b343f
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x543e0e
Capabilities:
Encode data using xor

Disassembly:
sub al, byte [esi]
sub dword [esi + 0x2b], esp
pop ds
xor dword [ecx + 0x49], ebp
push es
movsb byte es:[edi], byte [esi]
dec eax
push edx
mov al, byte [0xb46dc679]
pop eax
mov dword [esi - 0x44], edi
cmp dword [ebx + 0x22ea0341], 0x6a249828
lcall 0x27fd, 0x64e72441
sub al, dh
call 0xf9cd0b2c
aaa
push ecx
fsub qword [edi]
fmul qword [ebp - 0x70]
inc edx
push eax
adc ebp, ecx
xor byte [bp + 4], dl
push esi
mov ah, 7
xor al, 1
sub eax, 0xc1a28cf1
enter 0xffffffffffffe878, 0x58
in eax, 0x5b
loope 0x543de7
push es
lodsd eax, dword [esi]
insd dword es:[edi], dx
mov ebx, 0x9ba2d5a6
jle 0x543e71
into
dec eax
mov bl, 0x44
and al, 0x47
out 0xab, al
mov dword [0x4c4a08a9], eax
wait
invalid
xchg ebx, eax

Function at 0x54455e
Capabilities:
Encode data using xor

Disassembly:
sub byte [edi + 0x7d], dl
sbb byte [esi + 0x1ce5ade4], bl
mov ch, 0xc8
cmp dword [esi], 0xffffffa6
test al, 0xbe
and byte [esi - 0x58], bl
pushal
mov bl, 0x7c
dec esi
or al, byte [edi]
dec ecx
or byte [edx - 0x487eac4f], al
and dword [eax - 0xbc8f9c2], ebp
shr byte [ebx + 0x27], 0x97
mov byte [eax + 0x5c7a165e], cl
pop esp
test cl, bl
and al, 0x53
int 0x1e
mov eax, 0xee635060
je 0x544596
aaa
fadd dword [edi]
pop es
mov byte [ecx - 0x51], cl
xchg byte [ecx - 0x79e9d617], cl
popfd
xchg esi, eax
sbb ecx, edx
cmpsb byte [esi], byte es:[edi]
enter 0xffffffffffff90b6, 0x44
mov dh, 0x90
inc esp
jnp 0x5445df
sar byte [esi + 2], 1
add ebx, dword [edx - 0x78]
cmpsd dword [esi], dword es:[edi]
sbb eax, 0x32b90d5d
cmp al, 0x84
mov bh, bh
sar byte [0x6dd6c8f4], 0x92
sar dword [0x4670eef0], 1
imul ebp, eax, 0xed1cc2d6
rol dword [ecx], 1
cmp byte [edi + ebx*8], bl
loopne 0x54450f
dec esi
inc edi
fld st(1)
sub al, bh
mul byte [esi - 0x4a]
xor eax, 0x98224ca
fisubr word [esp + esi*4 - 0x1f]
jg 0x544592
mov dh, 0x35
retf 0x8224
dec edi
jns 0x5445a8
lea edx, [edi]
cli
stosd dword es:[edi], eax
pop ss
sti
inc ebx
lodsb al, byte [esi]
push 0xffffffffffffffe0
dec eax
out dx, al
pop ss
mov dh, 0x98
cmp cl, byte [ebx - 0x6c69bb7a]
dec ebx
or ebp, esi
test al, 0xb9
or byte [eax + 0x68], bl
push esi
xchg dword [esi], esp
push 0x111b68f8
retf
mov ah, 0x2a
invalid
Function at 0x5459ae
Capabilities:
Encode data using xor

Disassembly:
dec ebp
jb 0x5459de
sub al, 0x20
pushfd
pop eax
push edi
adc dword [ecx + 0x31ae173f], esi
popfd
loopne 0x5459e9
and byte [esp - 0x4eeea8a8], bl
aas
pop ss
scasb al, byte es:[edi]
xor dword [ebp + 0x97329e0], ebx
jae 0x5459cb
inc esp
call 0xd848802e
cmp al, 0x3c
inc esi
imul edi, dword [edi], 0xab562108
cmc
mov dh, 0x78
xchg dl, cl
jmp 0x5459b1
scasb al, byte es:[edi]
cwde
push es
dec ecx
inc edi
xchg dword [edi + 0xe881e28], ebx
sbb dword [esi], ebx
mov ebp, dword [edi + 0xc]
jbe 0x545a0c
fmul st(0), st(0)
je 0x545a64
sti
dec eax
invalid
mov esp, 0x16465949
aaa
aas
xchg edi, eax
cld
push edi
jns 0x5459f0
and al, 0xc1
xchg dword [esi + 0x25f9a309], edi
add byte [edx], bl
fiadd word fs:[ecx + 0x3301b6d6]
xchg edi, eax
sub dword [ebx], edx
fdiv dword [ebx]
loopne 0x545a87
mov edx, 0xde255105
adc ecx, eax
sbb eax, 0x9be63f7
cdq
xor ah, dh
sbb dl, byte [0xdef9a62b]
cwde
sbb dword [0x210968d2], ebx
movsd dword es:[edi], dword [esi]
lahf
xor esi, esp
xchg ch, dl
aaa
js 0x545a03
sbb bl, byte [edi - 0x6c96a6e8]
idiv ah
adc ch, al
push 0x4283704b
inc esi
xor esp, 0xec1e76e
out 0xc1, eax
push cs
jbe 0x545ace
jbe 0x545ace
inc esi
xor byte [edx], cl
test al, 0x38
xor byte [ecx - 0x26], ch
popal
call edi
imul eax, ebp, 0xa3d19cf8
rep outsb dx, byte [esi]
inc esi
mov bh, 0x90
mov dl, 0xb
test byte [eax], bl
pop eax
aas
xor cl, byte [ebx*4 - 0x7c7671b3]
sub eax, ecx
mov bh, 0x67
or eax, dword [eax + ebx + 0xc323f58]
popfd
dec ebp
mov cs, word [ecx - 0x4837d67d]
sub ah, byte [bx - 0x76b0]
adc eax, 0x412fc53e
mov dword [ebx + 0x67b7c829], eax
sub ah, byte [edi + 0x3e158950]
lds ebp, [edi]
inc ecx
push ebp
cmp al, byte [eax + 0x2c3fe110]
and byte [0xc95c718a], 0xac
push es
add esp, dword [esp + ebx*2 + 6]
pop ecx
test al, 0x24
out 0xc9, eax
xchg edi, eax
pop edx
sub ebp, dword [ecx - 0x12]
jp 0x545a66
jmp 0xa4ff1150
cmp al, 0x6e
xchg edi, eax
call 0x322a8431
pop ebx
cmpsb byte [esi], byte es:[edi]
push ebx
xchg esi, eax
pushfd
push 0x39
jg 0x545a60
xor ebx, dword [ebp + 0x68904646]
and dh, byte [esi]
insb byte es:[edi], dx
loop 0x545a7d
mov esi, 0x1b46e123
sahf
mov edx, 0xc7b9eee0
cdq
pop eax
xchg ah, ah
invalid

Function at 0x5daa62
Capabilities:
Encode data using xor

Disassembly:
sbb al, byte [edi*4 - 0x2b0f373f]
and cl, dh
int1
Function at 0x403130
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x40316c
movzx eax, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x40318c
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00405038
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x4033c4
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404dc8
test esi, esi
jne 0x4033fa
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404eb8
jmp 0x403418
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004032c8
mov edi, eax
test esi, esi
je 0x403418
cmp dword [ebx], 0
je 0x403418
dec esi
jmp 0x403401
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403bbc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x50d024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403c54
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403c34
xor eax, eax
push ebp
push 0x403c2d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403c70
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403c34
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x50d024]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x50d024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404b74
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x52e04c], 0
je 0x404bd5
cmp word [0x52e220], 0xd7b2
jne 0x404b9d
cmp dword [0x52e228], 0
jbe 0x404b9d
mov eax, 0x52e21c
call dword [0x52e238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x50d764
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404bfc
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x50d030], 0
jne 0x404bf1
push 0
push 0x50d75c
push 0x50d764
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4097dc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40982e
test eax, edx
je 0x409831
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x4097f1
movzx eax, byte [eax]
sub eax, ecx
ret
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]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x409817
add ecx, 4
js 0x409807
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x409814
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x40983d
test edx, edx
jne 0x4097e4
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.00405258
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40a4ae
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x40a4cf
cmp ebx, 3
je 0x40a4cf
cmp ebx, 0x7b
je 0x40a4cf
mov eax, esi
call fcn.0040a450
test al, al
jne 0x40a4d3
xor eax, eax
jmp 0x40a4d5
mov al, 1
pop esi
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405258
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40a4f1
test al, 0x10
jne 0x40a4f5
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40da3c
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 0x40da75
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404eb8
jmp 0x40da7e
mov eax, ebx
mov edx, esi
call fcn.00404e1c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40da88
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 0x40daaa
movzx eax, byte [esp]
jmp 0x40daac
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret