joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418000
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430771
mov eax, dword fs:[0]
push eax
sub esp, 0x168
push ebx
push esi
push edi
mov eax, dword [0x43dfc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push 1
push str.O:BAG:BAD:_A__CCDCSW___WD__A__CCDCSW___s_1_15_2_1_S:_ML___NX___LW_
mov dword [ebp - 0x10], ebx
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
je 0x418159
mov eax, dword [ebp - 0x10]
push eax
mov dword [ebp - 0x14], eax
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorLength]
push ebx
push ebx
push ebx
push ebx
mov ebx, dword [ebp + 8]
push str.LaunchPermission
push ebx
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, 2
jne 0x4180dc
push edi
push esi
push 3
push 0
push str.LaunchPermission
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x4180dc
push 1
lea ecx, [ebp - 0xc4]
call fcn.00406150
mov dword [eax + 0x60], 0xa
add eax, 0x10
push str.ERROR:_couldnt_set_sd_in_registry
push eax
mov dword [ebp - 4], 1
call fcn.00404170
push eax
call fcn.00405590
add esp, 0xc
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0xffffffff
call fcn.0040c2b0
lea edx, [ebp - 0x5c]
push edx
mov dword [ebp - 0x5c], vtable.std::ios_base.0
call fcn.0041aa80
add esp, 4
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4180ea
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 1
lea ecx, [ebp - 0x174]
call fcn.00406150
mov dword [eax + 0x60], 0xa
add eax, 0x10
push str.sd_set
push eax
mov dword [ebp - 4], 2
call fcn.00404170
push eax
call fcn.00405590
add esp, 0xc
lea ecx, [ebp - 0x10c]
mov dword [ebp - 4], 0xffffffff
call fcn.0040c2b0
lea eax, [ebp - 0x10c]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0041aa80
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 1
lea ecx, [ebp - 0xc4]
call fcn.00406150
mov dword [eax + 0x60], 0xa
add eax, 0x10
push str.ERROR:_couldnt_create_sd
push eax
mov dword [ebp - 4], ebx
call fcn.00404170
push eax
call fcn.00405590
add esp, 0xc
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0xffffffff
call fcn.0040c2b0
lea ecx, [ebp - 0x5c]
push ecx
mov dword [ebp - 0x5c], vtable.std::ios_base.0
call fcn.0041aa80
add esp, 4
jmp 0x4180ea
Function at 0x41b771
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43dfc0]
jne 0x41b77b
repz ret
jmp fcn.00420a8b

Function at 0x42aaa7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43dfc0]
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.00420baf
and dword [ebp - 0x14], 0
cmp dword [0x4405a8], 0
mov dword [ebp - 0x18], eax
jne 0x42ab5a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x42ac02
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x436b4c
push ebx
call edi
test eax, eax
je 0x42ac02
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4405a8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4405ac], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4405b0], eax
call edi
push eax
call esi
mov dword [0x4405b8], eax
test eax, eax
je 0x42ab5a
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4405b4], eax
mov eax, dword [0x4405b4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x42abb3
cmp dword [0x4405b8], ecx
je 0x42abb3
push eax
call esi
push dword [0x4405b8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x42abb3
test ebx, ebx
je 0x42abb3
call edi
test eax, eax
je 0x42abaa
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x42abaa
test byte [ebp - 8], 1
jne 0x42abb3
or dword [ebp + 0x10], 0x200000
jmp 0x42abe6
mov eax, dword [0x4405ac]
cmp eax, dword [ebp - 0x18]
je 0x42abe6
push eax
call esi
test eax, eax
je 0x42abe6
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42abe6
mov eax, dword [0x4405b0]
cmp eax, dword [ebp - 0x18]
je 0x42abe6
push eax
call esi
test eax, eax
je 0x42abe6
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4405a8]
call esi
test eax, eax
je 0x42ac02
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x42ac04
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b771
leave
ret
Function at 0x1000aa83
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000aac2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000aac2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000aac2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1000aac2
cmp dword [ecx + 0x74], 0xe
jbe 0x1000aac2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1000d73f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000d7dc
push ebx
push esi
call fcn.1000d708
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000d69c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000d789
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000d7db
push edi
push eax
call fcn.1000e6fa
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000d7a9
call fcn.1000c1e4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000d7da
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000d69c
add esp, 0x20
test eax, eax
jne 0x1000d7c8
push edi
call fcn.1000c1e4
jmp 0x1000d7d0
push ebx
call fcn.1000c1e4
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1000da49
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10015678
push 0x10015670
push str.FlsAlloc
push 0x1f
call fcn.1000d965
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000da7d
push dword [ebp + 8]
mov ecx, esi
call dword [0x10014158]
call esi
jmp 0x1000da83
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000dac7
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10015688
push 0x10015680
push str.FlsGetValue
push 0x21
call fcn.1000d965
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000dafe
push dword [ebp + 8]
mov ecx, esi
call dword [0x10014158]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1000db06
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10015690
push 0x10015688
push str.FlsSetValue
push 0x22
call fcn.1000d965
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000db40
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10014158]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x100131c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100131ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100131ed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x421f90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16000]
push edi
jmp 0x421faa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x421fb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x421fa0
mov eax, 1
add ebx, ebx
jne 0x421fc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x421fb8
jne 0x421fd4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x421fb8
xor ecx, ecx
sub eax, 3
jb 0x421fe8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42205a
mov ebp, eax
add ebx, ebx
jne 0x421ff3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x422000
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x422024
inc ecx
add ebx, ebx
jne 0x422010
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x422005
jne 0x422021
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x422005
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x422044
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x422035
jmp 0x421fa6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x422044
add edi, ecx
jmp 0x421fa6
pop esi
mov edi, esi
mov ecx, 0x43a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x422062
cmp byte [edi], 1
jne 0x422062
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 0x422067
lea edi, [esi + 0x1f000]
mov eax, dword [edi]
or eax, eax
je 0x4220df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x22000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x22094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x422094
mov ecx, edi
jns 0x4220c3
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 + 0x2209c]
or eax, eax
je 0x4220d9
mov dword [ebx], eax
add ebx, 4
jmp 0x4220b1
call dword [esi + 0x22098]
mov ebp, dword [esi + 0x220a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x422113
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x403524
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
mov eax, dword [0x43f998]
or edx, dword [ebp - 0x18]
sub eax, eax
cmp dword [0x43fd84], 0xbd
jge 0x403560
mov eax, dword [0x43fca8]
mov ecx, dword [ebp - 0x68]
mov di, 2
mov esi, dword [ebp - 0x28]
sub eax, edx
mov dword [ebp - 0x68], eax
mov dword [0x43fa78], ecx
mov dword [ebp - 0x7c], ecx
mov dword [0x43fb1c], eax
push 0xf9
push eax
mov dword [ebp - 0x34], eax
push dword [ebp - 0x3c]
mov eax, dword [ebp - 0x90]
mov eax, dword [ebp - 0x64]
or eax, ecx
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
mov edi, dword [0x43fa2c]
mov edi, dword [ebp - 0x7c]
add eax, edi
cmp eax, dword [0x43fb24]
je 0x4035be
mov eax, dword [0x43f998]
mov edx, dword [0x43f998]
mov eax, dword [ebp - 0x54]
mov eax, 0x6a
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x24], edx
mov dword [0x43f998], ecx
mov dword [0x43fd44], eax
mov eax, dword [0x43faf0]
mov dword [0x43fcc8], esi
push ecx
push eax
mov eax, dword [ebp - 0x2c]
push eax
push 2
call sub.kernel32.dll_GetFileType
mov ecx, dword [0x43fc34]
mov eax, dword [ebp - 0x8c]
mov di, 0x3d
mov eax, dword [0x43fd18]
cmp dword [0x43f9e4], 0x10
ja 0x40361f
mov esi, dword [0x43fce4]
mov eax, dword [0x43fca8]
mov eax, dword [ebp - 0x8c]
and eax, edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], ecx
xor dword [0x43fa58], 0x999999
mov dword [ebp - 0x34], eax
or dword [0x43fb84], 0xffffff
mov ecx, dword [0x43fc28]
mov eax, dword [ebp - 0x10]
leave
ret 0x10
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x5b5e7d4b
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0xee0789e
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401021
Capabilities:
Create thread
Shutdown system

Disassembly:
push esi
push edi
push 0x14
pop esi
xor edi, edi
push edi
push edi
push edi
push 0x4010fe
push 0x1000
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esi, 1
jne 0x401028
pop edi
pop esi
jmp fcn.00401050
Function at 0x53e130
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x516015
lea edi, [esi - 0x115015]
mov dword [edi + 0x133fc8], 0xd7b600ff
push edi
or ebp, 0xffffffff
jmp 0x53e15a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x53e161
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53e150
mov eax, 1
add ebx, ebx
jne 0x53e173
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x53e184
jne 0x53e1a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53e1a3
dec eax
add ebx, ebx
jne 0x53e190
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x53e168
add ebx, ebx
jne 0x53e19f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x53e1f5
xor ecx, ecx
sub eax, 3
jb 0x53e1bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x53e22a
sar eax, 1
mov ebp, eax
jmp 0x53e1c6
add ebx, ebx
jne 0x53e1c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53e194
inc ecx
add ebx, ebx
jne 0x53e1d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53e194
add ebx, ebx
jne 0x53e1e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x53e1d6
jne 0x53e1f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x53e1d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x53e214
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x53e206
jmp 0x53e156
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x53e214
add edi, ecx
jmp 0x53e156
pop esi
mov edi, esi
mov ecx, 0x2c80
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x53e232
cmp byte [edi], 5
jne 0x53e232
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 0x53e237
lea edi, [esi + 0x13b000]
mov eax, dword [edi]
or eax, eax
je 0x53e2a6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x13f810]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x13f8ec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x53e264
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x13f8f0]
or eax, eax
je 0x53e2a0
mov dword [ebx], eax
add ebx, 4
jmp 0x53e281
call dword [esi + 0x13f900]
mov ebp, dword [esi + 0x13f8f4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x13e301]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x53e2f2
sub esp, 0xffffff80
jmp 0x4014b0
Function at 0x406273
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x406298
mov eax, dword [0x40a8a0]
cmp eax, 0xffffffff
je 0x40628f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x40a8a0], 0xffffffff
jmp 0x40630b
cmp dword [0x440a40], ebx
je 0x40630b
cmp byte [0x440640], bl
je 0x4062d7
cmp dword [0x40a8a0], 0xffffffff
jne 0x4062e0
push 4
push 0x40000000
push 0x440640
call fcn.00405c27
cmp eax, 0xffffffff
mov dword [0x40a8a0], eax
je 0x40630b
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x40a8a0], 0xffffffff
je 0x40630b
push esi
mov esi, 0x444a60
push 0x40aae8
push esi
call fcn.00405f75
lea eax, [ebp + 8]
push ebx
push eax
push esi
call fcn.00405f68
push eax
push esi
push dword [0x40a8a0]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4064bd
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x44023c], esi
push edi
jne 0x4064f7
mov ecx, 0x440238
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x4064d3
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x440638
jl 0x4064ce
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x40652c
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x440238]
xor eax, esi
inc ecx
dec edx
jne 0x40650f
pop edi
pop esi
not eax
ret 0xc

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x430006
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0xfb9370
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 0xfb938e
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 0xfe2074
push ecx
mov edi, eax
call fcn.00fcd198
mov esi, eax
add esp, 8
test esi, esi
jne 0xfb93cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00fcd02e
push esi
call fcn.00fccfb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xfbc850
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 0xfbc8ae
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 0xfe7720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xfbc8ba
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.00fcd1e1
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 0xfbc8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xfe7720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xfbc92a
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.00fce082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xfbc957
mov word [eax], si
add eax, 2
push eax
call fcn.00fce030
add esp, 4
jmp 0xfbc959
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 0xfbc8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xfbc8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xfbcff0
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