joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447ed0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44f719
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x46e02c]
xor eax, esp
mov dword [esp + 0x30], eax
push edi
mov eax, dword [0x46e02c]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov dword [esp + 0x4c], 0
call dword [sym.imp.MSVCP90.dll_public:_class_std::_String_const_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::end_void_]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov edi, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::_String_const_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::begin_void_]
mov edx, dword [edi + 4]
mov ecx, dword [edi]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00408f20
add esp, 0x18
push str..xml
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
mov ecx, ebx
call fcn.00447d20
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
jae 0x447f78
lea eax, [esp + 0x20]
mov ecx, ebx
call fcn.004087f0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x48], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00449014
mov esp, ebp
pop ebp
ret
Function at 0x448360
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x44c519
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x46e02c]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebp
push esi
push edi
mov eax, dword [0x46e02c]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::clear_void_]
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 8
lea eax, [esp + 0x34]
push eax
push 0x59
push 0x400
call esi
test eax, eax
je 0x448448
lea ecx, [esp + 0x30]
push ecx
mov ecx, edi
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const__]
push 8
lea edx, [esp + 0x34]
push edx
push 0x5a
push 0x400
call esi
test eax, eax
je 0x4483ef
push 0x5f
mov ecx, edi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::push_back_char_]
lea eax, [esp + 0x30]
push eax
mov ecx, edi
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const__]
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::locale::constructor_void_]
mov ebp, eax
lea esi, [esp + 0x20]
mov dword [esp + 0x48], 0
call fcn.00409800
mov edx, dword [esp + 0x14]
mov byte [esp + 0x18], 0
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ebp
push ecx
mov ecx, dword [eax + 0xc]
push edx
mov edx, dword [eax + 8]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
lea esi, [esp + 0x3c]
call fcn.0040aa70
add esp, 0x24
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::locale::destructor_void_]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00449014
add esp, 0x3c
ret
Function at 0x448470
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
sub esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x44847e
mov eax, dword [eax + 4]
jmp 0x448481
add eax, 4
push esi
push 0
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
je 0x44858f
push ebx
push ebp
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push esi
call edi
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x18], 0
call edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
mov ebp, eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call edi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0xfffffffffffffffc
push esi
mov ebx, eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, eax
je 0x44852f
cmp dword [esp + 0x10], ebp
jne 0x44852f
cmp edi, ebx
je 0x44852f
mov ebp, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push ebx
push edi
call ebp
test eax, eax
je 0x44852f
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x448506
push 1
jmp 0x448508
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 1
push 0
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0
push ebx
push edi
call ebp
pop edi
pop ebp
pop ebx
pop esi
add esp, 0xc
ret
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x44853e
push 1
jmp 0x448540
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0x2000
call edi
push 2
lea edx, [esp + 0x18]
push edx
push 0
push 0x2001
mov dword [esp + 0x24], 0
call edi
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 2
lea eax, [esp + 0x1c]
push eax
push 0
push 0x2001
call edi
pop edi
pop ebp
pop ebx
pop esi
add esp, 0xc
ret
Function at 0x448ac0
Capabilities:
Enumerate gui resources

Disassembly:
push ecx
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowA]
push 0
push str.SwitchBoardLauncher
call esi
test eax, eax
je 0x448ada
mov al, 1
pop esi
pop ecx
ret
push 0
push 0x45b59c
call esi
test eax, eax
jne 0x448aec
xor al, al
pop esi
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
lea eax, [esp + 4]
push eax
push 0x448a00
mov dword [esp + 0xc], esi
call dword [sym.imp.USER32.dll_EnumWindows]
xor eax, eax
cmp esi, dword [esp + 4]
pop esi
setne al
pop ecx
ret

Function at 0x449014
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46e02c]
jne 0x44901e
repz ret
jmp fcn.0044957d
Function at 0x40eba9
Capabilities:
Encode data using xor

Disassembly:
test eax, 0x4b8c0d13
cmp edi, dword [esi + 0x2bccf849]
pop ecx
std
inc edi
inc esp
push cs
inc ebp
or byte [edx + 0x76], ch
aas
fcmovnbe st(0), st(0)
mul dword [edx*8 + 0x1e14536f]
push ds
push ds
out 0x69, eax
inc esp
movsd dword es:[edi], dword [esi]
push cs
dec esp
pop ecx
daa
pop edi
xor edx, dword [edi - 0x2defa79a]
push 0xffffffffffffff9c
and ebx, esi
mov al, 0x72
push 0xffffffffffffffc9
loopne 0x40ebac
or eax, dword [esi]
jle 0x40ebdd
mov ecx, 0xa75d143a
fadd qword [edi]
test eax, 0x3a58eca8
mov al, 0xec
adc byte [ebx - 0x3d3ae4c5], dl
add bh, 0x25
nop
test byte [ebx], dl
test eax, 0xab57662f
and eax, 0xa9138490
das
push di
stosd dword es:[edi], eax
adc eax, 0xa27024ce
add dword [ebx + 0x33], edi
mov eax, 0x5d15d06f
push edi
mov ecx, 0x93731e44
push ds
jae 0x40eb8c
push 0x7567f94
jne 0x40ec7b
fisubr word [ecx - 0x2c87eb53]
lea eax, [edx]
loop 0x40ec22
jns 0x40eb9c
add byte [eax - 0x53cbabfa], dh
rep movsd dword es:[edi], dword [esi]
jnp 0x40ebf6
aam 0x37
stosd dword es:[edi], eax
retf
pushal
retf 0x19e5
stosd dword es:[edi], eax
pushfd
inc edx
sub bh, bh
pop esi
or dword [ebp*8 + 0x394d0bd3], edx
sbb eax, 0xdedce374
dec ebp
cmp dword [0xdedce374], ebx
in al, 0x60
xchg esp, eax
pop esp
jns 0x40ecec
sbb eax, 0x17d9ac0f
jp 0x40ec86
cmp al, al
ror dword [edi], cl
invalid
push edx
ret
and eax, 0xae650e62
lds edi, [eax - 0x63efb054]
pop eax
pop es
sub al, 9
push ss
mov word [ecx - 0x33c381eb], fs
sal byte [ebp + 0x46d85e8e], 0xac
ja 0x40ecb5
stosd dword es:[edi], eax
rcl byte [esi]
push ss
jg 0x40ecc6
adc dword fs:[ebp + edx*2 - 0x4f], eax
jl 0x40ed0e
inc esp
push ebp
mov cl, 0x26
jl 0x40ed0e
or edx, dword [edi]
push ecx
push 0xffffffffffffff9f
outsb dx, byte [esi]
mov cl, 0x4e
stosb byte es:[edi], al
push 0x5e
mov esp, 0x9cdfb5c9
invalid
xchg edi, eax
int1
and eax, dword [ebx]
jle 0x40ed4d
inc ebx
xchg ebp, eax
xor bl, bl
adc al, 0x38
xor ah, 0xa5
out 0x3c, eax
test byte [ecx + edi*4], ah
and dword [ecx], ebx
test byte [edx - 0x66ec8584], dh
mov eax, dword [0xbba27e27]
adc edx, dword [ecx + 0xdf54220]
jmp 0x40ece7
invalid

Function at 0x43dd4a
Capabilities:
Encode data using xor

Disassembly:
xchg ebx, eax
js 0x43dda2
fsubrp st(5)
pushal
mov word [esi - 0x1e], gs
add al, 0x62
pop esi
sub edx, dword [ebp + 0x6a5c76f5]
mov cs, word [0x5d6bad94]
das
or dword [esi], ebx
dec edx
mov byte [0x7d8eca52], al
jge 0x43dd2a
mov cl, ah
dec edi
in eax, dx
push ebx
jge 0x43dd2a
mov cl, ah
dec edi
in eax, dx
push ebx
pop ebx
sub bh, al
adc bl, byte [eax]
aad 0xf4
xchg edx, eax
call 0x3121e39c
sahf
out 0x15, eax
invalid
cwde
fnstenv [0x43120270]
xor eax, 0x43120270
mov bh, 0xf9
push eax
clc
sub dword [esi - 0x52], 0xffffffc3
dec esp
add eax, dword [edx + edx]
push 0xd026d5e4
sub byte [edx], al
xor esi, edi
dec ebx
wait
jnp 0x43dda4
invalid
Function at 0x43e1b1
Capabilities:
Check for software breakpoints

Disassembly:
push 0xffffffffffffffb1
lahf
cmp al, 0xcc
sti
mov esi, 0xee30eabc
mov byte [edi], ah
into
imul esp, dword [bx + si + 0x1714], 0x57afbcbf
or al, bl
lahf
test dword [0xf9d6060d], ecx
mov fs, edi
cmp dword [ebx + 0x4d7e17a8], esp
ret 0x1da
or esp, 0xadacdb1a
dec ecx
push ecx
pop esp
inc edx
cld
cwde
jne 0x43e115
xchg ebp, eax
invalid
xor bh, al
xchg esi, eax
jne 0x43e17e
cmp dh, ch
sub eax, 0x99f0b846
push ds
mov al, 0x1a
std
inc esi
mov eax, 0xb01e99f0
sbb bh, ch
pop ss
or dh, 0x87
inc edx
jecxz 0x43e1b9
adc dh, dh
cmp al, 0xb2
sbb al, 0xc4
leave
fsubp st(0)
sub byte [ecx], cl
push edx
mov ch, 0x26
jle 0x43e213
sub ebx, dword [ebx - 0x3e]
xor eax, 0xd7d2c0bb
cld
clc
mov dl, 0xc
mov byte [0x3bb6734f], al
push ecx
jae 0x43e178
call 0x4e20cd5b
inc ebx
mov dh, 0x34
adc edi, dword [ecx - 0x7f1347f3]
mov dl, 0x4e
cmpsb byte [esi], byte es:[edi]
fidiv dword [ecx]
test eax, 0xdf987163
pop ecx
xor dword [esi - 0x79c22f87], ebp
sub ch, byte [ebp + 0x50]
fidiv dword [ebx + 0x65]
fidivr dword [ebx + 0x1a]
jnp 0x43e22f
fidivr word [edx + 8]
invalid
or dword [esi], eax
and cl, byte [eax]
int1
add byte [ecx - 0x70], ch
int3

Function at 0x444109
Capabilities:
Encode data using xor

Disassembly:
sbb dword [ecx], esp
scasd eax, dword es:[edi]
jp 0x444107
pop edx
cmp dh, byte [eax + esi*4 - 0x185803eb]
lodsd eax, dword [esi]
aam 0x32
pop es
cli
push ebx
mov cl, 0x15
jb 0x4440d5
push ss
cmp cl, byte [ebp - 0x54]
push edx
int3

Function at 0x4549de
Capabilities:
Check for software breakpoints

Disassembly:
inc ebp
cmp al, 0xae
sbb dl, bl
mov esi, 0x23d6c2cf
mov al, 0x42
mov ecx, 0xa4cf4cbe
invalid

Function at 0x4aee90
Capabilities:
Encode data using xor

Disassembly:
pop ds
inc esi
adc byte [eax - 0x2b], 0xb
adc byte [0x52e0d1e4], 0xda
and dl, ah
stosb byte es:[edi], al
les ebp, [edx + 0x692a2a82]
arpl word [edx - 0x512a6d56], ax
test al, 0x9e
push ds
stosb byte es:[edi], al
test eax, 0x7588b893
mov byte [0x68b2de8], al
fstp dword [ebp - 0x7a9d7909]
mov esi, 0xe202fdc5
push esp
insb byte es:[edi], dx
cmp ebx, dword [esi - 0x24505cd]
nop
mov edx, 0xdd3aaaba
pop edx
dec edx
and byte [edx + 0x30], 0x32
xor dword [edi + ebp*4], 0xfffffffa
wait
lea eax, [ebx]
pop edx
loop 0x4aeeb7
fistp qword [ebx + 0x2a0152f4]
repne scasd eax, dword es:[edi]
mov bh, byte [ebx - 0x591d0f0d]
pop ss
adc esi, dword [edx - 0x21]
in al, dx
stosd dword es:[edi], eax
mov gs, word [ebp + 0x1fb88068]
ret 0xb33e
Function at 0x4b3006
Capabilities:
Encode data using xor

Disassembly:
adc eax, 0xc7b4cd8d
aaa
ret 0x4000
jg 0x4b3039
fmul dword [edx - 0xf]
wait
cmpsd dword [esi], dword es:[edi]
cmp byte [ebp + 0x4f7c5c32], ch
jns 0x4b2ff7
je 0x4b2f84
retf
loopne 0x4b2ff2
mov ebp, dword [ecx]
sal dword [edx - 0x6e], cl
jne 0x4b3054
scasb al, byte es:[edi]
inc ebx
enter 0xffffffffffffe9e4, 0x68
dec eax
pop edi
wait
das
inc ebp
or eax, 0xc1501bc
pop ebp
mov gs, word [eax]
arpl ax, bp
mov dword [0xcad867ac], eax
sub al, 0xc3
stosb byte es:[edi], al
mov esi, dword [esi + esi*8 - 0x19]
std
dec dword [ecx + 0x1b]
jg 0x4b30b2
dec ecx
nop
test dword [ebp + 0x7b55b771], esi
jo 0x4b304f
inc ebp
invalid
and dh, ah
jecxz 0x4b30a1
cmpsb byte [esi], byte es:[edi]
shr dword [ebx], 0x96
invalid
dec ebx
adc cl, byte [0x60ba3235]
push 0x9211dd92
inc byte [edx + 0x4e]
inc esp
out dx, eax
pop ebx
xlatb
mov bh, 0x1d
pop ss
adc dl, byte [edx + 0x71003215]
mov ah, 0x6a
inc eax
push ecx
adc ecx, dword [esi]
sub al, 0x2c
dec edx
dec ebx
mov bl, 0x11
mov eax, 0xdb94c092
add ah, byte [edx - 0x20]
clc
rcr cl, 4
inc ecx
fnstsw word [ebp - 0x56]
push es
fiadd dword [edi - 0x4d86fb4c]
mov byte [eax + 0x1c], 0xc2
mov ebx, 0xc2eadd86
and dh, byte [esi - 0x14]
jg 0x4b311c
idiv byte [ebx]
fbstp tbyte [ecx - 0x2b4a788]
and dword [esi], esi
cdq
hlt
invalid

Function at 0x4b5514
Capabilities:
Encode data using xor

Disassembly:
mov ah, byte [esi + 0x71ff2661]
push edx
sbb byte [esi + 1], dh
popfd
int 0xdd
xchg ebp, eax
pop esp
push edx
cmp edi, dword [ebx - 0x3a]
invalid
jecxz 0x4b54ca
push cs
Function at 0x4bd765
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c63b0
cmp edx, dword [eax]
je 0x4bd787
add eax, 8
inc ecx
cmp eax, 0x4c6440
jl 0x4bd778
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c63b0]
jne 0x4bd8b5
mov eax, dword [0x4cad4c]
cmp eax, 1
je 0x4bd88f
test eax, eax
jne 0x4bd7b8
cmp dword [0x4c62d8], 1
je 0x4bd88f
cmp edx, 0xfc
je 0x4bd8b5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bd7ef
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004be150
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004be5e0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bd832
lea eax, [ebp - 0x1a4]
push eax
call fcn.004be5e0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c2abc
push edi
call fcn.004c04b0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004be150
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004be160
lea eax, [ebp - 0xa0]
push 0x4c2a9c
push eax
call fcn.004be160
push dword [esi + 0x4c63b4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004be160
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004c0424
add esp, 0x2c
pop edi
jmp 0x4bd8b5
lea eax, [ebp + 8]
lea esi, [esi + 0x4c63b4]
push 0
push eax
push dword [esi]
call fcn.004be5e0
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 0x97e370
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 0x97e38e
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 0x9a7074
push ecx
mov edi, eax
call fcn.00992198
mov esi, eax
add esp, 8
test esi, esi
jne 0x97e3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0099202e
push esi
call fcn.00991fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x981850
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 0x9818ae
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 0x9ac720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x9818ba
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.009921e1
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 0x9818ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x9ac720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x98192a
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.00993082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x981957
mov word [eax], si
add eax, 2
push eax
call fcn.00993030
add esp, 4
jmp 0x981959
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 0x9818ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x9818b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

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

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x9820c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x9a7458
push ecx
call fcn.009921e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.009921e1
add esp, 0x10
jmp 0x9820d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0099220b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00991dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00982050
mov eax, dword [0x9ac728]
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 0x98213b
push esi
call fcn.00981fb0
add esp, 4
mov dword [0x9ac728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x98214c
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.00981ff0
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 0x985440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x9854b7
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 0x98548e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x985471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x98547e
add edx, ecx
cmp ebx, edx
jb 0x98548a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x985467
xor ecx, ecx
jmp 0x9854a2
test eax, eax
jne 0x985492
xor ecx, ecx
jmp 0x9854a2
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.009853c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x9858f0
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 0x985921
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 0x985946
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 0x98596e
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 0x985993
push ecx
push esi
call fcn.009854c0
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