joyce8/EMBER2024-capa huggingface dataset:
Function at 0xc22190
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x691000]
push edi
or ebp, 0xffffffff
jmp 0xc221b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xc221b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc221a8
mov eax, 1
add ebx, ebx
jne 0xc221cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xc221dc
jne 0xc221fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc221fb
dec eax
add ebx, ebx
jne 0xc221e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xc221c0
add ebx, ebx
jne 0xc221f7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xc2224d
xor ecx, ecx
sub eax, 3
jb 0xc22213
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xc22282
sar eax, 1
mov ebp, eax
jmp 0xc2221e
add ebx, ebx
jne 0xc2221e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc221ec
inc ecx
add ebx, ebx
jne 0xc2222c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc221ec
add ebx, ebx
jne 0xc22239
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xc2222e
jne 0xc2224a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xc2222e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xc2226c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xc2225e
jmp 0xc221ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xc2226c
add edi, ecx
jmp 0xc221ae
pop esi
mov edi, esi
mov ecx, 0x134ff
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xc2228a
cmp byte [edi], 0x67
jne 0xc2228a
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 0xc2228f
lea edi, [esi + 0x81d000]
mov eax, dword [edi]
or eax, eax
je 0xc222fe
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x857104]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x857284]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xc222bc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x85728c]
or eax, eax
je 0xc222f8
mov dword [ebx], eax
add ebx, 4
jmp 0xc222d9
call dword [esi + 0x857288]
mov ebp, dword [esi + 0x857290]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x29f]
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 0xc22332
sub esp, 0xffffff80
jmp 0x68f5df
Function at 0x41aa5a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4225a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040c31c
and dword [ebp - 0x14], 0
cmp dword [0x4b8d58], 0
mov dword [ebp - 0x18], eax
jne 0x41ab0d
push 0x403e00
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41abb5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403df4
push ebx
call edi
test eax, eax
je 0x41abb5
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403de4
push ebx
mov dword [0x4b8d58], eax
call edi
push eax
call esi
push 0x403dd0
push ebx
mov dword [0x4b8d5c], eax
call edi
push eax
call esi
push 0x403db4
push ebx
mov dword [0x4b8d60], eax
call edi
push eax
call esi
mov dword [0x4b8d68], eax
test eax, eax
je 0x41ab0d
push 0x403d9c
push ebx
call edi
push eax
call esi
mov dword [0x4b8d64], eax
mov eax, dword [0x4b8d64]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41ab66
cmp dword [0x4b8d68], ecx
je 0x41ab66
push eax
call esi
push dword [0x4b8d68]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41ab66
test ebx, ebx
je 0x41ab66
call edi
test eax, eax
je 0x41ab5d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41ab5d
test byte [ebp - 8], 1
jne 0x41ab66
or dword [ebp + 0x10], 0x200000
jmp 0x41ab99
mov eax, dword [0x4b8d5c]
cmp eax, dword [ebp - 0x18]
je 0x41ab99
push eax
call esi
test eax, eax
je 0x41ab99
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41ab99
mov eax, dword [0x4b8d60]
cmp eax, dword [ebp - 0x18]
je 0x41ab99
push eax
call esi
test eax, eax
je 0x41ab99
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4b8d58]
call esi
test eax, eax
je 0x41abb5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41abb7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407104
leave
ret

Function at 0x41e4a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
mov eax, 0x6b
mov edx, 0x72
mov word [0x9631c8], ax
mov word [0x9631cc], dx
mov ecx, 0x6e
mov edx, 0x65
xor eax, eax
push 0x9631c8
mov dword [0x9631d4], 0x320033
mov dword [0x9631dc], 0x6c006c
mov word [0x9631ce], cx
mov dword [0x9631d0], 0x6c0065
mov dword [0x9631d8], 0x64002e
mov word [0x9631ca], dx
mov word [0x9631e0], ax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [0x9631c4]
lea ecx, [esp]
push ecx
push 0x40
mov dword [0x9631c0], eax
mov eax, dword [0x9619b0]
push edx
push eax
mov byte [0x4b8d83], 0x65
mov dword [0x4b8d79], 0x75747269
mov word [0x4b8d7d], 0x6c61
mov byte [0x4b8d78], 0x56
mov word [0x4b8d84], 0x7463
mov byte [0x4b8d86], 0
mov dword [0x4b8d7f], 0x746f7250
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop ecx
ret
Function at 0x41e5a0
Capabilities:
Get common file path
Manipulate console buffer

Disassembly:
mov eax, 0x1280
call fcn.0041d980
cmp dword [0x9631c4], 0x37
push esi
jne 0x41e6a1
push 0
lea eax, [esp + 0x284]
push eax
push 0x403ee4
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
mov esi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
push 0
call esi
xor eax, eax
lea edx, [esp + 8]
push edx
push eax
push eax
push eax
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_ReadFileScatter]
push 0
lea eax, [esp + 0x684]
push eax
push 0x403ef0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea ecx, [esp + 0xa84]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [esp + 0x60]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0
call esi
push 0x403f18
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
lea ecx, [esp + 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProfileSectionW]
push 0x30
lea eax, [esp + 0x34]
push 0
push eax
mov dword [esp + 0x38], 0
call fcn.00410220
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CommConfigDialogA]
mov edx, dword [0x965928]
mov dword [esp + 4], edx
mov eax, 0x5d1
add dword [esp + 4], eax
mov eax, dword [esp + 4]
mov cl, byte [eax + ebx]
mov edx, dword [0x9619b0]
mov byte [edx + ebx], cl
pop esi
add esp, 0x1280
ret
Function at 0x41e940
Capabilities:
Accept command line arguments
Get geographical location
Query environment variable

Disassembly:
mov eax, dword [0x9631c4]
mov ecx, dword [0x9619b0]
sub esp, 0x984
push ebx
push ebp
shr eax, 3
xor ebp, ebp
push esi
push edi
cmp eax, ebp
jbe 0x41eb3b
mov dword [esp + 0x3c], 0x9e3779b9
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 4]
mov edi, dword [ecx]
mov ecx, dword [0x4b69b0]
mov edx, dword [0x4b69b4]
mov dword [esp + 0x1c], eax
mov eax, dword [0x4b69b8]
mov dword [esp + 0x48], ecx
mov ecx, dword [0x4b69bc]
mov dword [esp + 0x18], 0xc6ef3720
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x2c], 0x20
mov ebx, dword [esp + 0x18]
mov eax, edi
shl eax, 4
add eax, dword [esp + 0x34]
mov esi, edi
add ebx, edi
shr esi, 5
cmp dword [0x9631c4], 0x1b
mov dword [esp + 0x14], eax
jne 0x41e9f6
push ebp
call dword [sym.imp.KERNEL32.dll_ConvertThreadToFiber]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push ebp
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x14]
add esi, dword [esp + 0x44]
xor eax, ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x14], eax
mov dword [0x9619b4], ebp
mov eax, dword [esp + 0x24]
add dword [0x9619b4], eax
mov ecx, dword [0x9619b4]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x40]
add dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
xor eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x24]
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x24]
sub dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov eax, ecx
shl eax, 4
add eax, dword [esp + 0x48]
add esi, ecx
cmp dword [0x9631c4], 0x1be
mov dword [esp + 0x14], eax
jne 0x41ea8b
push ebp
lea eax, [esp + 0x194]
push eax
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
shr ecx, 5
add ecx, dword [esp + 0x38]
cmp dword [0x9631c4], 0x979
mov dword [0x9619b8], 0xff6b3619
mov dword [0x9619bc], 0xffffffff
mov dword [esp + 0x24], ecx
jne 0x41eac6
lea ecx, [esp + 0x50]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov eax, dword [esp + 0x14]
xor eax, esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
xor dword [esp + 0x14], eax
sub edi, dword [esp + 0x14]
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 0x3c]
add dword [esp + 0x20], eax
sub dword [esp + 0x18], eax
dec dword [esp + 0x2c]
jne 0x41e9b2
cmp dword [0x9631c4], 0x8d4
jne 0x41eb04
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov dword [eax], edi
mov dword [eax + 4], edx
cmp dword [0x9631c4], 0x17
jne 0x41eb26
lea eax, [esp + 0x50]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov ecx, dword [esp + 0x28]
add ecx, 8
dec dword [esp + 0x30]
mov dword [esp + 0x28], ecx
jne 0x41e972
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x984
ret
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
popal
nop
nop
nop
nop
nop
jmp fcn.00401219

Function at 0x402106
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
push 0x404075
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov dword [ebp - 4], eax
sub esp, 0xe
mov byte [esp], 0x6d
mov byte [esp + 1], 0x63
mov byte [esp + 2], 0x69
mov byte [esp + 3], 0x53
mov byte [esp + 4], 0x65
mov byte [esp + 5], 0x6e
mov byte [esp + 6], 0x64
mov byte [esp + 7], 0x53
mov byte [esp + 8], 0x74
mov byte [esp + 9], 0x72
mov byte [esp + 0xa], 0x69
mov byte [esp + 0xb], 0x6e
mov byte [esp + 0xc], 0x67
mov byte [esp + 0xd], 0x41
mov byte [esp + 0xe], 0
lea eax, [esp]
push eax
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x4060ec], eax
leave
ret

Function at 0x403576
Capabilities:
Allocate or change rwx memory

Disassembly:
push esi
push 0x40
push ebx
push eax
call dword [sym.imp.kernel32.dll_VirtualProtect]
ret
Function at 0x936058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.009361a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x93607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x93606a
add dl, dl
jne 0x936089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9360dc
xor eax, eax
add dl, dl
jne 0x936096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x93617d
add dl, dl
jne 0x9360a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9360b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9360bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9360c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9360d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x936075
mov eax, 1
add dl, dl
jne 0x9360ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9360f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9360e1
sub eax, ebx
mov ebx, 1
jne 0x936128
mov ecx, 1
add dl, dl
jne 0x93610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x936119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x936105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x936075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x93613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x93614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x936136
cmp eax, 0x7d00
jae 0x93616d
cmp eax, 0x500
jb 0x936168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x936075
cmp eax, 0x7f
ja 0x936170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x936075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x93619e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x936075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401d8a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401dc9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401dc9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401dc9
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401dc9
cmp dword [ecx + 0x74], 0xe
jbe 0x401dc9
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
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
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x1cdd2ae8
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e1d0
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x2c9627fc
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0xf37370
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 0xf3738e
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 0xf60074
push ecx
mov edi, eax
call fcn.00f4b198
mov esi, eax
add esp, 8
test esi, esi
jne 0xf373cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00f4b02e
push esi
call fcn.00f4afb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xf3a850
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 0xf3a8ae
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 0xf65720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xf3a8ba
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.00f4b1e1
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 0xf3a8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xf65720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xf3a92a
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.00f4c082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xf3a957
mov word [eax], si
add eax, 2
push eax
call fcn.00f4c030
add esp, 4
jmp 0xf3a959
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 0xf3a8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xf3a8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

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

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xf3b0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xf60458
push ecx
call fcn.00f4b1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00f4b1e1
add esp, 0x10
jmp 0xf3b0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00f4b20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00f4adff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00f3b050
mov eax, dword [0xf65728]
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 0xf3b13b
push esi
call fcn.00f3afb0
add esp, 4
mov dword [0xf65728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xf3b14c
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.00f3aff0
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 0xf3e440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xf3e4b7
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 0xf3e48e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xf3e471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xf3e47e
add edx, ecx
cmp ebx, edx
jb 0xf3e48a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xf3e467
xor ecx, ecx
jmp 0xf3e4a2
test eax, eax
jne 0xf3e492
xor ecx, ecx
jmp 0xf3e4a2
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.00f3e3c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0xf3e8f0
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 0xf3e921
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 0xf3e946
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 0xf3e96e
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 0xf3e993
push ecx
push esi
call fcn.00f3e4c0
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