joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10043b5c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10043b74
push 0
call dword [sym.imp.KERNEL32.dll_LockResource]
jmp 0x10043baf
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
shl eax, 2
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
sub ecx, eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [eax + 0x20], ecx
mov esp, ebp
pop ebp
ret
Function at 0x100687f5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1006f170]
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.10064e5d
mov dword [ebp - 0x14], eax
cmp dword [0x1065b578], esi
jne 0x100688e8
push 0x800
push esi
push 0x10006574
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10068875
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x100689c8
push esi
push esi
push 0x10006574
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x100689c8
push 0x1000658c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100689c8
push eax
call ebx
push 0x10006598
push edi
mov dword [0x1065b578], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100065a8
push edi
mov dword [0x1065b57c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100065bc
push edi
mov dword [0x1065b580], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1065b588], eax
test eax, eax
je 0x100688e5
push 0x100065d8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1065b584], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1006890d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10068900
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10068922
push 4
pop eax
jmp 0x100689ca
cmp dword [ebp - 0x14], esi
je 0x10068922
push dword [0x1065b578]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10068907
mov eax, dword [0x1065b584]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10068980
cmp dword [0x1065b588], edi
je 0x10068980
push eax
call ebx
push dword [0x1065b588]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10068980
test eax, eax
je 0x10068980
call ecx
test eax, eax
je 0x10068975
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 0x10068975
test byte [ebp - 8], 1
jne 0x10068980
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x100689b0
mov eax, dword [0x1065b57c]
cmp eax, edi
je 0x100689ad
push eax
call ebx
test eax, eax
je 0x100689ad
call eax
mov esi, eax
test esi, esi
je 0x100689ad
mov eax, dword [0x1065b580]
cmp eax, edi
je 0x100689ad
push eax
call ebx
test eax, eax
je 0x100689ad
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1065b578]
call ebx
test eax, eax
je 0x100689c8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x100689ca
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005d5c2
mov esp, ebp
pop ebp
ret
Function at 0x41ce60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x12000]
push edi
or ebp, 0xffffffff
jmp 0x41ce82
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41ce89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41ce78
mov eax, 1
add ebx, ebx
jne 0x41ce9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ce90
jne 0x41ceac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ce90
xor ecx, ecx
sub eax, 3
jb 0x41cec0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41cf32
mov ebp, eax
add ebx, ebx
jne 0x41cecb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41ced8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41cefc
inc ecx
add ebx, ebx
jne 0x41cee8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41cedd
jne 0x41cef9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41cedd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41cf1c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41cf0d
jmp 0x41ce7e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41cf1c
add edi, ecx
jmp 0x41ce7e
pop esi
mov edi, esi
mov ecx, 0xc54
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41cf3a
cmp byte [edi], 2
jne 0x41cf3a
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 0x41cf3f
lea edi, [esi + 0x1a000]
mov eax, dword [edi]
or eax, eax
je 0x41cfb7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1d340]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1d3b8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41cf6c
mov ecx, edi
jns 0x41cf9b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1d3bc]
or eax, eax
je 0x41cfb1
mov dword [ebx], eax
add ebx, 4
jmp 0x41cf89
call dword [esi + 0x1d3c0]
popal
jmp 0x4121cf
Function at 0x4012b0
Capabilities:
Read file on windows

Disassembly:
push ecx
mov al, byte [0x40de88]
test al, al
je 0x4012be
mov al, 1
pop ecx
ret
mov eax, dword [esp + 8]
push ebx
push ebp
xor ebp, ebp
push 0x8000
push eax
mov dword [0x40de80], ebp
mov byte [esp + 0x13], 0
call fcn.00402f5a
mov ecx, dword [esp + 0x1c]
push 0x8000
push ecx
mov ebx, eax
call fcn.00402f5a
add esp, 0x10
cmp ebx, ebp
mov dword [esp + 0x10], eax
je 0x40140c
push esi
cmp eax, ebp
push edi
je 0x4013fd
push eax
call fcn.00409d20
push ebx
mov esi, eax
call fcn.00409d20
add esp, 8
cmp eax, esi
jne 0x4013fd
push 0x40000
call fcn.00402f4c
mov edi, dword [0x40de84]
push 0x40000
push edi
push ebx
mov dword [0x40de80], eax
mov esi, eax
call fcn.00403cd8
mov edx, dword [0x40de80]
mov eax, dword [esp + 0x28]
push 0x40000
push edx
push eax
call fcn.00403cd8
add esp, 0x1c
sar eax, 2
mov ecx, ebp
inc ebp
cmp ecx, eax
jne 0x4013af
cmp eax, 0x10000
jl 0x4013f8
mov eax, dword [0x40de84]
mov esi, dword [0x40de80]
push 0x40000
push eax
push ebx
mov ebp, 1
mov edi, eax
call fcn.00403cd8
mov edx, dword [0x40de80]
mov eax, dword [esp + 0x24]
push 0x40000
push edx
push eax
call fcn.00403cd8
add esp, 0x18
cmp eax, 8
jl 0x4013bf
sar eax, 2
mov ecx, dword [edi]
mov edx, dword [esi]
add esi, 4
add edi, 4
cmp ecx, edx
jne 0x4013fd
jmp 0x40135e
test eax, eax
je 0x4013f8
mov ebp, dword [0x40de84]
xor ecx, ecx
test eax, eax
jle 0x4013e6
mov edi, dword [0x40de80]
mov esi, ebp
sub edi, ebp
mov dl, byte [esi]
cmp dl, byte [edi + esi]
jne 0x4013e6
inc ecx
inc esi
cmp ecx, eax
jl 0x4013d9
cmp ecx, eax
jne 0x4013fd
mov edx, dword [0x40de80]
mov al, byte [ecx + ebp]
cmp al, byte [edx + ecx]
jne 0x4013fd
mov byte [esp + 0x13], 1
push ebx
call fcn.00402e99
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
je 0x40141b
push eax
call fcn.00402e99
add esp, 4
mov eax, dword [0x40de80]
push eax
call fcn.00402e8e
mov al, byte [esp + 7]
add esp, 4
pop ecx
ret
Function at 0x4017e0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
push edi
push 0x40000
call fcn.00402f4c
push 0x40d414
mov dword [0x40de84], eax
call fcn.0040341d
push str.
call fcn.0040341d
push 0x40d3ac
call fcn.0040341d
push 0x40d35c
call fcn.0040341d
push 0x40d30c
call fcn.0040341d
push 0x40d2bc
call fcn.0040341d
push 0x40d26c
call fcn.0040341d
push 0x40d414
call fcn.0040341d
mov eax, dword [esp + 0x60]
mov ebx, 1
add esp, 0x24
mov edi, ebx
lea ebp, [eax - 1]
cmp ebp, ebx
jl 0x4018b6
mov ecx, dword [esp + 0x40]
lea esi, [ecx + 4]
mov edx, dword [esi]
push 0x40d268
push edx
call fcn.00409c50
add esp, 8
test eax, eax
jne 0x401883
mov byte [0x40de89], bl
push str._Using_the_RENAME__move__command_n
jmp 0x4018a6
mov eax, dword [esi]
push 0x40d240
push eax
call fcn.00409c50
add esp, 8
test eax, eax
jne 0x401948
mov byte [0x40de88], bl
push str._Relying_only_on_size_for_duplicate_checking_n
call fcn.0040341d
add esp, 4
inc edi
add esi, 4
cmp edi, ebp
jle 0x401862
push 0x40d414
call fcn.0040341d
push str._bulk
call fcn.00409d98
add esp, 8
xor esi, esi
push esi
lea ecx, [esp + 0x14]
push str._bulk__d
push ecx
call fcn.0040344e
lea edx, [esp + 0x1c]
push edx
call fcn.00409d98
add esp, 0x10
inc esi
cmp esi, 0xa
jl 0x4018cf
mov esi, 0x61
push esi
lea eax, [esp + 0x14]
push str._bulk__c
push eax
call fcn.0040344e
lea ecx, [esp + 0x1c]
push ecx
call fcn.00409d98
add esp, 0x10
inc esi
cmp esi, 0x66
jle 0x4018f7
call fcn.00401430
mov edx, dword [0x40de94]
mov eax, dword [0x40de90]
mov ecx, dword [0x40de8c]
push edx
push eax
push ecx
push str._rCopyed__d__with__d_dups_and__d_errors._n_n
call fcn.0040341d
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push str.Usage:__BULK___r____s__n_n
call fcn.0040341d
push str._t_r_uses_the_RENAME_function_to_MOVE_files__not_simply_COPY_them_n
call fcn.0040341d
push str._t_s_uses_ONLY_the_file_sizes_for_dup_checking__faster__but_not_as_safe__n
call fcn.0040341d
add esp, 0xc
push 0
call fcn.00403614
mov eax, dword [0x40dea4]
push esi
mov esi, ecx
mov ecx, eax
inc eax
test ecx, ecx
mov dword [0x40dea4], eax
jne 0x40199b
push 0x400
call fcn.00402f4c
add esp, 4
mov dword [0x40de98], eax
call fcn.00401a00
mov eax, esi
pop esi
ret

Function at 0x401a20
Capabilities:
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
push esi
xor eax, eax
mov esi, 8
shl ecx, 1
sar ecx, 1
mov edx, eax
xor edx, ecx
test dl, 1
je 0x401a42
shr eax, 1
xor eax, 0xedb88320
jmp 0x401a44
shr eax, 1
dec esi
jne 0x401a2e
pop esi
ret

Function at 0x401a50
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
test esi, esi
jle 0x401a94
mov ecx, dword [0x40de9c]
push ebx
push ebp
mov ebp, dword [0x40de98]
push edi
mov edi, dword [esp + 0x14]
xor edx, edx
mov ebx, ecx
mov dl, byte [eax + edi]
and ebx, 0xff
xor edx, ebx
shr ecx, 8
mov edx, dword [ebp + edx*4]
xor ecx, edx
inc eax
cmp eax, esi
mov dword [0x40de9c], ecx
jl 0x401a6e
pop edi
pop ebp
pop ebx
pop esi
ret
Function at 0x401aa0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
test edx, edx
je 0x401ae2
mov al, byte [edx]
test al, al
je 0x401ae2
mov ecx, dword [0x40de9c]
push esi
mov esi, dword [0x40de98]
push edi
mov edi, ecx
and eax, 0xff
and edi, 0xff
xor edi, eax
shr ecx, 8
mov eax, dword [esi + edi*4]
xor ecx, eax
inc edx
mov dword [0x40de9c], ecx
mov al, byte [edx]
test al, al
jne 0x401abc
pop edi
pop esi
ret

Function at 0x4073a1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40daa0
cmp edx, dword [eax]
je 0x4073c3
add eax, 8
inc ecx
cmp eax, 0x40db30
jl 0x4073b4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40daa0]
jne 0x4074f1
mov eax, dword [0x40df00]
cmp eax, 1
je 0x4074cb
test eax, eax
jne 0x4073f4
cmp dword [0x40d4f8], 1
je 0x4074cb
cmp edx, 0xfc
je 0x4074f1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40742b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00405b40
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00403ab0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40746e
lea eax, [ebp - 0x1a4]
push eax
call fcn.00403ab0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40b5f0
push edi
call fcn.00408ea0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00405b40
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00405b50
lea eax, [ebp - 0xa0]
push 0x40b5d0
push eax
call fcn.00405b50
push dword [esi + 0x40daa4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00405b50
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00408f9e
add esp, 0x2c
pop edi
jmp 0x4074f1
lea eax, [ebp + 8]
lea esi, [esi + 0x40daa4]
push 0
push eax
push dword [esi]
call fcn.00403ab0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x409cfc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00404c14
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x409d1d
test byte [esp + 8], 2
je 0x409d1d
mov dword [0x40deac], 0xd
mov dword [0x40deb0], 5
jmp 0x409cf8
xor eax, eax
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
mov edx, 0x43b3c1
and eax, eax
call fcn.0043b670
push eax
pop ecx
and ecx, eax
xor dword [esi], edx
or ecx, ecx
sub eax, 1
or ecx, ecx
add esi, 1
inc ecx
push eax
pop eax
cmp esi, edi
jne fcn.0043b636
or ecx, eax
or eax, eax
or ecx, eax
ret
Function at 0xa1d370
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 0xa1d38e
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 0xa46074
push ecx
mov edi, eax
call fcn.00a31198
mov esi, eax
add esp, 8
test esi, esi
jne 0xa1d3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00a3102e
push esi
call fcn.00a30fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xa20850
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 0xa208ae
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 0xa4b720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xa208ba
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.00a311e1
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 0xa208ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xa4b720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xa2092a
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.00a32082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xa20957
mov word [eax], si
add eax, 2
push eax
call fcn.00a32030
add esp, 4
jmp 0xa20959
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 0xa208ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xa208b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

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

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xa210c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xa46458
push ecx
call fcn.00a311e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00a311e1
add esp, 0x10
jmp 0xa210d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00a3120b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00a30dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00a21050
mov eax, dword [0xa4b728]
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 0xa2113b
push esi
call fcn.00a20fb0
add esp, 4
mov dword [0xa4b728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xa2114c
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.00a20ff0
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 0xa24440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xa244b7
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 0xa2448e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xa24471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xa2447e
add edx, ecx
cmp ebx, edx
jb 0xa2448a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xa24467
xor ecx, ecx
jmp 0xa244a2
test eax, eax
jne 0xa24492
xor ecx, ecx
jmp 0xa244a2
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.00a243c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0xa248f0
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 0xa24921
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 0xa24946
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 0xa2496e
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 0xa24993
push ecx
push esi
call fcn.00a244c0
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 0xa25c00
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 0xa25c4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0xa25c2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0xa25c38
add edx, eax
cmp ebx, edx
jb 0xa25c46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0xa25c21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0xa25c50
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 0xa25c70
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 0xa25cb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xa25c9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xa25ca8
add edx, ecx
cmp ebx, edx
jb 0xa25cb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0xa25c91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0xa25f60
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.00a32145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0xa25ffb
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 0xa25fdd
lea eax, [esp + 0x18]
push eax
jmp 0xa25fe2
push 0xa4b720
call fcn.00a31fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0xa25fb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0xa25f40
push 4
push ecx
push eax
call fcn.00a3243f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret