joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440480
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x440578
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x4404e7
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
push 1
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.00440590
add esp, 0xc
jmp 0x440576
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x440553
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x440537
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x440551
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x40]
call fcn.0042dc8b
and dword [eax], 0
jmp 0x44052c
jmp 0x440576
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x440576
push 0
push 0x17d0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x44058c
push 0x72e4
push 1
push 0xf1a
call fcn.00433bdc
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x44393f
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x44396d
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
push 0x1cf3
push dword [ebp - 0x54]
push 1
call fcn.00443acc
add esp, 0xc
jmp 0x443ac8
lea eax, [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x4439b4
push 0
push 0x5e92
call fcn.0044361a
pop ecx
pop ecx
jmp 0x443ac8
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x443abe
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 1
jge 0x443a33
mov dword [ebp - 0x4c], 1
jmp 0x443a37
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0xc51a
jg 0x443a66
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x443a64
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
jmp 0x443abc
mov dword [ebp - 0x74], 1
push 2
lea ecx, [ebp - 0x84]
call fcn.0042db9d
mov dword [ebp - 8], 0
jmp 0x443a8a
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jge 0x443aa6
push dword [ebp - 8]
lea ecx, [ebp - 0x84]
call fcn.0042dc8b
mov dword [eax], 0xc33bab72
jmp 0x443a83
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
lea ecx, [ebp - 0x84]
call fcn.0042dc6f
jmp 0x443ac8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esp, ebp
pop ebp
ret
Function at 0x444ccf
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x444d6d
lea eax, [ebp + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x444d53
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x444d40
mov byte [ebp - 1], 0
push 0x5d8c
push 0x3b1f
push 0
push 1
push 1
push 0x7b80
push 0x1b2
push 0x36fe
lea eax, [ebp - 1]
push eax
push 0
call fcn.0044f810
add esp, 0x28
jmp 0x444d51
push 0
push 0x976
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x444d6b
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
push 0
push 0x709f
push dword [ebp - 0x18]
call fcn.0044ad47
add esp, 0xc
jmp 0x444d9a
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
push 1
push 1
push 0x176e
push dword [ebp - 0x1c]
push 0x654e
push 0x4ae2
push dword [ebp - 0x20]
call fcn.0044045c
add esp, 0x1c
mov esp, ebp
pop ebp
ret

Function at 0x44b32d
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x44b37d
lea eax, [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0x66c
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
push eax
push dword [ebp - 0x1c]
push 1
call fcn.0044b3f8
add esp, 0x1c
jmp 0x44b3f4
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x44b3af
push 0x15e2
push 0
push 0x1313
call fcn.00432baf
add esp, 0xc
jmp 0x44b3f4
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x44b3de
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x44b3f4
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x44b3f4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov esp, ebp
pop ebp
ret
Function at 0x44bc47
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
movzx eax, byte [ebp + 0x30]
test eax, eax
je 0x44bcfc
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x44bccd
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x44bcb1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x44bccb
push 0x1dc1
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x44bcfa
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
push 0x23a6
push 1
push 0x67de
push 0x76b3
push 1
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.0043748b
add esp, 0x1c
jmp 0x44bd48
lea eax, [ebp + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
push 0x24f8
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
push eax
push dword [ebp - 0x34]
push 1
push 0x627f
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push 0
push 0xb16
push dword [ebp - 0x40]
call fcn.0044658d
add esp, 0x28
mov esp, ebp
pop ebp
ret
Function at 0x47aaf5
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 0x488acf
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x49b484]
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.00478964
mov dword [ebp - 0x14], eax
cmp dword [0xa95590], esi
jne 0x488bc2
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x488b4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x488ca2
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x488ca2
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x488ca2
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0xa95590], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0xa95594], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0xa95598], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xa955a0], eax
test eax, eax
je 0x488bbf
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xa9559c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x488be7
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x488bda
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x488bfc
push 4
pop eax
jmp 0x488ca4
cmp dword [ebp - 0x14], esi
je 0x488bfc
push dword [0xa95590]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x488be1
mov eax, dword [0xa9559c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x488c5a
cmp dword [0xa955a0], edi
je 0x488c5a
push eax
call ebx
push dword [0xa955a0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x488c5a
test eax, eax
je 0x488c5a
call ecx
test eax, eax
je 0x488c4f
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 0x488c4f
test byte [ebp - 8], 1
jne 0x488c5a
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x488c8a
mov eax, dword [0xa95594]
cmp eax, edi
je 0x488c87
push eax
call ebx
test eax, eax
je 0x488c87
call eax
mov esi, eax
test esi, esi
je 0x488c87
mov eax, dword [0xa95598]
cmp eax, edi
je 0x488c87
push eax
call ebx
test eax, eax
je 0x488c87
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0xa95590]
call ebx
test eax, eax
je 0x488ca2
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x488ca4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00477e0b
mov esp, ebp
pop ebp
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x40169a
Capabilities:
Check if file exists
Get file attributes
Terminate process

Disassembly:
mov eax, ecx
push esi
push edi
xor ecx, ecx
mov dx, word [eax]
xor edi, edi
test dx, dx
je 0x4016e2
mov esi, 0x404020
cmp dx, 0x20
jne 0x4016b9
test edi, edi
je 0x4016e2
cmp dx, 0x22
jne 0x4016ca
xor edx, edx
test edi, edi
sete dl
mov edi, edx
jmp 0x4016d8
cmp esi, 0x40422e
jae 0x4016ee
mov word [esi], dx
inc ecx
inc esi
inc esi
inc eax
inc eax
mov dx, word [eax]
test dx, dx
jne 0x4016af
and word [ecx*2 + 0x404020], 0
pop edi
pop esi
ret
push 1
call dword [sym.imp.MSVCRT.dll_exit]

Function at 0x4016f6
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x404f28
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret

Function at 0x40170c
Capabilities:
Delete file
Move file

Disassembly:
push 4
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
ret
Function at 0x401aa7
Capabilities:
Delete directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4bc
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 1
xor ebx, ebx
lea eax, [ebp - 0x264]
mov word [ebp - 0x264], bx
push eax
mov eax, dword [ebp - 4]
dec eax
push ebx
neg eax
sbb eax, eax
push ebx
and al, 0xeb
add eax, 0x17
push eax
push dword [ebp - 0xc]
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x401ba6
lea ecx, [ebp - 0x264]
call fcn.00401676
mov edx, str.7_Zip_
lea ecx, [ebp - 0x264]
call fcn.0040152d
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 8], ebx
xor edi, edi
lea esi, [ebp + eax*2 - 0x264]
cmp edi, ebx
mov edx, str.7_Zip_File_Manager.lnk
je 0x401b30
mov edx, str.7_Zip_Help.lnk
mov ecx, esi
call fcn.0040151a
lea eax, [ebp - 0x4bc]
push 0x404f28
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp edi, ebx
mov edx, 0x4037a8
je 0x401b57
mov edx, str.7_zip.chm
lea ecx, [ebp - 0x4bc]
call fcn.0040152d
lea edx, [ebp - 0x4bc]
lea ecx, [ebp - 0x264]
call fcn.00401bb8
test eax, eax
jne 0x401b8b
lea eax, [ebp - 0x264]
mov dword [ebp - 8], 1
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc edi
cmp edi, 2
jb 0x401b22
cmp dword [ebp - 8], ebx
je 0x401ba6
lea eax, [ebp - 0x264]
mov word [esi], bx
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jb 0x401abf
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x105a370
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 0x105a38e
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 0x1083074
push ecx
mov edi, eax
call fcn.0106e198
mov esi, eax
add esp, 8
test esi, esi
jne 0x105a3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0106e02e
push esi
call fcn.0106dfb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x105d850
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 0x105d8ae
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 0x1088720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x105d8ba
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.0106e1e1
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 0x105d8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x1088720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x105d92a
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.0106f082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x105d957
mov word [eax], si
add eax, 2
push eax
call fcn.0106f030
add esp, 4
jmp 0x105d959
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 0x105d8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x105d8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

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

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x105e0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x1083458
push ecx
call fcn.0106e1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.0106e1e1
add esp, 0x10
jmp 0x105e0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0106e20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.0106ddff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.0105e050
mov eax, dword [0x1088728]
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 0x105e13b
push esi
call fcn.0105dfb0
add esp, 4
mov dword [0x1088728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x105e14c
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.0105dff0
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 0x1061440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x10614b7
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 0x106148e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x1061471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x106147e
add edx, ecx
cmp ebx, edx
jb 0x106148a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x1061467
xor ecx, ecx
jmp 0x10614a2
test eax, eax
jne 0x1061492
xor ecx, ecx
jmp 0x10614a2
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.010613c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x10618f0
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 0x1061921
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 0x1061946
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 0x106196e
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 0x1061993
push ecx
push esi
call fcn.010614c0
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