joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007e0e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [0x1006d028], 0x1e02
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.1000911c
lea ecx, [0x10007f4e]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x30], edx
mov dword [0x1006d028], 0x3f2
mov dword [esp + 0x4c], 0x117600
mov edx, dword [0x1006d014]
mov dword [esp + 0x48], edx
mov edx, dword [0x1006d018]
mov dword [esp + 0x5c], edx
mov edx, dword [0x1006d01c]
mov dword [esp + 0x54], edx
mov edx, dword [0x1006d020]
mov dword [esp + 0x70], edx
mov edx, dword [0x1006d024]
mov dword [esp + 0x38], edx
mov dword [0x1006d02c], 0xffffe050
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x10007ec0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x10007ede
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [0x1006d028], 0x18db
mov dword [esp + 0x14], eax
jmp 0x10007e9d
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x44], ecx
mov dword [0x1006d02c], 0x983
mov dword [0x1006d028], 0x297
mov edx, dword [esp + 0xc]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x7c], esi
mov esi, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.10008fac
mov dword [0x1006d02c], 0x8f1
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov ecx, dword [0x1006d02c]
add ecx, 0xffffde88
mov dword [0x1006d028], ecx
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x10008611
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x1006d034], 0
mov byte [0x1006d038], 0
mov esi, dword [0x1006d02c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffff865
mov dword [0x1006d02c], ecx
mov dword [0x1006d030], 0
mov dword [ebp - 0x20], eax
jmp 0x1000875f
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov edx, 0x100
add eax, 0xfffffb22
mov dword [0x1006d02c], eax
mov eax, dword [0x1006d034]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + ecx]
add edi, eax
mov eax, ecx
xor ebx, ebx
mov dword [ebp - 0x2c], edx
mov edx, ebx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov eax, edi
cdq
mov edi, dword [ebp - 0x2c]
idiv edi
mov dword [0x1006d034], edx
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov byte [0x1006d038], bl
mov dword [0x1006d02c], 0xc06
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x1006d038]
mov ecx, dword [0x1006d034]
mov byte [esi + ecx], bl
mov ecx, dword [0x1006d028]
add ecx, 0x2167
mov dword [0x1006d028], ecx
mov ecx, dword [0x1006d030]
add ecx, 1
mov dword [0x1006d030], ecx
mov edx, dword [0x1006d02c]
cmp ecx, 0x100
mov esi, edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x28], ecx
jl 0x10008669
jmp 0x1000874a
xor eax, eax
mov ecx, dword [0x1006d02c]
mov edx, ecx
add edx, 0x155b
mov dword [0x1006d028], edx
mov dword [0x1006d030], 0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
jmp 0x10008669
mov eax, dword [ebp - 0x30]
add eax, 0x459
mov dword [0x1006d02c], eax
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov dword [0x1006d02c], 0xca1
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1006d030]
add eax, 1
mov dword [0x1006d030], eax
cmp eax, 0x100
mov dword [ebp - 0x20], eax
jl 0x1000875f
jmp 0x1000871f
Function at 0x1000879e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x1006d02c], 0x1e81
mov dword [0x1006d030], 0
mov dword [0x1006d034], 0
mov dword [0x1006d03c], 0
mov dword [0x1006d028], 0x26dd
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x10008917
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add edx, 1
mov edi, ecx
add edi, 1
mov dword [ebp - 0x2c], eax
mov eax, edx
cdq
idiv esi
mov dword [0x1006d030], edx
mov dword [0x1006d028], 0x4eb
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x2c]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x1006d034], edx
mov dword [0x1006d02c], 0xa9a
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x1006d038], cl
mov dword [0x1006d028], 0xffffe7ca
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov edx, dword [0x1006d02c]
add edx, 0xffffe4a8
mov dword [0x1006d028], edx
mov cl, byte [0x1006d038]
mov edx, dword [0x1006d034]
mov byte [ebx + edx], cl
mov dword [0x1006d02c], 0x1f7a
mov edx, dword [0x1006d030]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x1006d034]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x1006d03c], ecx
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov dl, byte [edx + esi]
xor dl, byte [ebx + ecx]
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + esi], dl
mov dword [0x1006d028], 0x1826
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x38], edi
je 0x10008917
mov eax, dword [0x1006d030]
mov ecx, dword [0x1006d034]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x1000880b
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10008a70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [0x1006d028], 0x12db
mov dword [ebp - 0x10], eax
call fcn.1000891f
xor ecx, ecx
mov edx, eax
mov dword [0x1006d02c], 0x983
mov esi, dword [eax + 0x3c]
mov dword [0x1006d028], 0x297
mov esi, dword [eax + esi + 0x78]
mov dword [0x1006d02c], 0x1bf3
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x1006d028], 0xfffffbb5
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x10008af3
jmp 0x10008afe
mov al, byte [ebp - 0x25]
test al, 1
jne 0x10008bbe
jmp 0x10008b91
mov eax, dword [ebp - 0x24]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x45], bh
mov byte [ebp - 0x25], cl
je 0x10008ae3
mov eax, dword [ebp - 0x44]
add eax, 1
mov cl, byte [ebp - 0x45]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x25]
and ch, dl
cmp eax, 0x20
setb dl
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x4d], ch
mov byte [ebp - 0x4e], dl
mov al, byte [ebp - 0x4d]
mov cl, byte [ebp - 0x4e]
and al, cl
test al, 1
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x40], edx
jne 0x10008b2a
jmp 0x10008ae3
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov edx, dword [ebp - 0x34]
add edx, 2
mov esi, dword [ebp - 0x18]
cmp ecx, esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jb 0x10008b10
jmp 0x10008af3
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov dword [0x1006d028], 0xd83
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x24], edi
jmp 0x10008af3
Function at 0x10008fac
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
xor eax, eax
mov dword [0x1006d02c], 0x1a92
mov dword [0x1006d028], 0x2534
mov dword [ebp - 0x30], eax
jmp 0x10009085
mov eax, dword [ebp - 0x34]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x1006d028], 0x1b3e
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.10008310
xor eax, eax
mov ecx, dword [ebp - 0x38]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x1006d028], 0x105c
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x20], ecx
mov ecx, dword [ebp - 0x38]
mov dword [edx + 0x10], ecx
mov dword [0x1006d02c], 0x1a71
add ecx, 0x26f0
mov esi, dword [ebp - 0x38]
cmp esi, 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
je 0x1000907c
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x1000aa8a]
mov dl, byte [eax + 0x1000aa5b]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x10009085
lea eax, [ebp - 0x24]
mov dword [0x1006d028], 0x18b3
mov dword [ebp - 0x44], eax
call fcn.10008d13
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
call fcn.10008e1e
mov ecx, dword [0x1006d02c]
add ecx, 0x65b
mov dword [0x1006d02c], ecx
cmp eax, 0
mov dword [ebp - 0x34], eax
jne 0x10008fdd
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x450012
Capabilities:
Encode data using xor

Disassembly:
push dword fs:[0]
mov dword fs:[0], esp
xor ebx, ebx
push ebx
push ebx
push 0x80000000
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [0x44ff28]
sub edi, edi
sub ecx, ecx
mov cl, 0xe5
inc edi
loop 0x45003a
call 0x450042
pop esi
sub esi, 0xffffffc2
push esi
sub ebx, ebx
or ebx, 0x2394
mov al, byte [esi]
xor ax, di
xchg byte [esi], al
inc esi
sub ebx, 1
cmp ebx, 0
ja 0x450052
pop esi
mov esp, dword fs:[0]
pop dword fs:[0]
pop edi
pop ebp
jmp esi

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x4021dd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x449570
cmp edx, dword [eax]
je 0x4021ff
add eax, 8
inc ecx
cmp eax, 0x449600
jl 0x4021f0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x449570]
jne 0x40232d
mov eax, dword [0x449928]
cmp eax, 1
je 0x402307
test eax, eax
jne 0x402230
cmp dword [0x4494c4], 1
je 0x402307
cmp edx, 0xfc
je 0x40232d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x402267
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00402790
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00402900
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4022aa
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402900
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x406340
push edi
call fcn.00403590
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00402790
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004027a0
lea eax, [ebp - 0xa0]
push 0x406320
push eax
call fcn.004027a0
push dword [esi + 0x449574]
lea eax, [ebp - 0xa0]
push eax
call fcn.004027a0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004034fe
add esp, 0x2c
pop edi
jmp 0x40232d
lea eax, [ebp + 8]
lea esi, [esi + 0x449574]
push 0
push eax
push dword [esi]
call fcn.00402900
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x65592162
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
mov ecx, 0x64a90f8a
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x30d733c8
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x592f7727
nop
nop
nop
nop
nop
test eax, eax
je 0x430084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0xd06370
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 0xd0638e
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 0xd2f074
push ecx
mov edi, eax
call fcn.00d1a198
mov esi, eax
add esp, 8
test esi, esi
jne 0xd063cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00d1a02e
push esi
call fcn.00d19fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xd09850
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 0xd098ae
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 0xd34720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xd098ba
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.00d1a1e1
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 0xd098ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xd34720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xd0992a
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.00d1b082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xd09957
mov word [eax], si
add eax, 2
push eax
call fcn.00d1b030
add esp, 4
jmp 0xd09959
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 0xd098ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xd098b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

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

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xd0a0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xd2f458
push ecx
call fcn.00d1a1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00d1a1e1
add esp, 0x10
jmp 0xd0a0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00d1a20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00d19dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00d0a050
mov eax, dword [0xd34728]
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 0xd0a13b
push esi
call fcn.00d09fb0
add esp, 4
mov dword [0xd34728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xd0a14c
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.00d09ff0
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 0xd0d440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xd0d4b7
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 0xd0d48e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xd0d471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xd0d47e
add edx, ecx
cmp ebx, edx
jb 0xd0d48a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xd0d467
xor ecx, ecx
jmp 0xd0d4a2
test eax, eax
jne 0xd0d492
xor ecx, ecx
jmp 0xd0d4a2
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.00d0d3c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0xd0d8f0
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 0xd0d921
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 0xd0d946
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 0xd0d96e
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 0xd0d993
push ecx
push esi
call fcn.00d0d4c0
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