joyce8/EMBER2024-capa huggingface dataset:
Function at 0x492500
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x591894]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4925fa
sub esp, 0x20
mov ecx, dword [esp + 0x24]
test byte [ecx], al
mov edx, dword [esp + 0x28]
mov ebx, edx
and edx, 0x7f
shl edx, 5
add ecx, edx
mov dword [esp + 0x1c], ecx
xor eax, eax
jmp 0x492540
mov ebp, dword [esp + 0x14]
inc ebp
mov ecx, dword [esp + 0x1c]
mov ebx, eax
mov eax, ebp
cmp eax, 4
jge 0x492579
mov dword [esp + 0x14], eax
lea edx, [ecx + eax*8]
mov dword [esp], edx
call sym.sync_atomic.LoadUint64
mov eax, dword [esp + 0x28]
cmp dword [esp + 4], eax
sete cl
mov edx, dword [esp + 0x2c]
cmp dword [esp + 8], edx
sete bl
and ebx, ecx
test bl, bl
je 0x492533
mov byte [esp + 0x30], 1
add esp, 0x20
ret
xor eax, eax
mov edx, 0x84222325
jmp 0x492583
inc eax
cmp eax, 4
jge 0x492599
mov dword [esp + 0x18], eax
lea ebp, [ecx + eax*8]
mov esi, dword [ebp]
mov ebp, dword [ebp + 4]
xor edi, edi
jmp 0x4925f3
and edx, 3
lea eax, [ecx + edx*8]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
call sym.sync_atomic.StoreUint64
mov byte [esp + 0x30], 0
add esp, 0x20
ret
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
and esi, 0xff
xor edx, esi
mov esi, dword [esp + 0xc]
shr esi, 8
shl ebp, 0x18
mov eax, edx
mov ebx, 0x1b3
mul ebx
inc edi
or esi, ebp
mov ebp, dword [esp + 0x10]
shr ebp, 8
mov ebx, dword [esp + 0x28]
mov edx, eax
mov eax, dword [esp + 0x18]
cmp edi, 8
jl 0x4925bc
jmp 0x492582
call sym.runtime.morestack_noctxt
jmp sym.internal_bisect._dedup_.seenLossy
Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0xbd6578
Capabilities:
Execute anti-debugging instructions

Disassembly:
push eax
push edx
push eax
push edx
jno 0xbd6582
rdtsc
jne 0xbd658a
pop edx
pop eax
rdtsc
pushal
push ebx
pop ebx
pushal
popal
popal
pop edx
pop eax
push eax
push eax
push edx
pushal
push eax
push edx
rdtsc
pop edx
pop eax
jmp 0xbd65af
popal
rdtsc
jmp 0xbd65cb
pop edx
pop eax
mov eax, dword [esp + 4]
pushal
jl 0xbd65de
jns 0xbd65de
push eax
push edx
push eax
push edx
rdtsc
pop edx
pop eax
rdtsc
jmp 0xbd65f5
pop edx
pop eax
popal
mov eax, dword [eax]
jmp 0xbd660d
mov dword [esp + 4], eax
pushal
pushal
jmp 0xbd662b
jno 0xbd6631
popal
jmp 0xbd6646
popal
pop eax
clc
push dword [ebp + 0x122d06d1]
cmc
lea eax, [ebp + 0x12478d27]
jmp 0xbd6660
call eax
jo 0xbd666f
pushal
movzx esi, bx
push esi
pop ecx
popal
mov dword [ebp + 0x124636fb], eax
push 0
push edi
call 0xbd6680
and byte [edi - 0x3d], bl
pop edi
mov dword [esp + 4], edi
add dword [esp + 4], 0x1b
inc edi
push edi
ret
Function at 0x5a9580
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7c000]
push edi
jmp 0x5a959a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5a95a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5a9590
mov eax, 1
add ebx, ebx
jne 0x5a95b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5a95c4
jne 0x5a95e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5a95e3
dec eax
add ebx, ebx
jne 0x5a95d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5a95a8
add ebx, ebx
jne 0x5a95df
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5a9635
xor ecx, ecx
sub eax, 3
jb 0x5a95fb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5a966a
sar eax, 1
mov ebp, eax
jmp 0x5a9606
add ebx, ebx
jne 0x5a9606
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5a95d4
inc ecx
add ebx, ebx
jne 0x5a9614
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5a95d4
add ebx, ebx
jne 0x5a9621
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5a9616
jne 0x5a9632
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5a9616
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5a9654
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5a9646
jmp 0x5a9596
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5a9654
add edi, ecx
jmp 0x5a9596
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5a9672
cmp byte [edi], 0x11
jne 0x5a9672
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 0x5a9677
lea edi, [esi + 0x198000]
mov eax, dword [edi]
or eax, eax
je 0x5a96ef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1af590]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1af70c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5a96a4
mov ecx, edi
jns 0x5a96d3
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 + 0x1af710]
or eax, eax
je 0x5a96e9
mov dword [ebx], eax
add ebx, 4
jmp 0x5a96c1
call dword [esi + 0x1af720]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5a9720
cmp al, 0xef
ja 0x5a9713
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5a96f5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5a9702
mov ebp, dword [esi + 0x1af714]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x5a9754
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x401e40
Capabilities:
Encode data using xor
Terminate process

Disassembly:
call fcn.00403f60
xor dword [ebx], 4
ret
push ebp
test al, 0xec
sub esp, 0x78
push esi
mov esi, dword [ebp + 0xc]
out 0x8d, eax
inc ebp
mov byte [edx - 3], ch
push eax
push esi
outsb dx, byte [esi]
mov dword [eax], ebp
add byte [ebx - 0x2d74f7b3], cl
enter 0x40c0, 0
in al, dx
ror al, cl
rol byte [eax], 0xec
push ecx
add edx, 0x73
push str._s:__s___d__n
xor al, bl
adc eax, sym.imp.MSVCRT.dll_fprintf
mov eax, dword [0x1c3eac]
xlatb
les edi, [ebx - 0xc]
sal byte [ebx + ebx + 0x50], 0x68
push esp
rol byte [eax], cl
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 8
push esi
call dword [sym.imp.MSVCRT.dll_exit]
pop esi
nop
inc eax
add byte [esi - 0x70], bl
xor al, 0x35
nop
jo 0x401e2a
nop
fcomp qword [ebx + eax*8 - 0x74aa8470]
push ebp
mov ebp, esp
mov word [eax + 0x14], es
push ebx
pop ss
mov esi, dword [ebp + 8]
mov ah, 0x8b
inc esi
adc al, 0x89
inc ebp
or al, ch
dec ecx
dec ebx
or byte [eax], al
mov dword [0xa6410ba0], eax
dec ecx
adc eax, 0x41c4a4
mov ebx, eax
mov eax, ebp
adc al, 0x85
mov edi, edx
jne 0x401e5b
mov ecx, dword [esi + 0x65]
push 0xffffffffffffffe2
dec esi
sbb al, 0x51
call fcn.00408bf3
mov dword [esi + 0x8dd], ebx
mov dword [ecx + 0x3c], esi
sti
add byte [0x1846c7], ah
add byte [eax], al
cmp cl, byte [ebx + 0x7617ec68]
add byte [ecx + 0x60a1e8cf], cl
add al, byte [ecx]
jge 0x401e91
je 0x401f3a
mov eax, dword [0xf80269]
mov ecx, edx
add ebp, ebx
mov dword [esi - 0x24], ecx
jmp 0x401f3a
mov edx, dword [ebx]
sbb byte [ebx + 0x4048301d], cl
xor byte [eax + 0x40], cl
scasd eax, dword es:[edi]
out dx, eax
inc esi
mov byte [ebp - 0x2cfcf7b3], cl
push ecx
push edx
push eax
adc al, 0x6d
imul eax, dword [eax], 0
xchg esp, eax
sal byte [ebx + esi - 0x7d], 0xf8
or esi, dword [esi + ebp + 0x3d]
push 0x7400abfd
daa
cmp eax, 0xa531d
je 0x401f3f
cmp eax, 0xafdd7
je 0x401f8a
cmp eax, 0xafd25
je 0x401fd5
inc esp
mov eax, dword [0x74000afc]
or esp, dword [ebx + esi*4]
lodsb al, byte [esi]
pop edx
sbb cl, byte [edi]
test dword [esi - 0x74fff900], esp
push esi
or byte [ebx + 0x41a4a01d], cl
add byte [ebx + 0x4102a43d], cl
add byte [ebx], al
fadd dword [ebx + 0x1dac00d7]
mov al, byte [0x890041e7]
cmp eax, 0x4102a4
mov edx, dword [esi + 8]
mov ebx, dword [0x41a4a0]
mov edi, dword [0x4102a4]
add ebx, eax
adc edi, 0
lodsb al, byte [esi]
sbb eax, 0x41e7a0
mov dword [0x4102a4], edi
mov esp, dword [edx + 0x144e8b18]
add edx, eax
das
enter 0x5689, 0x18
jg 0x402007
adc al, 0xf
test dword [edx - 2], esi
invalid
adc al, 0
mov edx, dword [esi + 4]
mov dword [esi - 0x53fff7c0], eax
mov ecx, dword [0x2e0ba4]
mov eax, 0x1a670001
mov dword [ebp - 0x1e], eax
mov word [ebp - 0xc], ax
mov dword [esi + 0x844], ecx
mov ecx, dword [0x794117f8]
lea eax, [ebp - 0x24]
invalid
jne 0x402037
iretd
mov esp, 0x430040c3
mov dword [0xaf02bc], ebx
call dword [0xf0400864]
xlatb
call fcn.00403a90
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408db0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x408cd9
cld
nop
jmp 0x408ce8
call fcn.00408fcb
jmp 0x408cfe
nop
pushal
mov ebp, esp
xor edx, edx
nop
mov edx, dword fs:[edx + 0x30]
nop
mov edx, dword [edx + 0xc]
jmp 0x408d18
mov edx, dword [edx + 0x14]
jmp 0x408d2c
nop
jmp 0x408d37
mov esi, dword [edx + 0x28]
nop
movzx ecx, word [edx + 0x26]
nop
xor edi, edi
nop
xor eax, eax
lodsb al, byte [esi]
jmp 0x408d52
cmp al, 0x61
nop
jl 0x408d6a
nop
sub al, 0x20
jmp 0x408d6a
jmp 0x408d77
ror edi, 0xd
add edi, eax
nop
jmp 0x408d89
dec ecx
nop
jne 0x408d42
jmp 0x408d9e
push edx
nop
push edi
nop
jmp 0x408dac
mov edx, dword [edx + 0x10]
mov eax, dword [edx + 0x3c]
inc edx
cmp al, 0x90
jmp 0x408dc1
add eax, edx
nop
jmp 0x408dd1
mov eax, dword [eax + 0x78]
nop
jmp 0x408de2
test eax, eax
nop
je 0x408f85
nop
add eax, edx
jmp 0x408dfa
push eax
nop
mov ecx, dword [eax + 0x18]
nop
mov ebx, dword [eax + 0x20]
nop
add ebx, edx
nop
jmp 0x408e13
jmp 0x408e20
test ecx, ecx
je 0x408f83
dec ecx
nop
mov esi, dword [ebx + ecx*4]
add esi, edx
nop
jmp 0x408e3b
xor edi, edi
nop
jmp 0x408e4f
xor eax, eax
nop
lodsb al, byte [esi]
ror edi, 0xd
nop
jmp 0x408e67
add edi, eax
jmp 0x408e75
cmp al, ah
jmp 0x408e83
jne 0x408e4f
jmp 0x408e98
add edi, dword [ebp - 8]
nop
jmp 0x408eaa
cmp edi, dword [ebp + 0x24]
jmp 0x408ebd
jne 0x408e13
jmp 0x408ecf
pop eax
jmp 0x408edf
mov ebx, dword [eax + 0x24]
nop
add ebx, edx
mov cx, word [ebx + ecx*2]
nop
jmp 0x408ef9
mov ebx, dword [eax + 0x1c]
add ebx, edx
nop
jmp 0x408f12
mov eax, dword [ebx + ecx*4]
add eax, edx
nop
jmp 0x408f29
mov dword [esp + 0x24], eax
pop ebx
nop
pop ebx
jmp 0x408f3e
popal
jmp 0x408f4c
pop ecx
nop
jmp 0x408f5c
pop edx
nop
push ecx
jmp 0x408f70
jmp eax
pop eax
nop
pop edi
nop
jmp 0x408f98
pop edx
nop
jmp 0x408fae
mov edx, dword [edx]
nop
jmp 0x408fc5
jmp 0x408d2c
xchg ecx, eax
das
salc
xchg ecx, eax
daa
cdq
cdq
std
daa
cwde
inc eax
inc edx
aas
std
xchg ecx, eax
aaa
salc
aaa
salc
inc eax
das
salc
nop
aaa
nop
cwde
inc edx
xchg edx, eax
xchg edx, eax
salc
daa
dec ebx
dec eax
aas
salc
clc
das
das
stc
nop
cwde
aas
dec ebx
inc eax
clc
inc ecx
inc eax
salc
daa
inc ebx
clc
inc edx
cmc
stc
lahf
dec ecx
clc
lahf
das
das
clc
das
clc
aas
aas
inc ebx
clc
dec ecx
daa
dec eax
cwde
inc edx
cld
cld
daa
cld
xchg ecx, eax
daa
das
cdq
nop
nop
inc edx
stc
dec ebx
dec ecx
inc ebx
stc
jmp 0x408ccd
Function at 0x40664b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push 0x20019
push edi
movzx eax, cl
mov esi, edx
push 0x405aa0
sub eax, 0x7fffffff
mov dword [ebp - 4], edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x406688
jle 0x4066e5
movzx eax, ax
or eax, 0x80070000
jmp 0x4066e5
or dword [ebp - 0x10], 0xffffffff
mov ecx, esi
push 0x32
pop eax
push eax
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], esi
call fcn.00406a46
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x14], eax
push ecx
push eax
lea eax, [ebp - 8]
push eax
push edi
push 0x405a88
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.00406a20
test esi, esi
je 0x4066d8
jle 0x4066d4
movzx esi, si
or esi, 0x80070000
mov eax, esi
jmp 0x4066e5
mov eax, dword [ebp - 8]
dec eax
neg eax
sbb eax, eax
and eax, 0x8000ffff
pop edi
pop esi
leave
ret

Function at 0x406898
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0x405a6c
push 0x4059f4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4068bf
push 0x800
call eax
call fcn.004064af
mov byte [ebp - 1], al
call fcn.004062aa
mov ecx, eax
test ecx, ecx
je 0x40694f
mov eax, dword [ecx]
push esi
push edi
call dword [eax + 0xc]
mov dl, byte [ebp - 1]
add eax, 0x10
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.004066e9
mov esi, eax
pop ecx
test esi, esi
js 0x40693f
push 0
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x406911
call fcn.0040644c
mov esi, eax
jmp 0x40693f
push 0x405a90
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x406933
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call esi
mov esi, eax
jmp 0x406938
mov esi, 0x80004005
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 8]
call fcn.00406baa
pop edi
mov eax, esi
pop esi
leave
ret 0x10
push 0x80004005
call fcn.00406105
int3
Function at 0x4cec74
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4ced12
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x34]
add eax, 8
call fcn.00404cd4
mov eax, dword [ebx + 0x34]
add eax, 0xc
call fcn.00404cd4
mov eax, dword [ebx + 0x34]
add eax, 0x1c
call fcn.00404cd4
mov eax, dword [ebx + 0x34]
add eax, 0x20
call fcn.00404cd4
mov eax, dword [ebx + 0x34]
add eax, 0x18
call fcn.00404cd4
mov eax, dword [ebx + 0x34]
add eax, 0x24
call fcn.00404cd4
mov eax, dword [ebx + 0x34]
add eax, 0x28
call fcn.00404cd4
mov eax, dword [ebx + 0x34]
add eax, 0x30
call fcn.00404cd4
mov eax, dword [ebx + 0x34]
add eax, 0x34
call fcn.00404cd4
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + 0x10]
call fcn.004650f8
mov eax, dword [ebx + 0x1c]
call fcn.004650f8
mov eax, dword [ebx + 0x20]
call fcn.004650f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ced1c
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4d1450
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
xor edx, edx
push ebp
push 0x4d15a8
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebx + 0x64], 0
mov byte [ebx + 0x70], 0
mov eax, dword [ebx + 0x44]
add eax, 0x18
mov edx, dword [0x4e364c]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x44]
add eax, 0x1c
mov edx, dword [0x4e3a98]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x44]
mov byte [eax + 8], 1
mov byte [eax + 0x20], 4
mov dword [eax + 0x28], 8
mov dword [eax + 0x2c], 7
mov dword [eax + 0x34], 3
mov byte [eax + 9], 1
mov dword [eax + 0x30], 1
mov byte [eax + 0xa], 1
mov byte [eax + 0x21], 2
mov eax, dword [ebx + 0x34]
mov byte [eax + 4], 0
mov dword [eax + 0x38], 6
mov eax, dword [ebx + 0x3c]
add eax, 4
mov edx, dword [0x4e3b54]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x3c]
add eax, 8
mov edx, dword [0x4e38d8]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x3c]
add eax, 0xc
mov edx, dword [0x4e37f4]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x3c]
add eax, 0x10
mov edx, dword [0x4e3c2c]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 4
mov edx, dword [0x4e37a8]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 8
mov edx, dword [0x4e36bc]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 0xc
mov edx, dword [0x4e386c]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 0x1c
mov edx, dword [0x4e38b0]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 0x24
mov edx, dword [0x4e38e8]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 0x28
mov edx, dword [0x4e38a4]
mov edx, dword [edx]
call fcn.00404d28
mov dword [ebx + 0x54], ebx
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov dword [ebx + 0x50], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d15b2
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0xecf370
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 0xecf38e
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 0xef8074
push ecx
mov edi, eax
call fcn.00ee3198
mov esi, eax
add esp, 8
test esi, esi
jne 0xecf3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00ee302e
push esi
call fcn.00ee2fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xed2850
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 0xed28ae
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 0xefd720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xed28ba
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.00ee31e1
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 0xed28ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xefd720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xed292a
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.00ee4082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xed2957
mov word [eax], si
add eax, 2
push eax
call fcn.00ee4030
add esp, 4
jmp 0xed2959
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 0xed28ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xed28b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

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

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xed30c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xef8458
push ecx
call fcn.00ee31e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00ee31e1
add esp, 0x10
jmp 0xed30d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00ee320b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00ee2dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00ed3050
mov eax, dword [0xefd728]
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 0xed313b
push esi
call fcn.00ed2fb0
add esp, 4
mov dword [0xefd728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xed314c
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.00ed2ff0
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 0xed6440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xed64b7
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 0xed648e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xed6471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xed647e
add edx, ecx
cmp ebx, edx
jb 0xed648a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xed6467
xor ecx, ecx
jmp 0xed64a2
test eax, eax
jne 0xed6492
xor ecx, ecx
jmp 0xed64a2
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.00ed63c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0xed68f0
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 0xed6921
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 0xed6946
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 0xed696e
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 0xed6993
push ecx
push esi
call fcn.00ed64c0
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