joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7f2f0e2e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [0x7f307acc], ebx
push esi
push edi
je 0x7f2f0e5c
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.ADVAPI32.dll_RegSetValueExW]
jmp 0x7f2f0f8c
mov eax, dword [ebp + 0xc]
cmp eax, 0xffff
jbe 0x7f2f0ec5
push eax
call fcn.7f2da99a
mov edi, eax
mov eax, dword [0x7f307088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d53a1
test eax, eax
mov esi, dword [0x7f307088]
je 0x7f2f0ea1
mov eax, esi
imul eax, edi
cmp eax, ebx
je 0x7f2f0ea1
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fd060
mov dword [ebp - 4], esp
jmp 0x7f2f0ea4
mov dword [ebp - 4], ebx
cmp dword [ebp - 4], ebx
je 0x7f2f0ecd
imul esi, edi
push ebx
push ebx
push esi
push dword [ebp - 4]
push edi
push dword [ebp + 0xc]
push ebx
push dword [0x7f307ac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x7f2f0ec8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], ebx
jne 0x7f2f0edc
cmp dword [ebp + 0xc], ebx
je 0x7f2f0edc
mov eax, 0x3e9
jmp 0x7f2f0f8c
mov eax, dword [ebp + 0x14]
cmp eax, ebx
jbe 0x7f2f0f76
cmp eax, 2
jbe 0x7f2f0ef5
cmp eax, 7
jne 0x7f2f0f76
cmp dword [ebp + 0x18], 0xffff
jbe 0x7f2f0f71
cmp eax, 7
push dword [ebp + 0x18]
jne 0x7f2f0f0d
call fcn.7f2d404a
jmp 0x7f2f0f13
call fcn.7f2da99a
pop ecx
mov edi, eax
inc edi
lea ebx, [edi + 1]
mov eax, ebx
imul eax, dword [0x7f307088]
push eax
call fcn.7f2d53a1
test eax, eax
mov esi, dword [0x7f307088]
je 0x7f2f0f4a
mov eax, ebx
imul eax, esi
test eax, eax
je 0x7f2f0f4a
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fd060
mov ebx, esp
jmp 0x7f2f0f4c
xor ebx, ebx
xor eax, eax
cmp ebx, eax
je 0x7f2f0ed2
imul esi, edi
push eax
push eax
push esi
push ebx
push edi
push dword [ebp + 0x18]
push eax
push dword [0x7f307ac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push eax
push ebx
push dword [ebp + 0x14]
jmp 0x7f2f0f7d
push 0x57
pop eax
jmp 0x7f2f0f8c
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push eax
push dword [ebp + 0x10]
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 0x18
Function at 0x7f2f2a9e
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [0x7f307acc], ebx
push esi
push edi
je 0x7f2f2ac2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.MPR.dll_WNetAddConnectionW
jmp 0x7f2f2c0c
mov eax, dword [ebp + 8]
cmp eax, 0xffff
jbe 0x7f2f2b2b
push eax
call fcn.7f2da99a
mov edi, eax
mov eax, dword [0x7f307088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d53a1
test eax, eax
mov esi, dword [0x7f307088]
je 0x7f2f2b07
mov eax, esi
imul eax, edi
cmp eax, ebx
je 0x7f2f2b07
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fd060
mov dword [ebp - 4], esp
jmp 0x7f2f2b0a
mov dword [ebp - 4], ebx
cmp dword [ebp - 4], ebx
je 0x7f2f2b2e
imul esi, edi
push ebx
push ebx
push esi
push dword [ebp - 4]
push edi
push dword [ebp + 8]
push ebx
push dword [0x7f307ac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x7f2f2b2e
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
cmp eax, 0xffff
jbe 0x7f2f2b97
push eax
call fcn.7f2da99a
mov edi, eax
mov eax, dword [0x7f307088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d53a1
test eax, eax
mov esi, dword [0x7f307088]
je 0x7f2f2b73
mov eax, esi
imul eax, edi
cmp eax, ebx
je 0x7f2f2b73
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fd060
mov dword [ebp + 8], esp
jmp 0x7f2f2b76
mov dword [ebp + 8], ebx
cmp dword [ebp + 8], ebx
je 0x7f2f2b9a
imul esi, edi
push ebx
push ebx
push esi
push dword [ebp + 8]
push edi
push dword [ebp + 0xc]
push ebx
push dword [0x7f307ac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x7f2f2b9a
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 0xffff
jbe 0x7f2f2bfd
push dword [ebp + 0x10]
call fcn.7f2da99a
mov edi, eax
mov eax, dword [0x7f307088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d53a1
test eax, eax
mov esi, dword [0x7f307088]
je 0x7f2f2bdd
mov eax, esi
imul eax, edi
cmp eax, ebx
je 0x7f2f2bdd
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fd060
mov ebx, esp
xor eax, eax
cmp ebx, eax
je 0x7f2f2c00
imul esi, edi
push eax
push eax
push esi
push ebx
push edi
push dword [ebp + 0x10]
push eax
push dword [0x7f307ac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x7f2f2c00
mov ebx, dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [ebp - 4]
call sub.MPR.dll_WNetAddConnectionA
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x7f2f5c41
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x7f307acc], 0
push ebx
push esi
push edi
je 0x7f2f5c66
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
jmp 0x7f2f5d13
cmp dword [ebp + 0x10], 0x20c
ja 0x7f2f5c7e
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x7f2f5d13
mov ebx, dword [ebp + 8]
cmp ebx, 0xffff
jbe 0x7f2f5ce3
push ebx
call fcn.7f2da99a
mov edi, eax
mov eax, dword [0x7f307088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d53a1
test eax, eax
mov esi, dword [0x7f307088]
je 0x7f2f5cc3
mov eax, esi
imul eax, edi
test eax, eax
je 0x7f2f5cc3
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fd060
mov ebx, esp
jmp 0x7f2f5cc5
xor ebx, ebx
xor eax, eax
cmp ebx, eax
je 0x7f2f5ce7
imul esi, edi
push eax
push eax
push esi
push ebx
push edi
push dword [ebp + 8]
push eax
push dword [0x7f307ac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test ebx, ebx
jne 0x7f2f5ced
cmp dword [ebp + 8], 0
jne 0x7f2f5c77
mov eax, dword [ebp + 0x14]
or word [eax], 0xffff
or word [eax + 2], 0xffff
add eax, 0x20c
push eax
mov eax, dword [ebp + 0x10]
add eax, 0xfffffdf4
push eax
push dword [ebp + 0xc]
push ebx
call sub.VERSION.dll_GetFileVersionInfoA
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x7f2f7737
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x7f307090]
push ebx
xor ebx, ebx
cmp dword [0x7f307acc], ebx
mov dword [ebp - 4], eax
je 0x7f2f7794
mov eax, dword [0x7f307a8c]
cmp eax, ebx
jne 0x7f2f776f
push 0x7f2d3410
call fcn.7f2d4368
cmp eax, ebx
mov dword [0x7f307a8c], eax
je 0x7f2f7785
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x7f2f78b3
push 0x7f
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x7f2f78b3
push esi
mov esi, dword [ebp + 0x10]
push edi
push 0x58
xor eax, eax
cmp esi, ebx
pop ecx
lea edi, [ebp - 0x164]
rep stosd dword es:[edi], eax
je 0x7f2f77b3
mov eax, dword [esi + 8]
mov dword [ebp - 0x15c], eax
test byte [ebp + 0x18], 8
mov edi, 0x104
jne 0x7f2f781a
cmp dword [ebp + 8], 0xffff
jbe 0x7f2f780b
push dword [ebp + 8]
call fcn.7f2da99a
cmp eax, edi
pop ecx
ja 0x7f2f780b
push ebx
push ebx
push edi
lea eax, [ebp - 0x268]
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
push ebx
push dword [0x7f307ac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push dword [ebp + 0x18]
lea eax, [ebp - 0x164]
push 0x160
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x268]
push eax
jmp 0x7f2f782f
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x7f2f78b1
push dword [ebp + 0x18]
lea eax, [ebp - 0x164]
push 0x160
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x7f2f78ae
cmp esi, ebx
je 0x7f2f78ae
test byte [ebp + 0x19], 0x12
mov eax, dword [ebp - 0x164]
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [esi], eax
mov eax, dword [ebp - 0x160]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x15c]
mov dword [esi + 8], eax
je 0x7f2f7880
push edi
lea eax, [esi + 0xc]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x158]
push eax
push 0
push dword [0x7f307ac8]
call ebx
jmp 0x7f2f7885
and word [esi + 0xc], 0
test byte [ebp + 0x19], 4
je 0x7f2f78a6
push 0x50
add esi, 0x214
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x54]
push eax
push 0
push dword [0x7f307ac8]
call ebx
jmp 0x7f2f78ae
and word [esi + 0x214], 0
mov eax, dword [ebp + 8]
pop edi
pop esi
mov ecx, dword [ebp - 4]
pop ebx
call fcn.7f2fd123
leave
ret 0x14

Function at 0x7f2fcbc3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x7f307acc], 0
je 0x7f2fcbf5
mov eax, dword [0x7f307a1c]
test eax, eax
jne 0x7f2fcbeb
push 0x7f2d35f4
call fcn.7f2d3fba
test eax, eax
mov dword [0x7f307a1c], eax
je 0x7f2fcbee
pop ebp
jmp eax
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
pop ebp
jmp sym.unicows.dll_GetWindowsDirectoryW
Function at 0x7f2fcc87
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.USER32.dll_GetClipboardData]
push edi
push ebx
call esi
xor edi, edi
cmp dword [0x7f307acc], edi
mov dword [ebp - 8], eax
jne 0x7f2fcdee
cmp eax, edi
jne 0x7f2fcdeb
push ebx
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x7f2fcdeb
push ebx
call sym.unicows.dll_IsClipboardFormatAvailable
test eax, eax
je 0x7f2fcdeb
xor eax, eax
cmp ebx, 0xd
setne al
mov dword [ebp + 8], eax
neg eax
sbb eax, eax
and eax, 0xc
inc eax
push eax
call esi
cmp eax, edi
mov dword [ebp - 0x14], eax
je 0x7f2fcdeb
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, edi
mov dword [ebp - 4], eax
je 0x7f2fcdeb
push 0x10
call esi
cmp dword [ebp + 8], edi
mov dword [ebp - 0xc], eax
je 0x7f2fcd2f
cmp ebx, 7
jne 0x7f2fcd2f
cmp eax, edi
je 0x7f2fcd27
lea eax, [ebp - 0xc]
push eax
call fcn.7f2d4161
mov ebx, eax
jmp 0x7f2fcd44
mov ebx, dword [0x7f307084]
jmp 0x7f2fcd44
cmp eax, edi
je 0x7f2fcd3e
lea eax, [ebp - 0xc]
push eax
call fcn.7f2d4112
jmp 0x7f2fcd23
mov ebx, dword [0x7f307ac8]
push ebx
call fcn.7f2d3f55
cmp dword [ebp + 8], edi
push dword [ebp - 4]
mov dword [ebp - 0x10], eax
je 0x7f2fcd64
call fcn.7f2da99a
mov esi, eax
inc esi
imul esi, dword [ebp - 0x10]
pop ecx
jmp 0x7f2fcd6e
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [eax + eax + 2]
push esi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, edi
mov dword [ebp - 0x10], eax
je 0x7f2fcde2
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, edi
jne 0x7f2fcd94
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x7f2fcde2
cmp dword [ebp + 8], edi
je 0x7f2fcdac
push edi
push edi
push esi
push eax
push 0xffffffffffffffff
push dword [ebp - 4]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x7f2fcdbd
shr esi, 1
push esi
push eax
push 0xffffffffffffffff
push dword [ebp - 4]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, dword [ebp - 0x10]
mov esi, eax
neg esi
sbb esi, esi
push ebx
neg esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp esi, edi
je 0x7f2fcdd8
mov dword [ebp - 8], ebx
jmp 0x7f2fcde2
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 8], edi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x7f2fd123
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x7f307090]
jne 0x7f2fd12c
ret
jmp 0x7f2fd131
push ebp
lea ebp, [esp - 0x2a8]
sub esp, 0x328
mov eax, dword [0x7f307090]
mov dword [ebp + 0x2a4], eax
mov eax, dword [0x7f307b3c]
test eax, eax
je 0x7f2fd155
call eax
cmp dword [0x7f307b40], 0
je 0x7f2fd19c
push edi
xor eax, eax
and dword [ebp - 0x28], eax
push 0x13
pop ecx
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
mov ecx, 0xb2
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push 0
mov dword [ebp - 0x80], 0xc0000409
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x30]
push eax
call dword [0x7f307b40]
pop edi
push 0x502
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp + 0x2a4]
call fcn.7f2fd123
add ebp, 0x2a8
leave
ret
Function at 0x401560
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
cmp ebp, 1
push edi
mov edi, ecx
jl 0x40164b
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x18]
push ebp
push eax
push esi
call fcn.0040afa0
add esp, 0xc
cmp ebp, 1
jne 0x4015aa
movzx ecx, byte [esi]
movzx edx, byte [edi + 0x20020]
add ecx, 0x100
shl ecx, 8
add ecx, edi
mov al, byte [edx + ecx]
mov byte [esi], al
pop esi
pop edi
pop ebp
ret 0xc
lea ecx, [ebp - 1]
xor eax, eax
test ecx, ecx
jle 0x4015e0
push ebx
jmp 0x4015c0
movzx edx, byte [eax + esi]
movzx ebx, byte [eax + esi + 1]
add edx, 0x100
shl edx, 8
add edx, edi
mov dl, byte [ebx + edx]
mov byte [eax + esi], dl
inc eax
cmp eax, ecx
jl 0x4015c0
pop ebx
movzx eax, byte [edi + 0x20020]
movzx edx, byte [esi + ebp - 1]
xor eax, 0x55
add edx, 0x100
add eax, edi
shl edx, 8
mov al, byte [edx + eax]
mov byte [esi + ebp - 1], al
mov eax, ecx
cmp eax, 1
jl 0x401630
jmp 0x401610
movzx edx, byte [eax + esi]
movzx ecx, byte [eax + esi - 1]
add edx, 0x100
shl edx, 8
add ecx, edi
mov cl, byte [edx + ecx]
mov byte [eax + esi], cl
dec eax
cmp eax, 1
jge 0x401610
movzx edx, byte [esi]
movzx eax, byte [edi + 0x20020]
add edx, 0x100
shl edx, 8
add edx, edi
mov cl, byte [eax + edx]
mov byte [esi], cl
pop esi
pop edi
pop ebp
ret 0xc
Function at 0x40cdc9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x422234]
jne 0x40cdd3
repz ret
jmp fcn.004135f9

Function at 0x413b3e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004104a0
and dword [ebp - 4], 0
cmp dword [0x423e1c], 0
mov ebx, eax
jne 0x413bef
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x413ca0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x413ca0
push eax
call fcn.0041042e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x423e1c], eax
call esi
push eax
call fcn.0041042e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x423e20], eax
call esi
push eax
call fcn.0041042e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x423e24], eax
call esi
push eax
call fcn.0041042e
pop ecx
mov dword [0x423e2c], eax
test eax, eax
je 0x413bef
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041042e
pop ecx
mov dword [0x423e28], eax
mov eax, dword [0x423e28]
cmp eax, ebx
je 0x413c47
cmp dword [0x423e2c], ebx
je 0x413c47
push eax
call fcn.004104a9
push dword [0x423e2c]
mov esi, eax
call fcn.004104a9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x413c47
test edi, edi
je 0x413c47
call esi
test eax, eax
je 0x413c3e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x413c3e
test byte [ebp - 0xc], 1
jne 0x413c47
or dword [ebp + 0x10], 0x200000
jmp 0x413c80
mov eax, dword [0x423e20]
cmp eax, ebx
je 0x413c80
push eax
call fcn.004104a9
pop ecx
test eax, eax
je 0x413c80
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x413c80
mov eax, dword [0x423e24]
cmp eax, ebx
je 0x413c80
push eax
call fcn.004104a9
pop ecx
test eax, eax
je 0x413c80
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x423e1c]
call fcn.004104a9
pop ecx
test eax, eax
je 0x413ca0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x413ca2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x113a370
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 0x113a38e
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 0x1163074
push ecx
mov edi, eax
call fcn.0114e198
mov esi, eax
add esp, 8
test esi, esi
jne 0x113a3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0114e02e
push esi
call fcn.0114dfb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x113d850
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 0x113d8ae
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 0x1168720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x113d8ba
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.0114e1e1
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 0x113d8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x1168720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x113d92a
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.0114f082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x113d957
mov word [eax], si
add eax, 2
push eax
call fcn.0114f030
add esp, 4
jmp 0x113d959
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 0x113d8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x113d8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

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

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x113e0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x1163458
push ecx
call fcn.0114e1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.0114e1e1
add esp, 0x10
jmp 0x113e0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0114e20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.0114ddff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.0113e050
mov eax, dword [0x1168728]
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 0x113e13b
push esi
call fcn.0113dfb0
add esp, 4
mov dword [0x1168728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x113e14c
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.0113dff0
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 0x1141440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x11414b7
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 0x114148e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x1141471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x114147e
add edx, ecx
cmp ebx, edx
jb 0x114148a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x1141467
xor ecx, ecx
jmp 0x11414a2
test eax, eax
jne 0x1141492
xor ecx, ecx
jmp 0x11414a2
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.011413c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x11418f0
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 0x1141921
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 0x1141946
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 0x114196e
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 0x1141993
push ecx
push esi
call fcn.011414c0
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