joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40539b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4245bc]
jne 0x4053a5
repz ret
jmp fcn.00408eec

Function at 0x40bf57
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040699c
and dword [ebp - 4], 0
cmp dword [0x4263b4], 0
mov ebx, eax
jne 0x40c008
push 0x4021ec
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40c0b9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4021e0
push edi
call esi
test eax, eax
je 0x40c0b9
push eax
call fcn.0040692a
mov dword [esp], 0x4021d0
push edi
mov dword [0x4263b4], eax
call esi
push eax
call fcn.0040692a
mov dword [esp], 0x4021bc
push edi
mov dword [0x4263b8], eax
call esi
push eax
call fcn.0040692a
mov dword [esp], 0x4021a0
push edi
mov dword [0x4263bc], eax
call esi
push eax
call fcn.0040692a
pop ecx
mov dword [0x4263c4], eax
test eax, eax
je 0x40c008
push 0x402188
push edi
call esi
push eax
call fcn.0040692a
pop ecx
mov dword [0x4263c0], eax
mov eax, dword [0x4263c0]
cmp eax, ebx
je 0x40c060
cmp dword [0x4263c4], ebx
je 0x40c060
push eax
call fcn.004069a5
push dword [0x4263c4]
mov esi, eax
call fcn.004069a5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40c060
test edi, edi
je 0x40c060
call esi
test eax, eax
je 0x40c057
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40c057
test byte [ebp - 0xc], 1
jne 0x40c060
or dword [ebp + 0x10], 0x200000
jmp 0x40c099
mov eax, dword [0x4263b8]
cmp eax, ebx
je 0x40c099
push eax
call fcn.004069a5
pop ecx
test eax, eax
je 0x40c099
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40c099
mov eax, dword [0x4263bc]
cmp eax, ebx
je 0x40c099
push eax
call fcn.004069a5
pop ecx
test eax, eax
je 0x40c099
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4263b4]
call fcn.004069a5
pop ecx
test eax, eax
je 0x40c0b9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40c0bb
xor eax, eax
pop edi
pop esi
pop ebx
leave
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 0x408934
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov ecx, 0x4085d8
call fcn.0040895f
xor dword [esi], ecx
add esi, 1
sub eax, 0x94fd21e3
dec eax
cmp esi, edx
jne fcn.00408934
sub eax, 0xdabc69d9
sub eax, 0xd7def888
ret
Function at 0x609350
Capabilities:
Encode data using xor

Disassembly:
std
add dl, byte [0x2eca34d0]
idiv ch
mov gs, word [edx - 0x79044eac]
mov ebp, 0xc1c4091
pop ebx
push esp
in al, dx
rcr byte [ebp + 0x2d9de5e], cl
sahf
xchg byte [edx], dh
sar byte [ebx + 0x12f20b85], 0x7a
inc eax
or al, 0x83
xor byte [eax - 0x31], bh
mov ebp, eax
sbb eax, 0xf105f73f
cmp eax, ecx
and al, 0x45
dec edi
outsd dx, dword [esi]
lea esi, reloc.kernel32.dll_DeleteCriticalSection
invalid

Function at 0x9365dc
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub esp, 0x18
neg ebx
jo 0x936466
sbb bh, dh
invalid
jno 0x936450
ja 0x936438
add dh, cl
adc dword [edx - 0x7b], ebp
xor al, 0x27
dec esi
mov dx, si
sub esp, 8
mov ax, word [esp]
call fcn.00936479
fcomp qword [ecx - 0x37]
test al, 0x5b
fidivr word [eax]
mov dx, si
sub esp, 8
mov ax, word [esp]
bsr eax, eax
jmp 0x936529
mov bx, word [esp + 0x16]
jmp 0x936546
rol esi, 0
mov dx, 0x455a
mov edx, 0xc7a6e0bd
bsf dx, dx
jnp 0x936579
jp 0x936579
push edx
salc
inc esp
and ebx, esi
pop ecx
invalid
call fcn.00936734
ror esi, 0
bts edx, eax
jle 0x93664b
mov ebx, 0xe746243f
mov bx, word [esp]
jmp 0x93666b
mov al, byte [esp]
mov dl, bh
jmp 0x936436
xchg dword [esp], ebp
mov ax, 0x2930
mov eax, ebp
xchg dh, bl
call fcn.00936603
out dx, al
jae 0x9365af
xchg byte [ebp - 0x7f], dh
hlt
rdtsc
sub esp, 1
mov bl, byte [esp]
mov byte [esp], bl
lea esp, [esp + 1]
jmp 0x9365b9
mov ebx, 0xe746243f
call fcn.009365dc
or eax, ebp
jmp 0x9366af
lea esp, [esp + 0x24]
neg esi
mov eax, edx
mov ax, word [esp]
call 0x936655
inc ebp
ret 0x3750
xchg ah, dh
lea esp, [esp + 2]
jmp 0x9366e8
je 0x9366da
lea edx, [esi + esi]
push word [esp + 3]
jmp 0x936699
mov ax, word [esp]
mov dh, dl
bsr ax, dx
jge 0x93670a
mov ax, word [esp]
bt edx, eax
jmp 0x936710
lea edx, [esi + esi]
push word [esp + 3]
xchg ah, dh
lea esp, [esp + 2]
lea esp, [esp + 4]
add esi, 0x2a2bba19
jmp 0x9366bb
bt edx, eax
jmp 0x936710
mov ax, word [esp]
jmp 0x9366f4
inc esi
lea edx, [esi*4]
mov ax, word [esp]
mov bl, 0x6d
mov dl, byte [esp]
jmp 0x936757
jmp 0x936783
add esi, dword [ebp]
mov eax, edi
pushfd
push dword [esp + 1]
jno 0x936739
rdtsc
jmp 0x93673b
rdtsc
jmp 0x93673b
Function at 0x936655
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub esp, 0x18
neg ebx
jo 0x936466
sbb bh, dh
invalid
jno 0x936450
ja 0x936438
add dh, cl
adc dword [edx - 0x7b], ebp
xor al, 0x27
dec esi
mov dx, si
sub esp, 8
mov ax, word [esp]
call fcn.00936479
fcomp qword [ecx - 0x37]
test al, 0x5b
fidivr word [eax]
mov dx, si
sub esp, 8
mov ax, word [esp]
bsr eax, eax
jmp 0x936529
mov bx, word [esp + 0x16]
jmp 0x936546
rol esi, 0
mov dx, 0x455a
mov edx, 0xc7a6e0bd
bsf dx, dx
jnp 0x936579
jp 0x936579
push edx
salc
inc esp
and ebx, esi
pop ecx
invalid
call fcn.00936734
ror esi, 0
bts edx, eax
jle 0x93664b
mov ebx, 0xe746243f
mov bx, word [esp]
jmp 0x93666b
mov al, byte [esp]
mov dl, bh
jmp 0x936436
xchg dword [esp], ebp
mov ax, 0x2930
mov eax, ebp
xchg dh, bl
call fcn.00936603
out dx, al
jae 0x9365af
xchg byte [ebp - 0x7f], dh
hlt
rdtsc
sub esp, 1
mov bl, byte [esp]
mov byte [esp], bl
lea esp, [esp + 1]
jmp 0x9365b9
mov ebx, 0xe746243f
call fcn.009365dc
or eax, ebp
jmp 0x9366af
lea esp, [esp + 0x24]
neg esi
mov eax, edx
mov ax, word [esp]
call 0x936655
inc ebp
ret 0x3750
xchg ah, dh
lea esp, [esp + 2]
jmp 0x9366e8
je 0x9366da
lea edx, [esi + esi]
push word [esp + 3]
jmp 0x936699
mov ax, word [esp]
mov dh, dl
bsr ax, dx
jge 0x93670a
mov ax, word [esp]
bt edx, eax
jmp 0x936710
lea edx, [esi + esi]
push word [esp + 3]
xchg ah, dh
lea esp, [esp + 2]
lea esp, [esp + 4]
add esi, 0x2a2bba19
jmp 0x9366bb
bt edx, eax
jmp 0x936710
mov ax, word [esp]
jmp 0x9366f4
inc esi
lea edx, [esi*4]
mov ax, word [esp]
mov bl, 0x6d
mov dl, byte [esp]
jmp 0x936757
jmp 0x936783
add esi, dword [ebp]
mov eax, edi
pushfd
push dword [esp + 1]
jno 0x936739
rdtsc
jmp 0x93673b
rdtsc
jmp 0x93673b
Function at 0x9382ac
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg ah, al
mov eax, 0x814f85d6
push dword [esp + 3]
jno 0x9382c4
xchg byte [esp + 2], dl
xchg word [esp + 1], ax
jmp 0x9382e0
jmp 0x938287
xchg word [esp + 1], ax
jmp 0x9382e0
xchg byte [esp + 2], dl
jmp 0x9382ae
xchg al, dh
setp al
not al
mov dh, dl
neg dl
not dx
jmp 0x93831d
lea esp, [esp + 8]
sub bl, 0x90
stc
jl 0x9382ca
jge 0x93836b
mov al, byte [0x23d0b121]
shl edx, cl
invalid
inc bl
sub esp, 7
jno 0x93834f
xchg dword [esp], edx
lea esp, [esp + 2]
pop dx
jmp 0x938354
mov dh, dl
neg dl
jmp 0x9382d5
lea esp, [esp + 2]
pop dx
mov edx, 0x49bf22cc
push dx
mov eax, ecx
jmp 0x9383cc
xchg dword [esp], edx
jmp 0x938339
mov edx, 0x49bf22cc
push dx
jmp 0x938346
xchg al, dh
setp al
not al
jmp 0x938333
mov byte [esp + 5], dl
pop dword [esp + 2]
pop word [esp + 3]
jmp 0x9383de
mov edx, dword [esp]
lea edx, reloc.kernel32.dll_DeleteCriticalSection
mov dx, word [esp]
sub esp, 0x12
je 0x938374
jne 0x9383a6
jne 0x938397
add dh, cl
js 0x93840f
test dword [eax - reloc.kernel32.dll_DeleteCriticalSection], ecx
inc esp
and al, 2
mov byte [esp + 5], dl
pop dword [esp + 2]
pop word [esp + 3]
jmp 0x9383de
jmp 0x9386ab
mov eax, edx
lea esp, [esp + 1]
lea esp, [esp + 4]
sub bl, 0xb9
mov al, byte [esp]
jmp 0x93838a
rol bl, 0
rdtsc
lea edx, reloc.kernel32.dll_DeleteCriticalSection
ror eax, cl
jns 0x9383b5
xchg dl, ah
mov eax, edi
push edi
jmp 0x938541
ror bl, 0
mov ax, word [esp]
not dx
mov edx, ebx
jmp 0x9384bf
xchg dl, ah
mov eax, edi
push edi
jmp 0x938541
Function at 0x94b0d4
Capabilities:
Execute anti-debugging instructions

Disassembly:
push word [esp + 3]
mov dword [esp], edx
lea esp, [esp + 2]
jmp 0x94b25b
lea edi, [edi + 0x17]
xchg dword [esp + 8], edi
call fcn.0094b149
jp fcn.0094b245
jnp fcn.0094b245
fcomp qword [esi - 0x34]
stosd dword es:[edi], eax
xchg byte [esi], ch
mov bl, 0x23
inc esi
mov ch, 0x41
and dword ss:[eax - 0x5d], esp
fidiv dword [reloc.kernel32.dll_DeleteCriticalSection]
add byte [eax], al
mov ebp, esp
mov ah, 0xaa
mov cl, 0xf2
inc al
jmp 0x94b267

Function at 0x951bed
Capabilities:
Encode data using xor

Disassembly:
push 0
pushfd
pushal
jmp 0x951148
mov edi, dword [esp]
popal
call fcn.0095112e
call 0x951156
jmp 0x951b98
mov dword [esp + 0x24], eax
jmp 0x951a82
call 0x9511cd
jmp 0x951bbd
popal
jmp 0x951aba
inc dword [esp + 8]
call fcn.00951aa4
mov esi, ecx
lea esi, reloc.kernel32.dll_DeleteCriticalSection
mov dword [esi], eax
pop esi
jmp 0x951b2f
push ecx
jmp 0x951b4c
mov ecx, eax
movzx ebx, byte [ecx]
pop ecx
jmp 0x951b75
add ebx, 0xfdd91518
cmp ebx, 0xfdd915e4
je 0x951bdf
jne 0x951174
sub dword [ebp + reloc.kernel32.dll_DeleteCriticalSection], ebp
cmp dword [esi + reloc.kernel32.dll_DeleteCriticalSection], edi
setbe byte [ecx]
pop ecx
sub ecx, 0x1001732a
push esi
jmp 0x951ae7
jmp 0x951c72
pop eax
sub eax, 0xb6632b7b
jmp 0x951bdb
jne 0x951ba5
pushal
jmp 0x9511c8
call 0x951bed
dec ebx
inc ebp
add byte [ebx + 0x45], cl
push edx
dec esi
inc ebp
dec esp
xor esi, dword [edx]
insb byte es:[edi], dx
insb byte es:[edi], dx
add bl, ch
das
stc
jge 0x951bdf
je 0x951b7b
imul ecx, esp, 0x5f
cmpsb byte [esi], byte es:[edi]
rcl dword [eax - 0x2d]
push 0
pushfd
cmp dword [esp + 4], 0
jmp 0x951bd3
inc dword [esp + 8]
popfd
ret

Function at 0x972e90
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov edi, dword [edi*4 + reloc.kernel32.dll_DeleteCriticalSection]
cmc
jmp 0x972e72
mov edi, dword [edi*4 + reloc.kernel32.dll_DeleteCriticalSection]
cmc
push ecx
and edi, ecx
jmp 0x972e4f
and ebx, ecx
pushfd
push dword [esp + 3]
mov dword [esp], ebx
jmp 0x972eff
sub esp, 6
pop dword [esp]
lea esp, [esp + 2]
jmp 0x972e65
mov ebx, dword [ebx*4 + reloc.kernel32.dll_DeleteCriticalSection]
jmp 0x972ed4
sub esp, 0xf
clc
stc
pop word [esp + 8]
lea esp, [esp + 1]
jmp 0x972e9c
mov eax, esi
add eax, 0xa
movzx ebx, byte [eax]
pop eax
jmp 0x972eb2
and ebx, ecx
pushal
lea esp, [esp + 0x2c]
xor edi, dword [ebx*4 + reloc.kernel32.dll_DeleteCriticalSection]
jmp 0x972ee8
mov bx, 0x6bd
jmp 0x972f41
lea esp, [esp + 0x30]
xor edi, dword [ebx*4 + reloc.kernel32.dll_DeleteCriticalSection]
cmp bx, 0xf3c8
push eax
jmp 0x972ec9
and edx, ecx
call fcn.00972f64
jp 0x972f1a
jmp [edi + 0xa]
outsd dx, dword [esi]
or bh, cl
cmc
push eax
rol byte [esi + 0x21], 1
shl byte [eax], 1
int 0x5c
scasd eax, dword es:[edi]
and edx, ecx
mov edx, dword [edx*4 + reloc.kernel32.dll_DeleteCriticalSection]
jmp 0x972f12
movzx ebx, byte [esi + 0xd]
stc
push di
lea esp, [esp + 2]
jmp 0x972f28
Function at 0x972f64
Capabilities:
Encrypt data using aes

Disassembly:
mov edx, dword [esi + 0xc]
jmp 0x97300f
lea esp, [esp + 4]
xor edi, dword [edx*4 + reloc.kernel32.dll_DeleteCriticalSection]
mov edx, 0x8128d2b8
jmp 0x972f4e
and edi, ecx
jmp 0x972fb6
lea esp, [esp + 1]
shr edi, 0x18
mov edi, dword [edi*4 + reloc.kernel32.dll_DeleteCriticalSection]
cmc
jmp 0x972f8f
mov edi, dword [edi*4 + reloc.kernel32.dll_DeleteCriticalSection]
sub esp, 6
push word [esp]
jmp 0x972fe8
mov di, 0x6c95
bswap edi
bsf di, cx
mov edi, edx
sub esp, 0x15
jmp 0x972fa5
and ebx, ecx
lea esp, [esp + 0x1c]
xor edi, dword [ebx*4 + reloc.kernel32.dll_DeleteCriticalSection]
inc bx
call fcn.0097303b
jb 0x972fee
add ax, si
adc byte [ebp + ebp*8 + 0x7d], ch
add al, 0xf7
pop es
jle 0x973008
insb byte es:[edi], dx
or eax, dword [esi]
test byte [edi - 0x77], 0x7e
or byte [esi - 0x75], ah
cmp al, 0x24
mov dword [esi + 8], edi
mov di, word [esp]
mov ebx, dword [ebx*4 + reloc.kernel32.dll_DeleteCriticalSection]
lea edi, reloc.kernel32.dll_DeleteCriticalSection
jmp 0x972fd7

Function at 0x97303b
Capabilities:
Encrypt data using aes

Disassembly:
push ecx
jmp 0x973053
jmp 0x973025
sub esp, 0xe
lea esp, [esp + 2]
jmp 0x97305e
mov ecx, esi
add ecx, 0xe
movzx ebx, byte [ecx]
pop ecx
jmp 0x97303d
mov ebx, dword [ebx*4 + reloc.kernel32.dll_DeleteCriticalSection]
sub esp, 0xc
pop dword [esp + 1]
jmp 0x973189
and edx, ecx

Function at 0x97308a
Capabilities:
Encrypt data using aes

Disassembly:
call fcn.0097312f
and edx, ecx
xor edi, dword [edx*4 + reloc.kernel32.dll_DeleteCriticalSection]
jmp 0x9730db
dec dword [ebp - 4]
mov dword [esi + 0xc], edi
jne 0x93ab48
je 0x93aaae

Function at 0x97312f
Capabilities:
Encrypt data using aes

Disassembly:
add esp, 7
lea esp, [esp + 1]
jmp 0x97308f

Function at 0x974591
Capabilities:
Encode data using xor

Disassembly:
movzx ecx, word [esi]
setae al
jmp 0x9749cf
lea esp, [esp + 0x1c]
lea esp, [esp + 3]
sub eax, edi
push di
lea esp, [esp + 2]
jmp 0x97479c
movzx eax, word [edx]
lea esp, [esp + 4]
movzx edi, cx
sub esp, 0x1f
jmp 0x9748b8

Function at 0x9751d3
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax + 8], reloc.kernel32.dll_DeleteCriticalSection
jmp 0x9751f6
lea esp, [esp + 2]
lea esp, [esp + 4]
and dword [eax], 0
jmp 0x97519d
lea esp, [esp + 4]
and dword [eax + 4], 0
sub esp, 6
jmp 0x9751b3
mov dword [eax + 0xc], reloc.kernel32.dll_DeleteCriticalSection
call fcn.009751e0
mov dword [eax + 0x10], reloc.kernel32.dll_DeleteCriticalSection
pushfd
lea esp, [esp + 4]
mov dword [eax + 0x14], 0x10325476
ret

Function at 0xa2d5e2
Capabilities:
Parse pe header

Disassembly:
push di
pop word [esp + 4]
jmp 0xa2d645
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0xa2d60a
pop word [esp]
mov byte [esp + 3], al
mov dword [esp + 4], edi
lea esp, [esp + 4]
mov eax, dword fs:[0x30]
jmp 0xa2d620
Function at 0xa2d6ed
Capabilities:
Parse pe header

Disassembly:
call int.00a2c3e2
lea esp, [esp + 2]
mov dword [esp], esi
pushfd
push word [esp + 2]
call fcn.00a2d5e2
mov eax, dword [eax + 8]
jmp 0xa2d62a
pushfd
push word [esp + 2]
lea esp, [esp + 2]
mov dword [esp], eax
jmp 0xa2c3dd
mov dword [esp + 4], esp
push si
push ecx
lea esp, [esp + 2]
mov dword [esp + 4], ebp
push sp
jmp 0xa2d5f8
mov byte [esp + 3], ch
mov word [esp + 4], si
jmp 0xa2d69f

Function at 0x432930
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x22000]
push edi
jmp 0x43294a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x432951
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x432940
mov eax, 1
add ebx, ebx
jne 0x432963
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x432958
jne 0x432974
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x432958
xor ecx, ecx
sub eax, 3
jb 0x432988
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4329fa
mov ebp, eax
add ebx, ebx
jne 0x432993
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4329a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4329c4
inc ecx
add ebx, ebx
jne 0x4329b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4329a5
jne 0x4329c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4329a5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4329e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4329d5
jmp 0x432946
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4329e4
add edi, ecx
jmp 0x432946
pop esi
mov edi, esi
mov ecx, 0xa57
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x432a02
cmp byte [edi], 0x12
jne 0x432a02
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 0x432a07
lea edi, [esi + 0x30000]
mov eax, dword [edi]
or eax, eax
je 0x432a7f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3ffd8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x400b8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x432a34
mov ecx, edi
jns 0x432a63
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 + 0x400c0]
or eax, eax
je 0x432a79
mov dword [ebx], eax
add ebx, 4
jmp 0x432a51
call dword [esi + 0x400bc]
mov ebp, dword [esi + 0x400c4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
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 0x432ab3
sub esp, 0xffffff80
jmp 0x41942f
Function at 0x6e0370
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 0x6e038e
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 0x709074
push ecx
mov edi, eax
call fcn.006f4198
mov esi, eax
add esp, 8
test esi, esi
jne 0x6e03cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.006f402e
push esi
call fcn.006f3fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x6e3850
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 0x6e38ae
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 0x70e720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x6e38ba
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.006f41e1
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 0x6e38ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x70e720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x6e392a
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.006f5082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x6e3957
mov word [eax], si
add eax, 2
push eax
call fcn.006f5030
add esp, 4
jmp 0x6e3959
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 0x6e38ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x6e38b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x6e3ff0
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 0x6e4080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x6e40c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x709458
push ecx
call fcn.006f41e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.006f41e1
add esp, 0x10
jmp 0x6e40d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.006f420b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.006f3dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.006e4050
mov eax, dword [0x70e728]
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 0x6e413b
push esi
call fcn.006e3fb0
add esp, 4
mov dword [0x70e728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x6e414c
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.006e3ff0
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 0x6e7440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x6e74b7
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 0x6e748e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x6e7471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x6e747e
add edx, ecx
cmp ebx, edx
jb 0x6e748a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x6e7467
xor ecx, ecx
jmp 0x6e74a2
test eax, eax
jne 0x6e7492
xor ecx, ecx
jmp 0x6e74a2
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.006e73c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x6e78f0
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 0x6e7921
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 0x6e7946
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 0x6e796e
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 0x6e7993
push ecx
push esi
call fcn.006e74c0
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