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

Disassembly:
invalid
add ecx, dword [ebx + 0x18ecb9ec]
push ebx
mov ebx, dword [ebp + 0x10]
mov edi, 0x45c757db
cld
add byte [eax], al
add byte [eax], al
push edi
mov dword [ebp - 4], 0
jge 0x40a5dc
mov eax, dword [ebp + 0xc]
xor ebx, ebx
call 0x9b4a628
xor ecx, dword [ecx + edx*2 + 4]
inc ebx
test ecx, ecx
jne 0x40a5f0
mov ecx, 0x8a9d04
add byte [eax], al
push esi
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
adc dword [eax], 4
mov edi, eax
test ebx, ebx
mov dword [ebp + 0x56], edi
jle 0x40a5c1
das
jge 0x40a623
pop esi
imul dword [ebx]
invalid
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + esi]
push ecx
dec esp
adc eax, 0xdb40c10c
add esp, 4
inc eax
mov dword [esi], eax
mov eax, dword [ebx]
cld
add edx, eax
mov esi, esi
clc
in eax, 0xc6
add al, 0x48
in eax, dx
push ebp
cld
loope 0x40a68c
clc
jne 0x40a623
mov eax, dword [ebp - 4]
lea eax, [eax + eax*2 - 0xf]
push eax
mov dword [ebp - 0x6a], eax
call dword [0x40b35c]
add esp, 0xffffff95
xor ebx, dword [ebx - 0x5d76247b]
clc
mov ecx, dword [eax + 0x458b547e]
or al, 0x8b
dec ebp
jl 0x40a69b
sub eax, ecx
mov ecx, dword [ebp - 4]
arpl cx, bx
adc byte [esi + 0x5d], bh
ror dword [ebx - 0x269c03b3], 0x10
jle 0x40a6d6
or al, 0x89
pop ebp
call 0x45cc926c
inc ebp
adc byte [ebx - 0x13f876e9], cl
lea ecx, [ebp - 4]
mov dword [ebp - 0x10], edx
mov dword [eax], ebx
jo 0x40a695
invalid
pop es
lea edx, es:[ebp - 0x10]
sub dl, byte [edx - 0x33]
lock sub dl, byte [edx - 0x33]
call 0x5fabf0
mov ecx, dword [ebp - 4]
add eax, 0x4d8b001f
cld
mov edi, dword [ebx - 0x14]
sub eax, ecx
jl 0x40a66f
add al, 3
iretd
les ecx, [eax]
cmp eax, ecx
pop esi
je 0x40a70e
sub eax, ecx
mov ecx, eax
xor edi, eax
test ebx, ebx
jle 0x40a680
mov edx, ebx
and al, byte [ebx]
ror dword [ecx + 0x3b408746], 1
adc eax, 0x4d8bf37c
or byte [ebx + 0x5f3989e4], cl
pop ebx
mov esp, ebp
pop ebp
pop es
mov edx, dword [ebp + 0x35]
push edx
ret
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov eax, ebx
pop edi
pop ebx
mov esp, ebp
hlt
Function at 0x43b679
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x43b3c1
or edx, ecx
mov ecx, edx
sub edx, edx
call fcn.0043b6ae
mov ecx, ecx
inc ecx
xor dword [ebx], eax
sub ecx, edx
inc ebx
add ecx, ecx
add ecx, 0x4e810561
sub ecx, ecx
cmp ebx, esi
jne fcn.0043b679
sub ecx, 0x1aea4941
ret

Function at 0x4f49ed
Capabilities:
Encode data using xor

Disassembly:
call fcn.005c2d76
pop ss
dec esi
mov esp, 0xaae42e3b
jnp 0x4f4a2f
dec edx
iretd
xchg ebx, ebp
mov ebp, 0x2f551a7c
popal
xor byte [ebx], ah
inc ecx
mov bl, 0x37
movsd dword es:[edi], dword cs:[esi]
mov ecx, 0x26e9ba20
out 0xed, al
ror dword [edi - 0x2c27d34d], 1
cld
sub al, 0xd8
sar esp, cl
in eax, dx
xchg ebx, eax
sub edi, dword [edi + 0x6a2931ff]
mov byte [0xb83b9709], al
jnp 0x4f4a16
mov dl, 0x7a
call 0xe04e5fa2
xchg byte [esi], bl
inc esp
pop ebx
and eax, 0x11a152fb
fmul st(7), st(0)
iretd

Function at 0x5a60d8
Capabilities:
Encode data using xor

Disassembly:
pushfd
push dword [esp]
ror al, 4
cmp ebp, esp
push eax
jmp 0x59f1f5

Function at 0x5ad725
Capabilities:
Encode data using xor

Disassembly:
add edi, eax
pushal
bt ecx, esi
pushfd
call fcn.004f40e4
aam 0x83
arpl sp, sp
mov al, 0xf1
stosb byte es:[edi], al
movsb byte es:[edi], byte [esi]
push edi
sbb eax, 0x74e3cd4e
xor byte [ecx - 0x5d05622d], ch
sti
jo 0x5ad739
mov eax, dword [0x99d35626]
add byte [eax + edi*2], ah
pop ss
jmp [esi]
Function at 0x4060c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c613
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x43d054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [0x42e098]
mov edx, eax
lea ecx, [ebp - 0xa0]
call fcn.00406020
mov edi, eax
mov dword [ebp - 4], 0
call dword [0x42e098]
mov edx, eax
lea ecx, [ebp - 0x88]
call fcn.00405e50
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.0040d310
push 0x439a8c
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.0040d480
push edi
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.0040d640
push 0x439a80
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.0040d480
add esp, 0x10
lea ecx, [ebp - 0x40]
call fcn.00403040
lea ecx, [ebp - 0x58]
call fcn.00403040
lea ecx, [ebp - 0x70]
call fcn.00403040
lea ecx, [ebp - 0x88]
call fcn.00403040
lea ecx, [ebp - 0xa0]
call fcn.00403040
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00403000
push eax
push 0x439ab0
push 0
push 0
call dword [0x42e1e4]
push 0
call fcn.004188ad
int3
Function at 0x40a100
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ca80
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x43d054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
mov dword [ebp - 4], 0
call fcn.00419473
add esp, 4
push eax
call fcn.00418a17
mov edx, dword [ebp + 0x1c]
lea ecx, [ebp + 8]
mov esi, dword [ebp + 8]
add esp, 4
cmp edx, 0x10
cmovae ecx, esi
cmp dword [ebp + 0x18], 3
jne 0x40a17f
movzx eax, byte [ecx]
cmp al, 0x63
jne 0x40a176
movzx eax, byte [ecx + 1]
cmp al, 0x68
jne 0x40a176
movzx eax, byte [ecx + 2]
cmp al, 0x6b
jne 0x40a176
xor eax, eax
jmp 0x40a17b
sbb eax, eax
or eax, 1
test eax, eax
je 0x40a1c9
cmp edx, 0x10
lea ecx, [ebp + 8]
cmovae ecx, esi
cmp dword [ebp + 0x18], 4
jne 0x40a1ef
mov eax, dword [ecx]
mov edx, 0x439b44
cmp eax, dword [edx]
jne 0x40a1a0
add ecx, 4
xor eax, eax
jmp 0x40a1c5
cmp al, byte [edx]
jne 0x40a1c0
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x40a1c0
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x40a1c0
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x40a1c0
xor eax, eax
jmp 0x40a1c5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40a1ef
push ecx
lea ecx, [ebp - 0xd8]
call fcn.0040a2d0
sub esp, 0xc
lea ecx, [ebp - 0xd8]
push 0x439b4c
call fcn.0040c120
push 0
call fcn.004188ad
push 0
push 0
push 0
push 0x4056a0
push 0
push 0
call dword [0x42e094]
push 0xbb8
call dword [0x42e084]
push 0x439b54
lea ecx, [ebp - 0xf4]
call fcn.00403110
lea edx, [ebp - 0xf4]
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00406aa0
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0
call fcn.00403040
call fcn.00405440
mov esi, eax
call fcn.00405b20
mov ecx, eax
test esi, esi
je 0x40a259
mov eax, 0x439b5c
jmp 0x40a268
test ecx, ecx
mov eax, 0x439b60
mov edx, 0x439b64
cmove eax, edx
push eax
mov ecx, 0x450e0c
call fcn.00403010
lea ecx, [ebp - 0x28]
call fcn.004076a0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0040d6e0
test al, al
je 0x40a2ac
sub esp, 0x18
mov ecx, esp
push 0x439b6c
call fcn.00403110
lea ecx, [ebp - 0x28]
call fcn.00403000
mov ecx, eax
call fcn.004072a0
add esp, 0x18
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0040c790
call fcn.00409900
add esp, 0x18
call fcn.004060c0
int3
Function at 0x40c120
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42cb7f
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x43d054]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 0
mov dword [ebx], 0x439c30
mov dword [ebp - 0x1c], eax
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x94], 0
mov dword [ebx + 0x98], 0
mov dword [ebx + 0x68], 0x439c2c
mov dword [ebp - 4], 0
lea esi, [ebx + 4]
mov eax, dword [ebx]
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x18], esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], 0x439cf4
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
push ecx
push esi
lea eax, [ecx - 8]
mov dword [ecx + ebx - 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.0040d000
mov dword [ebp - 4], 2
mov eax, dword [ebx]
mov dword [ebp - 0x14], esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], 0x439c24
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ecx + ebx - 4], eax
mov ecx, esi
call fcn.0040cf30
lea eax, [ebx + 4]
lea ebx, [eax + 4]
mov dword [eax], 0x439be4
mov dword [eax + 0xc], ebx
lea ecx, [eax + 0x18]
mov dword [eax + 0x20], ecx
lea esi, [eax + 8]
mov byte [eax + 0x48], 0
lea edi, [eax + 0x14]
mov byte [eax + 0x3d], 0
lea edx, [eax + 0x24]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov ecx, dword [0x450d1c]
mov dword [eax], 0
mov eax, dword [0x450d18]
mov dword [ebx], 0
mov ebx, dword [ebp - 0x18]
mov dword [edi], 0
mov dword [edx], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x38], 0
mov byte [ebp - 4], 3
cmp dword [ebx + 0x4c], 0
jne 0x40c2f5
push 0x40
push 2
push dword [ebp - 0x1c]
call fcn.0040f234
add esp, 0xc
test eax, eax
je 0x40c2f5
push 1
push eax
mov ecx, ebx
call fcn.0040cdb0
mov eax, dword [ebx + 0x34]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 4
push eax
call fcn.0040d6f0
add esp, 4
mov ecx, ebx
push eax
call fcn.0040cc50
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x40c2de
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x40c2de
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [ebp - 0x10]
push 0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
xor eax, eax
add ecx, esi
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00404f60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40c3a0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x16], 0
je 0x40c3ca
movups xmm0, xmmword [ecx]
mov eax, 0x10
movaps xmm1, xmmword [0x439d30]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
nop dword [eax]
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0x17
jb 0x40c3c0
mov eax, ecx
ret

Function at 0x40c3d0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x1d], 0
je 0x40c3fa
movups xmm0, xmmword [ecx]
mov eax, 0x10
movaps xmm1, xmmword [0x439d30]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
nop dword [eax]
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0x1e
jb 0x40c3f0
mov eax, ecx
ret

Function at 0x40c400
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0xe], 0
je 0x40c412
xor eax, eax
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0xf
jb 0x40c408
mov eax, ecx
ret

Function at 0x40c4c0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x11], 0
je 0x40c4ea
movups xmm0, xmmword [ecx]
mov eax, 0x10
movaps xmm1, xmmword [0x439d30]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
nop dword [eax]
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0x12
jb 0x40c4e0
mov eax, ecx
ret

Function at 0x40c4f0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0xb], 0
je 0x40c502
xor eax, eax
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0xc
jb 0x40c4f8
mov eax, ecx
ret

Function at 0x40cce0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x43d054]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x40cd9a
cmp byte [esi + 0x3d], 0
je 0x40cd9a
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x40cd88
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x40cd50
sub eax, 1
je 0x40cd54
sub eax, 2
jne 0x40cd88
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f7bf
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x40cd71
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00419208
add esp, 0x10
cmp edi, eax
jne 0x40cd88
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f7bf
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f7bf
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0040f7bf
mov esp, ebp
pop ebp
ret
Function at 0x40cf30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42cbe0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x43d054]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], 0x439b84
call fcn.0040f9cf
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0040ee86
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x420a03
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00420879

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x82c370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x82c38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x855074
push ecx
mov edi, eax
call fcn.00840198
mov esi, eax
add esp, 8
test esi, esi
jne 0x82c3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0084002e
push esi
call fcn.0083ffb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x82f850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x82f8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x85a720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x82f8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.008401e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x82f8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x85a720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x82f92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00841082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x82f957
mov word [eax], si
add eax, 2
push eax
call fcn.00841030
add esp, 4
jmp 0x82f959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x82f8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x82f8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x82fff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x830080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x8300c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x855458
push ecx
call fcn.008401e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.008401e1
add esp, 0x10
jmp 0x8300d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0084020b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.0083fdff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00830050
mov eax, dword [0x85a728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0x83013b
push esi
call fcn.0082ffb0
add esp, 4
mov dword [0x85a728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x83014c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.0082fff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0x833440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x8334b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x83348e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x833471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x83347e
add edx, ecx
cmp ebx, edx
jb 0x83348a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x833467
xor ecx, ecx
jmp 0x8334a2
test eax, eax
jne 0x833492
xor ecx, ecx
jmp 0x8334a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.008333c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x8338f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x833921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0x833946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x83396e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0x833993
push ecx
push esi
call fcn.008334c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret
Function at 0x834c00
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
xor ecx, ecx
mov cx, word [eax + 0x14]
xor esi, esi
mov si, word [eax + 6]
push edi
xor edi, edi
lea ecx, [ecx + eax + 0x18]
test esi, esi
jbe 0x834c4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x834c2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0x834c38
add edx, eax
cmp ebx, edx
jb 0x834c46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0x834c21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0x834c50
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [ecx + 0x14]
mov esi, dword [ecx + 0xc]
mov ecx, dword [esp + 0x18]
sub eax, esi
add eax, ebx
pop edi
pop esi
add eax, ecx
pop ebx
ret

Function at 0x834c70
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x834cb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x834c9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x834ca8
add edx, ecx
cmp ebx, edx
jb 0x834cb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0x834c91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x834f60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push 0
push 0
mov ebp, dword [esp + 0x228]
push 0
push 0
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.00841145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x834ffb
push ebx
mov ebx, eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x834fdd
lea eax, [esp + 0x18]
push eax
jmp 0x834fe2
push 0x85a720
call fcn.00840fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x834fb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x834f40
push 4
push ecx
push eax
call fcn.0084143f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret