joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x40288e
pop dword [ebp - 0x3c]
mov eax, 0x40288e
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x8d00ce42
add dword [ebp - 0x4c], 0xc1517709
mov dword [ebp - 0x48], 0x9ae9e7be
add dword [ebp - 0x48], 0x97496487
mov dword [ebp - 0x44], 0xbea56789
add dword [ebp - 0x44], 0x8da6dca5
mov dword [ebp - 0x40], 0x588be188
add dword [ebp - 0x40], 0xa7741e78
lea eax, [ebp - 0x4c]
push eax
mov eax, 0xc91ce034
add eax, 0x37239030
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xb3582b11
sub dword [ebp - 0x4c], 0x3ee5c1bb
mov dword [ebp - 0x48], 0xc1f949c4
sub dword [ebp - 0x48], 0x808ce84f
mov dword [ebp - 0x44], 0x2eb8dd48
sub dword [ebp - 0x44], 0xcb4970dc
mov dword [ebp - 0x40], 0x5d2c943a
sub dword [ebp - 0x40], 0x5d2c943a
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0xcb494b7f
sub eax, 0xcb08dad7
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x339da
push 0
call eax
mov ecx, 0x3c14
xor edx, edx
add edx, eax
mov edi, 0xbb02d036
sub edi, 0xbac1d036
add edi, dword [ebp - 0x3c]
mov esi, 0x50050635
sub esi, 0x820b55d5
add dword [ebp - 0x34], 0x2b489564
mov ebx, dword [edi]
mov dword [ebp - 0x14], 0x216f53fc
sub ebx, esi
xor dword [ebp - 0x1c], 0xc83b30bd
mov dword [edx], ebx
xor dword [ebp - 4], edi
add edx, 0x26209a2a
add edx, 0xd9df65da
add edi, 4
loop 0x4029a7
add eax, 0xf9f4d8c5
add eax, 0x60c0a5e
xor ebx, ebx
add ebx, eax
add eax, 0x9fada73f
add eax, 0x605258c6
mov ecx, 0x64b6095
sub ecx, 0x60b6095
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x425720
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x15000]
push edi
jmp 0x42573a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x425741
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x425730
mov eax, 1
add ebx, ebx
jne 0x425753
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x425748
jne 0x425764
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x425748
xor ecx, ecx
sub eax, 3
jb 0x425778
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4257ea
mov ebp, eax
add ebx, ebx
jne 0x425783
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x425790
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4257b4
inc ecx
add ebx, ebx
jne 0x4257a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x425795
jne 0x4257b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x425795
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4257d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4257c5
jmp 0x425736
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4257d4
add edi, ecx
jmp 0x425736
pop esi
mov edi, esi
mov ecx, 0xfed
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4257f2
cmp byte [edi], 5
jne 0x4257f2
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 0x4257f7
lea edi, [esi + 0x23000]
mov eax, dword [edi]
or eax, eax
je 0x425866
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x25000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x25028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x425824
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2502c]
or eax, eax
je 0x425860
mov dword [ebx], eax
add ebx, 4
jmp 0x425841
call dword [esi + 0x2503c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x425897
cmp al, 0xef
ja 0x42588a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x42586c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x425879
mov ebp, dword [esi + 0x25030]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x4258cb
sub esp, 0xffffff80
jmp 0x40904c
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408e84
nop
mov ecx, 0x46ec10ae
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x44ce75cd
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x40288d
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc30
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax]
mov eax, dword [eax + 4]
push esi
xor esi, esi
cmp dword [0x2a9f420], 0x594
push edi
mov dword [ebp - 8], eax
jne 0x4028c3
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
mov eax, dword [0x42b078]
mov dword [ebp - 0x28], eax
mov eax, dword [0x42b07c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
call fcn.00402886
mov eax, dword [0x42b080]
add dword [ebp - 0x10], 0x23f
mov dword [ebp - 0x20], eax
mov eax, dword [0x42b084]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, ebx
shl eax, 4
cmp dword [0x2a9f420], 0xc
mov dword [ebp - 4], eax
jne 0x402946
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadIdealProcessor]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
xor eax, eax
mov word [ebp - 0x1c], ax
lea edi, [ebp - 0x1a]
stosw word es:[edi], ax
push dword [ebp - 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateJobObject]
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov eax, dword [0x2a9f420]
cmp eax, 0xfa9
jne 0x402962
mov dword [0x2a9e9bc], 0xedeb2e40
cmp eax, 0x3eb
jne 0x40296f
mov dword [0x2a9e370], esi
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov edx, ebx
shr edx, cl
lea eax, [edi + ebx]
mov dword [ebp - 0x14], eax
mov dword [0x2a9e9b8], 0xf4ea3dee
add edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
cmp dword [0x2a9f420], 0x213
mov dword [ebp - 0x14], edx
jne 0x4029b0
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CompareStringA]
mov eax, dword [ebp - 0x14]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
cmp dword [0x2a9f420], 0xc
jne 0x4029ff
lea eax, [ebp - 0x14]
push eax
push esi
push esi
lea eax, [ebp - 0x30]
push eax
push esi
push esi
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_BackupRead]
push esi
lea eax, [ebp - 0xc30]
push eax
push 0x402648
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
push esi
lea eax, [ebp - 0x430]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov eax, dword [ebp - 8]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
lea eax, [edi + edx]
xor dword [ebp - 4], eax
mov edi, edx
shr edi, cl
add edi, dword [ebp - 0x24]
cmp dword [0x2a9f420], 0x121
jne 0x402a3d
push 0x4026a0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov edx, dword [ebp - 8]
xor dword [ebp - 4], edi
sub ebx, dword [ebp - 4]
lea eax, [ebp - 0x10]
call fcn.0040287f
dec dword [ebp - 0x18]
jne 0x4028fc
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], ebx
mov dword [eax + 4], edx
pop ebx
leave
ret 4
Function at 0x402a63
Capabilities:
Get common file path
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.0040ccc0
mov eax, dword [0x2a9f420]
mov ecx, dword [0x2a9e374]
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x402b40
push ebx
push edi
mov edi, ecx
mov ebx, eax
cmp dword [0x2a9f420], 0x959
jne 0x402b2e
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SignalObjectAndWait]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsExW]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push esi
lea eax, [ebp - 0x800]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
call dword [sym.imp.KERNEL32.dll_HeapUnlock]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
lea eax, [ebp - 0x1000]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push esi
lea eax, [ebp - 0x400]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringA]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
call fcn.0040288d
add edi, 8
dec ebx
jne 0x402a8f
pop edi
pop ebx
pop esi
leave
ret
Function at 0x403ba0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42a0c8]
jne 0x403baa
repz ret
jmp fcn.00406ade

Function at 0x406704
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.0040493f
and dword [ebp - 4], 0
cmp dword [0x42bcac], 0
mov ebx, eax
jne 0x4067b5
push 0x401a28
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406866
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401a1c
push edi
call esi
test eax, eax
je 0x406866
push eax
call fcn.004048cd
mov dword [esp], 0x401a0c
push edi
mov dword [0x42bcac], eax
call esi
push eax
call fcn.004048cd
mov dword [esp], 0x4019f8
push edi
mov dword [0x42bcb0], eax
call esi
push eax
call fcn.004048cd
mov dword [esp], 0x4019dc
push edi
mov dword [0x42bcb4], eax
call esi
push eax
call fcn.004048cd
pop ecx
mov dword [0x42bcbc], eax
test eax, eax
je 0x4067b5
push 0x4019c4
push edi
call esi
push eax
call fcn.004048cd
pop ecx
mov dword [0x42bcb8], eax
mov eax, dword [0x42bcb8]
cmp eax, ebx
je 0x40680d
cmp dword [0x42bcbc], ebx
je 0x40680d
push eax
call fcn.00404948
push dword [0x42bcbc]
mov esi, eax
call fcn.00404948
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40680d
test edi, edi
je 0x40680d
call esi
test eax, eax
je 0x406804
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x406804
test byte [ebp - 0xc], 1
jne 0x40680d
or dword [ebp + 0x10], 0x200000
jmp 0x406846
mov eax, dword [0x42bcb0]
cmp eax, ebx
je 0x406846
push eax
call fcn.00404948
pop ecx
test eax, eax
je 0x406846
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406846
mov eax, dword [0x42bcb4]
cmp eax, ebx
je 0x406846
push eax
call fcn.00404948
pop ecx
test eax, eax
je 0x406846
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42bcac]
call fcn.00404948
pop ecx
test eax, eax
je 0x406866
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406868
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x16cc058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.016cc1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x16cc07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x16cc06a
add dl, dl
jne 0x16cc089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x16cc0dc
xor eax, eax
add dl, dl
jne 0x16cc096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x16cc17d
add dl, dl
jne 0x16cc0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16cc0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16cc0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16cc0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x16cc0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x16cc075
mov eax, 1
add dl, dl
jne 0x16cc0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16cc0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x16cc0e1
sub eax, ebx
mov ebx, 1
jne 0x16cc128
mov ecx, 1
add dl, dl
jne 0x16cc10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x16cc119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x16cc105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x16cc075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x16cc13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x16cc14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x16cc136
cmp eax, 0x7d00
jae 0x16cc16d
cmp eax, 0x500
jb 0x16cc168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x16cc075
cmp eax, 0x7f
ja 0x16cc170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x16cc075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x16cc19e
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 0x16cc075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x9c0370
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 0x9c038e
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 0x9e9074
push ecx
mov edi, eax
call fcn.009d4198
mov esi, eax
add esp, 8
test esi, esi
jne 0x9c03cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.009d402e
push esi
call fcn.009d3fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x9c3850
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 0x9c38ae
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 0x9ee720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x9c38ba
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.009d41e1
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 0x9c38ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x9ee720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x9c392a
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.009d5082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x9c3957
mov word [eax], si
add eax, 2
push eax
call fcn.009d5030
add esp, 4
jmp 0x9c3959
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 0x9c38ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x9c38b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

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

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x9c40c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x9e9458
push ecx
call fcn.009d41e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.009d41e1
add esp, 0x10
jmp 0x9c40d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.009d420b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.009d3dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.009c4050
mov eax, dword [0x9ee728]
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 0x9c413b
push esi
call fcn.009c3fb0
add esp, 4
mov dword [0x9ee728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x9c414c
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.009c3ff0
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 0x9c7440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x9c74b7
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 0x9c748e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x9c7471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x9c747e
add edx, ecx
cmp ebx, edx
jb 0x9c748a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x9c7467
xor ecx, ecx
jmp 0x9c74a2
test eax, eax
jne 0x9c7492
xor ecx, ecx
jmp 0x9c74a2
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.009c73c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x9c78f0
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 0x9c7921
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 0x9c7946
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 0x9c796e
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 0x9c7993
push ecx
push esi
call fcn.009c74c0
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