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

Disassembly:
mov al, 0xcf
call 0x16fe9e0
mov dword [esp + 0x2c], 0x170f489
lea esp, [esp + 0x2c]
jg 0x1e9abc8
pushfd
mov word [esp], 0x1bf2
mov byte [esp], dh
push dword [eax]
pop dword [esp]
push 0x8f7ab22
pushfd
mov word [esp + 4], 0x8543
push dword [esp + 8]
ret 0xc
pushal
pushfd
pushal
adc al, al
jmp 0x1eb758e
inc al
inc ecx
not al
mov al, 0x10
push 0x56a26d5f
push 0xfe23171d
pushal
lea esp, [esp + 0x28]
call int.0170a0e0
je 0x1eab7c5
sub al, ch
or edi, ebx
invalid
pushfd
mov byte [esp], 0x3f
adc al, al
call fcn.01ec7061
in eax, 0xd8
sbb byte gs:[edi - 4], dl
push cs
mov dl, 0x34
xchg byte [esi + 0x3bc1b4fa], ch
enter 0x1060, 0x13
popfd
test eax, 0xad9aa40f
bswap eax
scasd eax, dword es:[edi]
loop 0x170c1d1
shl dword [edx], cl
sub edx, edi
push 0x61
cmc
push edx
in al, dx
cld
fstp xword [edx - 0x78]
xor bh, ch
dec esp
xor esi, dword [0x907e9a34]
or eax, 0xb61e29bf
xor edi, dword [ebx - 0x1d]
sbb bh, bl
push eax
fcmovnu st(0), st(7)
and al, 0x9c
pop ebp
cmp ebx, eax
rol ah, 1
movd dword [eax + 0x79], mm7
invalid
mov word [esp + 4], ax
lea esp, [esp + 8]
jae 0x17051e5
jmp 0x1eab7ca
push ecx
push dword [eax]
pop dword [esp]
push edx
push dword [esp + 4]
ret 8
jmp 0x170acfd
xchg bl, al
pushal
pushal
mov bl, 2
lea esp, [esp + 0x40]
jns 0x170c1bc
inc ecx
jmp 0x171e37f
call fcn.017082fd
xchg esi, eax
mov al, byte [0x67e3c0bd]
push cs
test dword [edi], edx
out 0x1b, eax
add eax, 0x718d3d33
aam 0x2b
add eax, 0x30c331fa
mov dword [eax + 0x2c], esp
xchg ebp, eax
jmp 0x1eb75df
and esp, dword [edi - 0x2eef9044]
mov bl, 0x3b
test dl, bh
jb 0x1eb7637
sbb dword [ecx + 0x21], ecx
imul ecx, edx, 0x510578dc
sub al, byte [ebp + 0x18]
daa
rcl byte [ebx - 0x3486982f], cl
jo 0x1eb760b
loopne 0x1eb765e
add al, al
invalid
dec eax
daa
mov dh, 0x41
sub dword [eax], ebp
mov ebx, 0xac099c71
imul dword [esp + ebp*8 + 0x667cc0ab]
fild dword [ebx + 0x66]
xchg esi, eax
or dword [edi + 0xdf7f1d2], esi
adc ah, bl
imul ecx, dword [esp + ebx + 0x203237b7], 0xc7042ba9
pop ecx
das
stc
xchg edx, eax
mov word [eax - 0x1f], es
add al, 0x91
out dx, al
loopne 0x1eb76c9
mov ah, 0x1a
enter 0xffffffffffffe831, 8
leave
test bh, bh
pop ebx
xor esp, esi
mov dword [ebx], eax
mov byte [esi + 0x2171ffd8], dl
test bh, dh
push 0x8011e288
pushal
add al, 0x52
or eax, 0x1a618b49
out dx, al
dec esp
sar eax, 1
aas
sbb byte [ecx], 0xd3
mov eax, 0x26dbd8ab
les ebx, [ebx + 0xdb5af66]
wait
scasw ax, word es:[edi]
mov ch, 0xd
and ebx, eax
jl 0x1eb772c
imul ebx, dword [ecx], 0xab10e8e
jns 0x1eb76a0
mov edx, 0xa0a7e590
push 0x69b0547
fdivr st(0)
in eax, 0xe2
sub eax, 0x4ae8df39
cmp edi, ebx
call fcn.01702482

Function at 0x171fc4c
Capabilities:
Encode data using xor

Disassembly:
movzx ax, cl
mov dword [esp], esi
aad 0x6e
lea eax, [edx + 0x587d0b9a]
push edi
shr ah, 2
dec eax
push ebx
rol eax, cl
cwde
ror ah, cl
push edx
add al, dh
mov eax, dword [ebp + 8]
cmp ah, bl
cmc
clc
call fcn.01703cac
or al, 0x9a
pop ss
pop ss
push 0xfffffffffffffffd
push cs
frstor dword es:[edx]
pop edi
inc edi
call 0xbd5d929c
sub byte [edx + 0x56a5d08c], 0xaa
invalid
Function at 0x1ea1213
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp + 0x2c]
jae 0x17168bf
adc bh, 3
mov ebx, eax
rol di, 0xc
test ax, 0x9cf3
mov edi, eax
shld cx, si, cl
adc ecx, edi
mov ecx, 0x104
cmp bh, dl
push 0xb1ef2f8e
stc
sub al, al
test ax, ax
repne scasb al, byte es:[edi]
call fcn.01435b75
dec esi
sti
shr dword [esp + eax*4 + 0x7be90e66], 1
mov esp, 0x90823083
inc ebp
sal dword [edi + eax*8 - 0x74], 1
mov ch, 0x12
pop edi
and al, 1
adc dl, byte [edx + 0x2999249d]
push cs
and al, 0x99
sub dword [esi], ecx
dec ebx
pop ecx
push esp
lahf
rcr byte [eax], 0x47
dec ebx
xor ch, byte [ecx + 0x4b30cb38]
imul edx, dword [edx + edi*2 + 0x65690341], 0x7e
js 0x1ea1267
invalid
Function at 0x100061cd
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x10241784], 0
mov dword [0x10241788], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov dword [0x10241790], 0
mov dword [0x1024177c], 0x1a14
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
mov edx, eax
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
je 0x10006320
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x10241784], edx
mov dword [0x1024177c], 0xfbe
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10241788], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x1024178c], cl
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x1024177c], 0x1d46
mov cl, byte [0x1024178c]
mov edx, dword [0x10241788]
mov byte [edi + edx], cl
mov edx, dword [0x10241784]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10241788]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x10241790], ebx
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
mov byte [ebx + edx], cl
mov ecx, dword [0x10241780]
add ecx, 0x374
mov dword [0x10241780], ecx
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x38], edx
je 0x10006320
mov eax, dword [0x10241788]
mov ecx, dword [0x10241784]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], edx
jmp 0x10006234
mov dword [0x10241780], 0x20c0
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10006332
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [fcn.10006332]
mov ecx, dword [0x10241780]
add ecx, 0xffffe02f
mov edx, dword [0x1024177c]
add edx, 0xffffdbc5
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
cmp word [eax], 0x5a4d
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
jne 0x10006391
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x10006391
mov eax, dword [ebp - 0x14]
mov dword [0x10241780], eax
mov eax, dword [ebp - 0x10]
add esp, 0x14
pop ebp
ret
mov eax, dword [ebp - 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], eax
jmp 0x1000635f
Function at 0x100065a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10241788], 0
mov byte [0x1024178c], 0
mov dword [0x1024177c], 0x21
mov dword [0x10241784], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10006686
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov edx, dword [0x10241788]
mov dword [ebp - 0x24], eax
xor esi, esi
mov dword [ebp - 0x28], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x24]
movzx esi, byte [edi + ebx]
mov edi, dword [ebp - 0x28]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov eax, esi
cdq
idiv ecx
mov dword [0x10241788], edx
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + ebx]
mov byte [0x1024178c], cl
mov esi, dword [ebp - 0x18]
mov cl, byte [esi + edx]
mov byte [esi + ebx], cl
mov cl, byte [0x1024178c]
mov edx, dword [0x10241788]
mov byte [esi + edx], cl
mov dword [0x1024177c], 0x2cc
mov edx, dword [0x10241784]
add edx, 1
mov dword [0x10241784], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x100065f2
jmp 0x100065ea
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov dword [0x10241780], 0x10da
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10241784]
add eax, 1
mov dword [0x10241784], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10006686
mov dword [0x10241784], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x100065f2
Function at 0x100066ca
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [0x10241780], 0x9dd
mov dword [ebp - 0x10], eax
call fcn.100063a9
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x10006710
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x10241780], 0x5a7
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x100067b7
jmp 0x100067c2
mov eax, dword [ebp - 0x34]
mov ecx, eax
mov edx, dword [ebp - 0x38]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x3d], bh
mov byte [ebp - 0x3e], cl
je 0x10006810
jmp 0x100067e4
mov eax, dword [ebp - 0x44]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x1024177c], 0x1fbc
mov dword [ebp - 0x30], edi
jmp 0x100067b7
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edx
jmp 0x10006747
mov eax, dword [ebp - 0x30]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x24]
add eax, 0x24
mov ecx, dword [ebp - 0x1c]
add ecx, eax
mov dword [ebp - 0x54], ecx
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x54]
add ecx, dword [edx]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], eax
jmp 0x1000679b
mov eax, dword [ebp - 0x3c]
add eax, 1
mov cl, byte [ebp - 0x3d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x3e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x34], eax
jne 0x10006747
mov al, byte [ebp - 0x3e]
test al, 1
jne 0x10006776
jmp 0x1000681d
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 2
mov edx, dword [ebp - 0x50]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x30], eax
jb 0x1000679b
jmp 0x100067b7
Function at 0x10006cc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x10241780], 0x1981
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x10006dc1
lea eax, [ebp - 0x24]
mov dword [0x1024177c], 0x1811
mov dword [ebp - 0x34], eax
call fcn.10006a7f
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.10006b57
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x10006df1
mov eax, dword [ebp - 0x38]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x1024177c], 0x886
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.1000689b
xor eax, eax
mov dword [0x10241780], 0x263c
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x2c], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x10], ecx
mov dword [0x1024177c], 0xf39
add ecx, 0x269a
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x10006db8
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x100086d6]
mov dh, byte [eax + 0x100086a7]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
je 0x10006ce7
jmp 0x10006dc1
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x10006e28
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x168
mov eax, dword [ebp + 8]
mov dword [ebp - 0x130], eax
xor eax, eax
mov dword [0x1024177c], 0xf5e
mov ecx, eax
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jmp 0x1000702f
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x140]
lea edx, section..data
imul esi, eax, 0x118
mov edi, edx
add edi, esi
imul esi, eax, 0x118
mov ebx, edx
add ebx, esi
add ebx, 0x24
imul esi, eax, 0x118
add edx, esi
add edx, 0x6c
add eax, 1
mov esi, dword [ebp - 0x144]
add esi, ecx
mov edx, dword [edx]
mov edi, dword [edi]
movzx ebx, word [ebx]
xor ebx, edx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x150], ebx
call fcn.10005cc6
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
add eax, ecx
mov edx, dword [ebp - 0x148]
cmp edx, 0x1af
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x140], eax
je 0x10006f6e
jmp 0x10006e5c
lea eax, [ebp - 0x12c]
mov dword [0x1024177c], 0xfffeb770
mov dword [ebp - 0x154], eax
call fcn.10006a7f
mov dword [esp], eax
mov eax, dword [ebp - 0x154]
mov dword [esp + 4], eax
call fcn.10006b57
mov ecx, eax
mov dword [0x10241794], eax
mov eax, esp
mov edx, dword [ebp - 0x158]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x13c], ecx
jmp 0x10006e5c
lea eax, [ebp - 0x10c]
mov dword [0x1024177c], 0x14c0
mov dword [ebp - 0x15c], eax
lea eax, [0x100086b5]
mov ecx, 0x20
mov edx, dword [ebp - 0x15c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], ecx
call fcn.100065a0
mov eax, dword [ebp - 0x15c]
mov dword [esp], eax
mov ecx, dword [ebp - 0x144]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x158]
mov dword [esp + 0xc], edx
call fcn.100061cd
xor eax, eax
mov ecx, dword [0x10241780]
add ecx, 0x571
mov dword [0x10241780], ecx
mov ecx, dword [ebp - 0x144]
add ecx, 0x8be1a
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x134a00
mov dword [0x1024177c], 0x733
mov ecx, dword [ebp - 0x144]
add ecx, 0x787d5
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x1ff0
add esp, 0x168
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
xor edx, edx
lea esi, section..data
imul edi, eax, 0x118
mov ebx, esi
add ebx, edi
add ebx, 0x6c
mov edi, dword [ebx]
imul ebx, eax, 0x118
add esi, ebx
add esi, 0x24
movzx esi, word [esi]
xor esi, edi
add esi, ecx
add eax, 1
cmp eax, 0x1af
mov ecx, esi
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x158], esi
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x164], edx
jne 0x1000702f
mov eax, dword [ebp - 0x164]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x100086d6]
mov dh, byte [eax + 0x100086a7]
sub dh, dl
mov byte [ebp + eax - 0x12c], dh
cmp ecx, 0xe
mov dword [ebp - 0x164], ecx
je 0x10006efb
jmp 0x10007090
Function at 0x406a06
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406a2a
xor eax, eax
test eax, eax
je 0x406a3d
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406a3d
xor ecx, ecx
jmp 0x406a40
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406b63
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4275ec], 0
push esi
jne 0x406b9a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b74
mov dword [ecx*4 + 0x4275e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b6f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406bcb
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4275e8]
xor eax, esi
inc ecx
dec edx
jne 0x406bad
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x2623467e
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x9b94465
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
mov ecx, 0x43eb65ba
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x431024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x67795127
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x42b42f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x10010f8
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x1001090
call fcn.010012e0
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x1001135
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001135
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x100114d
cmp eax, 0x20b
je 0x100113a
mov dword [ebp - 0x1c], ebx
jmp 0x1001161
cmp dword [ecx + 0x84], 0xe
jbe 0x1001135
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x100115b
cmp dword [ecx + 0x74], 0xe
jbe 0x1001135
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1002014], 0xffffffff
or dword [0x1002018], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1002010]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x100200c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x100201c], eax
call fcn.010012dc
cmp dword [section..data], ebx
jne 0x10011bc
push fcn.010012dc
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.010012ca
push 0x1001064
push 0x1001060
call sub.msvcrt.dll__initterm
mov eax, dword [0x1002008]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x1002004]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x30], eax
push 0x100105c
push 0x1001058
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
cmp byte [esi], 0x22
jne 0x1001252
inc esi
mov dword [ebp - 0x34], esi
mov al, byte [esi]
cmp al, bl
je 0x1001226
cmp al, 0x22
jne 0x1001218
cmp byte [esi], 0x22
jne 0x100122f
inc esi
mov dword [ebp - 0x34], esi
mov al, byte [esi]
cmp al, bl
je 0x1001239
cmp al, 0x20
jbe 0x100122b
mov dword [ebp - 0x4c], ebx
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x4c], 1
je 0x100125d
movzx eax, word [ebp - 0x48]
jmp 0x1001260
cmp byte [esi], 0x20
jbe 0x100122f
inc esi
mov dword [ebp - 0x34], esi
jmp 0x1001252
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call main
mov esi, eax
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x100127d
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x10012b2
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01001319
ret