joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ae6b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x43af65
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x43af3a
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x43af0a
mov dword [ebp - 0x28], 0x76b0f738
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x43aee8
push 0x4bf3
push 0
push 1
push 0
push 0x6206
push 0x2746
push 0x565b
call fcn.00431d89
add esp, 0x1c
mov byte [ebp - 2], 0
push 1
lea eax, [ebp - 2]
push eax
push 0x106f
push 1
push 1
push 0x6079
call fcn.0043162d
add esp, 0x18
jmp 0x43af38
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x43af38
push 0
push 0x17cc
push 0
push 0
push 0x9cd
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x43af63
push 0x3f43
push 1
push 0xee4
push 1
push 1
push 1
push 0x1bba
push 0x16bf
push 0x1aef
call fcn.0043a3fe
add esp, 0x24
jmp 0x43af87
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
push 1
push 0x700f
push dword [ebp - 0x24]
push 0x1a2a
push 0x6f81
call fcn.0042ff3f
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x43f68f
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 8]
test eax, eax
je 0x43f734
lea eax, [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x43f716
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x43f6f6
mov byte [ebp - 1], 0
lea eax, [ebp - 1]
push eax
push 1
push 0x792
push 0
push 1
call fcn.0042ebec
add esp, 0x14
jmp 0x43f714
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x43f714
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
jmp 0x43f732
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push 0
push 0
push 1
push 0x1557
call fcn.00436b2f
add esp, 0x14
jmp 0x43f742
push 0x5434
push 0
call fcn.004309c6
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x44102e
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x4410da
lea eax, [ebp + 0x24]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x44109a
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x441090
mov byte [ebp - 1], 0
push 1
push 0x2d44
push 0x18b
push 1
lea eax, [ebp - 1]
push eax
push 0
push 1
call fcn.0043d159
add esp, 0x1c
jmp 0x441098
push 0
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x4410d8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x4410c4
mov byte [ebp - 2], 0
push 0
lea eax, [ebp - 2]
push eax
push 0
push 1
push 1
call fcn.0043dd1a
add esp, 0x14
jmp 0x4410d8
mov byte [ebp - 3], 0
movzx eax, byte [ebp - 3]
test eax, eax
je 0x4410d8
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
jmp 0x44112e
lea eax, [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x28], eax
push 1
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
push eax
push 1
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 0x40b
call fcn.0042fbe5
add esp, 0x28
mov esp, ebp
pop ebp
ret
Function at 0x46ec95
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x47cc4f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x48f484]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0046cb04
mov dword [ebp - 0x14], eax
cmp dword [0xa891d0], esi
jne 0x47cd42
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x47cccf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x47ce22
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x47ce22
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47ce22
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0xa891d0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0xa891d4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0xa891d8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xa891e0], eax
test eax, eax
je 0x47cd3f
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xa891dc], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x47cd67
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x47cd5a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x47cd7c
push 4
pop eax
jmp 0x47ce24
cmp dword [ebp - 0x14], esi
je 0x47cd7c
push dword [0xa891d0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x47cd61
mov eax, dword [0xa891dc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x47cdda
cmp dword [0xa891e0], edi
je 0x47cdda
push eax
call ebx
push dword [0xa891e0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x47cdda
test eax, eax
je 0x47cdda
call ecx
test eax, eax
je 0x47cdcf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x47cdcf
test byte [ebp - 8], 1
jne 0x47cdda
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x47ce0a
mov eax, dword [0xa891d4]
cmp eax, edi
je 0x47ce07
push eax
call ebx
test eax, eax
je 0x47ce07
call eax
mov esi, eax
test esi, esi
je 0x47ce07
mov eax, dword [0xa891d8]
cmp eax, edi
je 0x47ce07
push eax
call ebx
test eax, eax
je 0x47ce07
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0xa891d0]
call ebx
test eax, eax
je 0x47ce22
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x47ce24
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046bfab
mov esp, ebp
pop ebp
ret
Function at 0x13d4a60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [0x13fb010]
push edi
push 0x14049e8
call esi
push 0x14049e8
call esi
push 0x14049e8
call esi
push 0x14049e8
call esi
push 0x14049e8
call esi
mov edi, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
push 0
call 0xa1039e
nop
push eax
call 0x7742e026
nop
mov ebx, eax
push 0x14049e8
mov dword [ebp - 4], ebx
call esi
push 0x14049e8
call esi
push 0x14049e8
call esi
push 0x14049e8
call esi
push 0x14049e8
call esi
push 0x14049e8
mov byte [ebx + edi], 0
call esi
push 0x14049e8
call esi
push 0x14049e8
call esi
push 0x14049e8
call esi
push 0x14049e8
call esi
xor edi, edi
cmp dword [ebp + 0x10], edi
jbe 0x13d4b7a
mov eax, dword [ebp + 8]
sub eax, ebx
mov dword [ebp - 8], eax
push 0x14049e8
call esi
push 0x14049e8
call esi
push 0x14049e8
call esi
push 0x14049e8
call esi
push 0x14049e8
call esi
mov ecx, dword [ebp + 0xc]
push ecx
add ebx, edi
call 0x759f43d3
nop
mov ecx, eax
xor edx, edx
mov eax, edi
div ecx
mov eax, dword [ebp + 0xc]
add esp, 4
push 0x14049e8
mov cl, byte [edx + eax]
mov edx, dword [ebp - 8]
xor cl, byte [edx + ebx]
mov byte [ebx], cl
call esi
push 0x14049e8
call esi
push 0x14049e8
call esi
push 0x14049e8
call esi
push 0x14049e8
call esi
mov ebx, dword [ebp - 4]
inc edi
cmp edi, dword [ebp + 0x10]
jb 0x13d4b06
push 0x14049e8
call esi
push 0x14049e8
call esi
push 0x14049e8
call esi
push 0x14049e8
call esi
push 0x14049e8
call esi
lea eax, [ebp - 0xc]
push eax
push 0x100
push 4
push ebx
mov dword [ebp - 0xc], 0
call 0xa103a3
nop
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x13d6ef0
Capabilities:
Parse pe header

Disassembly:
cmp dword [ebx + 4], 0x40
jb 0x13d6f91
mov eax, dword [ebx]
push 0x40
push eax
push esi
call 0x759e9910
nop
mov ecx, 0x5a4d
add esp, 0xc
cmp word [esi], cx
jne 0x13d6fc0
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x13d6fc0
lea edx, [eax + 0xf8]
cmp edx, dword [ebx + 4]
ja 0x13d6f91
mov ecx, dword [ebx]
push edi
push pe_nt_image_headers32
add ecx, eax
push ecx
lea edi, [esi + 0x40]
push edi
call 0x759e9910
nop
add esp, 0xc
cmp dword [edi], 0x4550
pop edi
jne 0x13d6fc0
mov edx, 0x10b
cmp word [esi + 0x58], dx
jne 0x13d6fc0
movzx eax, word [esi + 0x46]
test ax, ax
je 0x13d6fc0
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
add eax, eax
push eax
push 8
mov dword [esi + 0x140], eax
call dword [fcn.016090f4]
push eax
call dword [fcn.01609088]
mov dword [esi + 0x138], eax
test eax, eax
jne 0x13d6f97
mov eax, 3
ret
mov eax, 1
ret
movzx ecx, word [esi + 0x54]
mov edx, dword [esi + 0x3c]
lea ecx, [ecx + edx + 0x18]
mov edx, dword [esi + 0x140]
push ebx
push edx
push ecx
push eax
mov dword [esi + 0x13c], ecx
call fcn.013d7590
add esp, 0x10
neg eax
sbb eax, eax
inc eax
ret
mov eax, 2
ret
Function at 0x18c8af0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0x16090e0]
test esi, esi
jne 0x18c8b08
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x18c8b01
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x18c8b01
mov eax, dword [eax + esi + 0x78]
mov ecx, dword [eax + esi + 0x1c]
add eax, esi
add ecx, esi
push ebx
mov ebx, dword [eax + 0x20]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x18]
push edi
add ecx, esi
add ebx, esi
xor edi, edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x18c8b6a
jmp 0x18c8b50
mov eax, dword [ebx + edi*4]
mov ecx, dword [0x1608bf0]
add eax, esi
call fcn.018c6610
test eax, eax
je 0x18c8b73
inc edi
cmp edi, dword [ebp - 4]
jb 0x18c8b50
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + edi*2]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
pop edi
pop ebx
add eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x49b0d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section..rdata
lea edi, [esi - 0x65000]
push edi
or ebp, 0xffffffff
jmp 0x49b0f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x49b0f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49b0e8
mov eax, 1
add ebx, ebx
jne 0x49b10b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x49b11c
jne 0x49b12c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49b12c
dec eax
add ebx, ebx
jne 0x49b128
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x49b100
xor ecx, ecx
sub eax, 3
jb 0x49b144
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x49b1b6
sar eax, 1
mov ebp, eax
jmp 0x49b14f
add ebx, ebx
jne 0x49b14f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x49b15c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x49b180
inc ecx
add ebx, ebx
jne 0x49b16c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x49b161
jne 0x49b17d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x49b161
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x49b1a0
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x49b191
jmp 0x49b0ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x49b1a0
add edi, ecx
jmp 0x49b0ee
pop esi
mov edi, esi
mov ecx, 0x2e39
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x49b1be
cmp byte [edi], 0x21
jne 0x49b1be
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 eax, ebx
loop 0x49b1c3
lea edi, [esi + 0x98000]
mov eax, dword [edi]
or eax, eax
je 0x49b232
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9f630]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9f6d0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x49b1f0
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x9f6d4]
or eax, eax
je 0x49b22c
mov dword [ebx], eax
add ebx, 4
jmp 0x49b20d
call dword [esi + 0x9f6d8]
popal
jmp 0x45cfe0
Function at 0xeb8370
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 0xeb838e
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 0xee1074
push ecx
mov edi, eax
call fcn.00ecc198
mov esi, eax
add esp, 8
test esi, esi
jne 0xeb83cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00ecc02e
push esi
call fcn.00ecbfb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xebb850
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 0xebb8ae
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 0xee6720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xebb8ba
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.00ecc1e1
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 0xebb8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xee6720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xebb92a
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.00ecd082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xebb957
mov word [eax], si
add eax, 2
push eax
call fcn.00ecd030
add esp, 4
jmp 0xebb959
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 0xebb8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xebb8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

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

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xebc0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xee1458
push ecx
call fcn.00ecc1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00ecc1e1
add esp, 0x10
jmp 0xebc0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00ecc20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00ecbdff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00ebc050
mov eax, dword [0xee6728]
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 0xebc13b
push esi
call fcn.00ebbfb0
add esp, 4
mov dword [0xee6728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xebc14c
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.00ebbff0
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 0xebf440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xebf4b7
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 0xebf48e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xebf471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xebf47e
add edx, ecx
cmp ebx, edx
jb 0xebf48a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xebf467
xor ecx, ecx
jmp 0xebf4a2
test eax, eax
jne 0xebf492
xor ecx, ecx
jmp 0xebf4a2
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.00ebf3c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0xebf8f0
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 0xebf921
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 0xebf946
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 0xebf96e
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 0xebf993
push ecx
push esi
call fcn.00ebf4c0
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 0xec0c00
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 0xec0c4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0xec0c2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0xec0c38
add edx, eax
cmp ebx, edx
jb 0xec0c46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0xec0c21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0xec0c50
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 0xec0c70
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 0xec0cb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xec0c9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xec0ca8
add edx, ecx
cmp ebx, edx
jb 0xec0cb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0xec0c91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0xec0f60
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.00ecd145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0xec0ffb
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 0xec0fdd
lea eax, [esp + 0x18]
push eax
jmp 0xec0fe2
push 0xee6720
call fcn.00eccfd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0xec0fb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0xec0f40
push 4
push ecx
push eax
call fcn.00ecd43f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret
Function at 0xec1310
Capabilities:
Query or enumerate registry key

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 0
push 0
push 0
push edi
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.00ecd145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0xec13ab
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_RegEnumKeyExW]
test eax, eax
jne 0xec138d
lea eax, [esp + 0x18]
push eax
jmp 0xec1392
push 0xee6720
call fcn.00eccfd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0xec1360
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0xec0f40
push 4
push ecx
push eax
call fcn.00ecd43f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret