joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401cc0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x408044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40803c]
sub esp, 4
test ebx, ebx
je 0x401d0b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401d04
test esi, esi
je 0x401d04
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401ce0
mov dword [esp], 0x408044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401ef0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x401f40
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x402018
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x401f7e
cmp eax, 4
jne 0x401fa0
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x401f8e
cmp edx, 4
je 0x401f8e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401ef0
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..data
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x1df121f1
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x42e1d0
nop
mov ecx, 0x47590ae7
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x1001ec1a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x1001ec29
pop dword [ebp - 4]
mov eax, 0x51ef32cf
add eax, 0xbe12b95a
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0xada438af
add dword [ebp - 0x14], 0xa0ae0c9c
mov dword [ebp - 0x10], 0x85d3809
add dword [ebp - 0x10], 0x29d6143c
mov dword [ebp - 0xc], 0x5759cb3c
add dword [ebp - 0xc], 0xf4f278f2
mov dword [ebp - 8], 0xaf1fc71c
sub dword [ebp - 8], 0xaf1fc71c
lea eax, [ebp - 0x14]
push eax
mov eax, 0x7991c8b
sub eax, 0xf7971c87
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0xc248f634
add dword [ebp - 0x14], 0xb2297322
mov dword [ebp - 0x10], 0x8d053ca4
sub dword [ebp - 0x10], 0x4b98db2f
mov dword [ebp - 0xc], 0x9e5cf59a
sub dword [ebp - 0xc], 0x3aed892e
mov dword [ebp - 8], 0x295a3e79
add dword [ebp - 8], 0xd6a5c187
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x3c54a
push 0
call eax
mov ecx, 0x46f6
xor edi, edi
add edi, eax
mov ebx, 0xe7b12d52
add ebx, 0x28518eae
add ebx, dword [ebp - 4]
mov edx, 0x25fa36d6
mov esi, dword [ebx]
xor esi, edx
mov dword [edi], esi
add edi, 0x5e904af1
add edi, 0xa16fb513
add ebx, 4
loop 0x1001ed3c
add eax, 0xf2f66ad4
sub eax, 0xf2f55c29
mov ebx, eax
add eax, 0x350f13c3
add eax, 0xcaf0ec42
mov ecx, 0x10000000
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x402ed5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x402ee4
pop dword [ebp - 0x3c]
mov eax, 0x91fa0e3f
sub eax, 0x91b9df5b
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x13af0e6
sub dword [ebp - 0x4c], 0xb2e8ab9b
mov dword [ebp - 0x48], 0x5b448125
add dword [ebp - 0x48], 0xd6eecb20
mov dword [ebp - 0x44], 0x66c08e1a
sub dword [ebp - 0x44], 0x1a7449ec
mov dword [ebp - 0x40], 0xef759a2
add dword [ebp - 0x40], 0xf108a65e
lea eax, [ebp - 0x4c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x4b728836
sub dword [ebp - 0x4c], 0xd7001ee0
mov dword [ebp - 0x48], 0xe12dd5ec
add dword [ebp - 0x48], 0x603e8b89
mov dword [ebp - 0x44], 0x7c20e597
sub dword [ebp - 0x44], 0x18b1792b
mov dword [ebp - 0x40], 0x361244e4
add dword [ebp - 0x40], 0xc9edbb1c
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0xb44a227e
sub eax, 0xb409a17e
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3790b
push 0
call eax
mov ecx, 0x19ce77a2
add ecx, 0xe631d27c
mov edi, eax
mov edx, 0x7da595a8
sub edx, 0x7d5eb1a8
add edx, dword [ebp - 0x3c]
mov esi, 0x5d92b766
add esi, 0x5d4eabb6
sub dword [ebp - 0x2c], eax
mov ebx, dword [edx]
xor dword [ebp - 0x20], 0xdd15fcc6
sub ebx, esi
xor dword [ebp - 0x38], 0x19c9c8eb
mov dword [edi], ebx
sub dword [ebp - 0x34], 0x37a54f08
add edi, 0xb3165cff
add edi, 0x4ce9a305
add edx, 0xbbcecfae
add edx, 0x44313056
loop 0x403001
add eax, 0x961e2313
add eax, 0x69e2f838
mov ebx, eax
add eax, 0xb8c03d3d
add eax, 0x473fc2c8
mov ecx, 0xcecd444
sub ecx, 0xcacd444
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x40e7b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.waecTbTU
lea edi, [esi - 0x9000]
push edi
or ebp, 0xffffffff
jmp 0x40e7d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40e7d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40e7c8
mov eax, 1
add ebx, ebx
jne 0x40e7eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40e7e0
jne 0x40e7fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e7e0
xor ecx, ecx
sub eax, 3
jb 0x40e810
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40e882
mov ebp, eax
add ebx, ebx
jne 0x40e81b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40e828
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40e84c
inc ecx
add ebx, ebx
jne 0x40e838
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40e82d
jne 0x40e849
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e82d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40e86c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40e85d
jmp 0x40e7ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40e86c
add edi, ecx
jmp 0x40e7ce
pop esi
mov edi, esi
mov ecx, 0x17b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40e88a
cmp byte [edi], 7
jne 0x40e88a
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 0x40e88f
lea edi, [esi + 0xc000]
mov eax, dword [edi]
or eax, eax
je 0x40e8fe
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe958]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe9b0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40e8bc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xe9b8]
or eax, eax
je 0x40e8f8
mov dword [ebx], eax
add ebx, 4
jmp 0x40e8d9
call dword [esi + 0xe9b4]
mov ebp, dword [esi + 0xe9bc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x40e932
sub esp, 0xffffff80
jmp 0x402752

Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call sub.MSVCR80.dll_memset
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x500
mov dword [ebp - 0x30], str.open
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
call dword [sym.imp.ole32.dll_OleUninitialize]
leave
ret 0x10
Function at 0x406016
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x406025
pop dword [ebp - 0x10]
mov eax, 0x913c7667
add eax, 0x6f03e9be
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xa536a932
sub dword [ebp - 0x20], 0x56e463e7
mov dword [ebp - 0x1c], 0x40b91d8b
add dword [ebp - 0x1c], 0xf17a2eba
mov dword [ebp - 0x18], 0x1c293ee2
sub dword [ebp - 0x18], 0xcfdcfab4
mov dword [ebp - 0x14], 0xd9f2f313
sub dword [ebp - 0x14], 0xd9f2f313
lea eax, [ebp - 0x20]
push eax
mov eax, 0x538a6538
sub eax, 0x5349f51c
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x28602be2
add dword [ebp - 0x20], 0x4c123d74
mov dword [ebp - 0x1c], 0x2f678041
sub dword [ebp - 0x1c], 0xedfb1ecc
mov dword [ebp - 0x18], 0xa6bb661e
sub dword [ebp - 0x18], 0x434bf9b2
mov dword [ebp - 0x14], 0x1962465
sub dword [ebp - 0x14], 0x1962465
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x1ba3136f
sub eax, 0x1b62a34f
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3b750
push 0
call eax
mov ecx, 0xd6ebd4c7
add ecx, 0x2914821a
mov ebx, eax
mov esi, 0x34561d06
sub esi, 0x34155506
add esi, dword [ebp - 0x10]
mov edi, 0xb47183d0
sub edi, 0xe08142b7
mov dword [ebp - 0xc], 0x2639417f
mov edx, dword [esi]
xor dword [ebp - 0xc], 0xad7b424a
add edx, edi
xor dword [ebp - 0xc], esi
mov dword [ebx], edx
sub dword [ebp - 0xc], esi
add ebx, 4
add esi, 4
loop 0x406147
add eax, 0xcc87886c
sub eax, 0xcc863a15
mov ebx, eax
add eax, 0xe202b2b5
sub eax, 0xe202b2b0
mov ecx, 0x38a55990
sub ecx, 0x38655990
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x1000ce60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x1000ce6f
pop dword [ebp - 0x1c]
mov eax, 0x1000ce6f
sub dword [ebp - 0x1c], eax
push 0x40
push 0x1000
push 0x3c0ca
push 0
mov eax, 0x2d0b1ce7
add eax, 0xe2f64459
add eax, dword [ebp - 0x1c]
call dword [eax]
mov ecx, 0x4eeb
xor edx, edx
add edx, eax
mov esi, 0x10024400
add esi, dword [ebp - 0x1c]
mov ebx, 0x3844410f
sub ebx, 0x97df27f6
xor dword [ebp - 4], ebx
mov edi, dword [esi]
xor dword [ebp - 0x18], edx
xor edi, ebx
xor dword [ebp - 0x18], ecx
mov dword [edx], edi
sub dword [ebp - 4], 0x22d970b3
add edx, 0xd6786a89
sub edx, 0xd6786a85
add esi, 4
loop 0x1000cebf
add eax, 0x60ddfcd1
sub eax, 0x60dcce52
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x401c66
pop dword [ebp - 0xc]
mov eax, 0x55eec228
add eax, 0xaa515a3e
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0xe1faee3e
sub dword [ebp - 0x1c], 0x93a8a8f3
mov dword [ebp - 0x18], 0x41779150
sub dword [ebp - 0x18], 0xf44450b
mov dword [ebp - 0x14], 0xe033ff3f
add dword [ebp - 0x14], 0x6c1844ef
mov dword [ebp - 0x10], 0xf1026489
sub dword [ebp - 0x10], 0xf1026489
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x800a6fbb
sub eax, 0x7fca3f67
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xd86b4d6f
add dword [ebp - 0x1c], 0x9c071be7
mov dword [ebp - 0x18], 0x95e36586
add dword [ebp - 0x18], 0xab88fbef
mov dword [ebp - 0x14], 0xafabee82
add dword [ebp - 0x14], 0xb3c37dea
mov dword [ebp - 0x10], 0x488d0f90
add dword [ebp - 0x10], 0xb772f070
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x36eb2
push 0
call eax
mov ecx, 0x49c0
mov edx, eax
mov edi, 0x117b9ab7
sub edi, 0x113b2ab7
add edi, dword [ebp - 0xc]
mov esi, 0x75d7effb
add esi, 0x374d1a92
sub dword [ebp - 8], 0xf25c78c2
mov ebx, dword [edi]
mov dword [ebp - 8], 0x7b0b0c2d
xor ebx, esi
sub dword [ebp - 4], 0x6d25058a
mov dword [edx], ebx
sub dword [ebp - 8], ecx
add edx, 0xd5400244
add edx, 0x2abffdc0
add edi, 0xb4e18fae
add edi, 0x4b1e7056
loop 0x401d7d
add eax, 0x9bd42ba8
sub eax, 0x9bd311d5
xor ebx, ebx
add ebx, eax
add eax, 0xd1532077
sub eax, 0xd1532072
mov ecx, 0x9b22bf42
sub ecx, 0x9ae2bf42
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x401047
Capabilities:
Set current directory

Disassembly:
push esi
push edi
push dword [esp + 0xc]
call fcn.00404201
pop ecx
push dword [esp + 0xc]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea edi, [eax - 1]
neg edi
sbb edi, edi
neg edi
test esi, esi
je 0x401076
push dword [esp + 0xc]
call fcn.00401ea9
pop ecx
mov eax, edi
pop edi
pop esi
ret

Function at 0x401983
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [0x429e94]
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x4019b0
push edi
mov edi, dword [esp + 0xc]
movzx ecx, byte [edi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x4296a0]
inc edi
sub esi, 1
jne 0x401997
pop edi
mov dword [0x429e94], edx
pop esi
ret
Function at 0x402ea4
Capabilities:
Query environment variable

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push 0x105
push esi
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x402ec7
cmp byte [esi], 0
je 0x402ec7
xor eax, eax
inc eax
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x402f15
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x5ac]
sub esp, 0x62c
mov eax, dword [0x4261a4]
xor eax, ebp
mov dword [ebp + 0x5a8], eax
mov eax, dword [ebp + 0x5b4]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x7c]
push eax
push str..wzcloudOpenWithProgids
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x402f58
xor eax, eax
jmp 0x4030c9
push esi
push edi
xor esi, esi
mov dword [ebp - 0x78], 0x104
push 0x208
lea eax, [ebp + 0x3a0]
mov edi, esi
push esi
push eax
call fcn.004037f2
add esp, 0xc
lea eax, [ebp - 0x78]
push esi
push esi
push esi
push esi
push eax
lea eax, [ebp + 0x3a0]
push eax
push esi
jmp 0x4030a6
inc edi
cmp dword [ebp - 0x78], 4
jle 0x403096
push 4
lea eax, [ebp + 0x3a0]
push str.AppX
push eax
call fcn.0040c10f
add esp, 0xc
test eax, eax
jne 0x403096
push 0x208
lea eax, [ebp + 0x198]
push esi
push eax
call fcn.004037f2
push 0x208
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.004037f2
lea eax, [ebp + 0x3a0]
mov dword [ebp - 0x74], 0x208
push eax
push str._sApplication
lea eax, [ebp + 0x198]
push 0x104
push eax
call fcn.00404693
add esp, 0x28
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push esi
push 2
push str.AppUserModelID
lea eax, [ebp + 0x198]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x403096
push str.WinZipComputing.
call fcn.0040bd27
push eax
lea eax, [ebp - 0x70]
push str.WinZipComputing.
push eax
call fcn.0040c10f
add esp, 0x10
test eax, eax
jne 0x403096
lea eax, [ebp + 0x3a0]
push eax
push str._sShellopen
lea eax, [ebp + 0x198]
push 0x104
push eax
call fcn.00404693
mov eax, dword [ebp + 0x5b8]
add esp, 0x10
add eax, eax
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x80]
lea eax, [ebp + 0x198]
push esi
push 2
push str.PackageRelativeExecutable
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x4030b9
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x3a0]
push eax
push edi
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x402f8f
jmp 0x4030bc
xor esi, esi
inc esi
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp + 0x5a8]
xor ecx, ebp
call fcn.0040886f
add ebp, 0x5ac
leave
ret
Function at 0x4030de
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4261a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0xc]
push eax
call fcn.0040c300
pop ecx
cmp eax, 8
jae 0x4031a7
push esi
xor esi, esi
lea eax, [ebp - 0x2c]
push esi
push esi
push esi
push esi
push esi
push 0x20
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x4031a0
push 7
lea eax, [ebp - 0x2c]
push str.PKBACK
push eax
call fcn.004037a5
add esp, 0xc
test eax, eax
jne 0x4031a0
mov al, byte [ebp - 0x2c]
lea edx, [ebp - 0x2c]
test al, al
je 0x4031a0
mov cl, al
cmp al, 0x2e
je 0x40315f
cmp al, 0x20
je 0x40315f
inc edx
mov al, byte [edx]
mov cl, al
test al, al
jne 0x40314c
test cl, cl
je 0x4031a0
cmp cl, 0x30
jb 0x40316d
cmp cl, 0x39
jbe 0x403172
inc edx
mov cl, byte [edx]
jmp 0x403163
push edi
movzx edi, cl
imul esi, esi, 0xa
lea eax, [edi - 0x30]
cmp eax, 9
ja 0x40318d
inc edx
add esi, 0xffffffd0
add esi, edi
mov cl, byte [edx]
test cl, cl
jne 0x403173
mov ax, si
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040886f
leave
ret 4
mov eax, 0xffff
jmp 0x403191
push 0x41f
push str.sfxhead.c
call fcn.00404560
int3

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

Disassembly:
push esi
mov esi, dword [esp + 8]
xor edx, edx
push edi
push 8
add esi, esi
pop edi
mov ecx, edx
sar esi, 1
shr ecx, 1
mov eax, edx
xor eax, esi
mov edx, ecx
xor edx, 0xedb88320
and al, 1
cmove edx, ecx
dec edi
test edi, edi
jg 0x4039af
pop edi
mov eax, edx
pop esi
ret 4
Function at 0x40425f
Capabilities:
Create process on windows
Log keystrokes via polling
Query or enumerate registry value

Disassembly:
sub esp, 0xa40
mov eax, dword [0x4261a4]
xor eax, esp
mov dword [esp + 0xa3c], eax
push ebx
push ebp
push esi
push edi
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x40442f
mov ebx, 0x105
mov ebp, 0x429460
push ebx
push ebp
call fcn.00405d22
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x230]
push ebx
push eax
call fcn.0040bbfa
add esp, 0x18
lea eax, [esp + 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x10]
mov edi, 0x209
push eax
lea eax, [esp + 0x430]
mov dword [esp + 0x14], edi
push eax
push str.winzip_shellopencommand
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
je 0x404357
lea eax, [esp + 0x840]
push 0x104
push eax
call fcn.00402f15
pop ecx
pop ecx
test eax, eax
je 0x40442f
push 0xffffffffffffffff
push str.WinZipUWPHelper.exe
lea eax, [esp + 0x434]
push edi
push eax
call fcn.0040bbfa
push 0x20a
xor esi, esi
lea eax, [esp + 0x28]
push esi
push eax
call fcn.004037f2
push ebp
lea eax, [esp + 0x860]
push eax
push str.RunExe20083F0D_D8B0_49E2_B454_D6DA05DFFB81_s20083F0D_D8B0_49E2_B454_D6DA05DFFB81__s_
lea eax, [esp + 0x3c]
push edi
push eax
call fcn.00404693
push 0xffffffffffffffff
lea eax, [esp + 0x48]
push eax
push edi
push ebp
call fcn.0040bbfa
add esp, 0x40
jmp 0x4043d8
xor esi, esi
lea edi, [esp + 0x42c]
mov ebx, esi
cmp word [esp + 0x42c], bx
je 0x404389
push 4
push str.___1
push edi
call fcn.0040c10f
add esp, 0xc
test eax, eax
je 0x404389
add edi, 2
inc ebx
cmp word [edi], si
jne 0x40436c
add ebx, ebx
cmp ebx, 0x412
jae 0x40446e
xor eax, eax
push 0x20a
mov word [esp + ebx + 0x430], ax
lea eax, [esp + 0x18]
push esi
push eax
call fcn.004037f2
push ebp
push str.__s_
mov edi, 0x105
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00404693
push 0xffffffffffffffff
lea eax, [esp + 0x34]
push eax
push edi
push ebp
call fcn.0040bbfa
add esp, 0x2c
mov eax, dword [0x426048]
test eax, 0x1000
je 0x40440d
test eax, 0x8000
jne 0x40440d
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x7a
pop ecx
push 0x69
lea eax, [eax*2 + 0x429458]
mov word [eax], cx
pop ecx
push 0x70
mov word [eax + 2], cx
pop ecx
mov word [eax + 4], cx
push 1
lea eax, [esp + 0x224]
push eax
push ebp
lea eax, [esp + 0x438]
push eax
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
test eax, eax
setne al
jmp 0x404455
push 0
push 0x7d0
call fcn.00403820
push eax
push 0x40e
call fcn.00403820
push eax
push dword [0x429448]
call dword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
mov ecx, dword [esp + 0xa4c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040886f
add esp, 0xa40
ret
call fcn.00408794
int3
Function at 0x404560
Capabilities:
Terminate process
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x11c]
sub esp, 0x19c
mov eax, dword [0x4261a4]
xor eax, ebp
mov dword [ebp + 0x118], eax
mov eax, dword [0x426e3c]
mov ecx, eax
mov edx, dword [ebp + 0x124]
inc eax
mov dword [0x426e3c], eax
push esi
test ecx, ecx
jne 0x40466e
push dword [ebp + 0x128]
push edx
push 0x7d4
call fcn.00403820
push eax
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x30
push 0x7d0
call fcn.00403820
push eax
lea eax, [ebp - 0x7c]
push eax
push dword [0x429448]
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push 0x20
push 2
push 0
push 1
push 0x40000000
push str.WZSFX32.RPT
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40466e
push 0x41d5bc
lea eax, [ebp - 0x7c]
push 0x191
push eax
call fcn.0040c288
add esp, 0xc
lea eax, [ebp - 0x80]
push 0
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0040c300
pop ecx
push eax
lea eax, [ebp - 0x7c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call fcn.00403c22
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.WZSFX32.RPT
push 0x7d1
call fcn.00403820
push eax
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x30
push 0x7d0
call fcn.00403820
push eax
lea eax, [ebp - 0x7c]
push eax
push dword [0x429448]
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]