joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008f0f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, 0x5a4d
cmp cx, word [eax]
jne 0x1008f171
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
jne 0x1008f171
mov ecx, dword [ecx + eax + 0x88]
test ecx, ecx
je 0x1008f171
add eax, ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
push ecx
push eax
call fcn.100928e0
add esp, 0xc
test eax, eax
je 0x1008f171
mov edx, dword [ebp + 8]
mov eax, edx
push esi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1008f142
sub eax, esi
sar eax, 1
add eax, eax
push eax
mov eax, dword [ebp - 8]
push edx
add eax, 0xfffffffc
push eax
push dword [ebp - 4]
call fcn.10092930
add esp, 0x10
test eax, eax
setne al
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x1008f220
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10108f80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, 0x5a4d
cmp ax, word [ebx]
jne 0x1008f26e
mov ecx, dword [ebx + 0x3c]
cmp dword [ecx + ebx], 0x4550
jne 0x1008f26e
mov eax, dword [ecx + ebx + 0xd8]
mov ecx, dword [ecx + ebx + 0xdc]
add eax, ebx
add ecx, eax
cmp eax, ecx
jae 0x1008f26e
mov edx, dword [ebp + 8]
cmp dword [eax], edx
je 0x1008f27f
add eax, 4
cmp eax, ecx
jb 0x1008f263
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ad560
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x1008f26e
cmp byte [ebp + 0x18], 0
mov dword [ebp - 0xa], eax
mov ax, word [ebp + 0x14]
mov word [ebp - 0xc], ax
je 0x1008f2f5
push esi
push edi
mov edi, dword [ebp + 0x10]
add edi, 0xfffffffa
cmp edi, ebx
jb 0x1008f2e0
mov esi, edi
lea eax, [ebp - 0xc]
sub esi, eax
xor eax, eax
nop dword [eax]
lea ecx, [ebp - 0xc]
add ecx, eax
mov dl, byte [ecx]
cmp dl, byte [esi + ecx]
je 0x1008f2c1
cmp dl, 0x11
jne 0x1008f2da
inc eax
cmp eax, 6
jl 0x1008f2b0
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ad560
mov esp, ebp
pop ebp
ret
dec edi
dec esi
cmp edi, ebx
jae 0x1008f2a7
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ad560
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x10]
lea eax, [ebp - 0xc]
push ebx
push 6
push eax
call fcn.1008fb20
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop ebx
call fcn.100ad560
mov esp, ebp
pop ebp
ret
Function at 0x1008f380
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10108f80]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x1008f3cd
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x1008f3cd
mov eax, dword [ecx + edx + 0xd8]
mov ecx, dword [ecx + edx + 0xdc]
add eax, edx
add ecx, eax
cmp eax, ecx
jae 0x1008f3cd
mov edx, dword [ebp + 8]
cmp dword [eax], edx
je 0x1008f3dd
add eax, 4
cmp eax, ecx
jb 0x1008f3c2
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ad560
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x1008f3cd
mov cl, byte [ebp + 0x1c]
test cl, cl
je 0x1008f3f1
mov byte [ebp - 0xc], 0x8b
mov byte [ebp - 0xb], cl
jmp 0x1008f3f7
mov word [ebp - 0xc], 0x15ff
cmp byte [ebp + 0x18], 0
mov dword [ebp - 0xa], eax
je 0x1008f465
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0x14]
add edi, 0xfffffffa
cmp edi, ebx
jb 0x1008f450
mov esi, edi
lea eax, [ebp - 0xc]
sub esi, eax
xor eax, eax
nop dword [eax]
lea ecx, [ebp - 0xc]
add ecx, eax
mov dl, byte [ecx]
cmp dl, byte [esi + ecx]
je 0x1008f431
cmp dl, 0x11
jne 0x1008f44a
inc eax
cmp eax, 6
jl 0x1008f420
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ad560
mov esp, ebp
pop ebp
ret
dec edi
dec esi
cmp edi, ebx
jae 0x1008f417
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ad560
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push dword [ebp + 0x10]
push 6
push eax
call fcn.1008fb20
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
call fcn.100ad560
mov esp, ebp
pop ebp
ret

Function at 0x1008f490
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov eax, 0x5a4d
sub esp, 0xc
cmp ax, word [edx]
jne 0x1008f4d3
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x1008f4d3
mov eax, dword [ecx + edx + 0xd8]
mov ecx, dword [ecx + edx + 0xdc]
add eax, edx
add ecx, eax
cmp eax, ecx
jae 0x1008f4d3
mov edx, dword [ebp + 0xc]
cmp dword [eax], edx
je 0x1008f4ee
add eax, 4
cmp eax, ecx
jb 0x1008f4c8
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x1008f4d3
mov cl, byte [ebp + 0x20]
test cl, cl
je 0x1008f502
mov byte [ebp - 0xc], 0x8b
mov byte [ebp - 0xb], cl
jmp 0x1008f508
mov word [ebp - 0xc], 0x15ff
push dword [ebp + 0x18]
mov dword [ebp - 0xa], eax
lea eax, [ebp - 0xc]
push dword [ebp + 0x14]
push dword [ebp + 0x1c]
push 6
push eax
push dword [ebp + 8]
call fcn.1008ef20
mov eax, dword [ebp + 8]
add esp, 0x18
mov esp, ebp
pop ebp
ret

Function at 0x1008fc00
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xcccc
push dword [ebp + 8]
call fcn.1008fb50
add esp, 0x18
test eax, eax
je 0x1008fc29
inc eax
cmp byte [eax], 0xcc
je 0x1008fc23
pop ebp
ret
Function at 0x1008fe30
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xcccc
push dword [ebp + 8]
call fcn.1008fd70
add esp, 0x18
test eax, eax
je 0x1008fe59
inc eax
cmp byte [eax], 0xcc
je 0x1008fe53
pop ebp
ret

Function at 0x10092f20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.100930d0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x10092fed
mov edx, dword [ebp - 4]
cmp edx, dword [0x10108f18]
jb 0x10092f6a
mov eax, dword [ebp - 4]
cmp eax, dword [0x10108f1c]
ja 0x10092f6a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10092f3a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100aea20
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10092f90
jmp 0x10092fed
cmp dword [ebp - 0x14], 0x10000
jne 0x10092fd3
cmp dword [ebp - 0x18], 0x10000
jb 0x10092fd3
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10092fc6
mov eax, dword [ebp - 8]
jmp 0x10092fef
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10092fe8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.100930d0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10092f3a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10093000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10093100
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x100930c5
mov edx, dword [ebp - 4]
cmp edx, dword [0x10108f18]
jb 0x10093045
mov eax, dword [ebp - 4]
cmp eax, dword [0x10108f1c]
ja 0x10093045
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10093015
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100aea20
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1009306b
jmp 0x100930c5
cmp dword [ebp - 0x14], 0x10000
jne 0x100930ae
cmp dword [ebp - 0x18], 0x10000
jb 0x100930ae
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100930a1
mov eax, dword [ebp - 8]
jmp 0x100930c7
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100930c0
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10093100
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10093015
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1009ae8b
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x1009aeb2
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x1009aeb5
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.1009ae67
pop esi
leave
ret 8

Function at 0x100a031f
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], edx
jbe 0x100a0342
movzx eax, byte [esi + edx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [ebp + 0x10]
jb 0x100a0330
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x100ad19d
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.100c412a
mov eax, dword [eax + 0x14]
test eax, eax
je 0x100ad1e0
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
push 2
push ecx
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x100ad1e0
sub eax, 1
je 0x100ad1db
sub eax, 1
je 0x100ad1d7
xor eax, eax
leave
ret
push 3
jmp 0x100ad1e2
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x100cc255
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100f35ac
push 0x100f35a4
push str.FlsAlloc
push 0x1e
call fcn.100cc082
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100cc289
push dword [ebp + 8]
mov ecx, esi
call dword [0x100e2328]
call esi
jmp 0x100cc28f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100cc2d3
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100f35bc
push 0x100f35b4
push str.FlsGetValue
push 0x20
call fcn.100cc082
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100cc30a
push dword [ebp + 8]
mov ecx, esi
call dword [0x100e2328]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x100cf73c
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 0x100cf7d9
push ebx
push esi
call fcn.100cf705
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.100cde6c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100cf786
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100cf7d8
push edi
push eax
call fcn.100caa30
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100cf7a6
call fcn.100ca9f6
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100cf7d7
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100cde6c
add esp, 0x20
test eax, eax
jne 0x100cf7c5
push edi
call fcn.100ca9f6
jmp 0x100cf7cd
push ebx
call fcn.100ca9f6
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 0x100cf7dc
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100cf7ed
pop esi
ret
push ebx
push edi
push esi
call fcn.100cf705
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100caa30
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100cf815
push ebx
push esi
push edi
call fcn.100aed40
add esp, 0xc
push 0
call fcn.100ca9f6
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100cfbd9
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100cf82a
Function at 0x100d7980
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100d79ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100d79ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1004c83
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push 4
pop eax
call fcn.01002df0
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1004ce9
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x10062b8]
mov esi, dword [ebp - 0x40]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
lea edx, [esi - 1]
and ecx, 0x103
not edx
and edx, ebx
inc ecx
sub edx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffff1
add eax, 0x11
imul eax, esi
add eax, edi
cmp edx, eax
jae 0x1004ced
xor eax, eax
jmp 0x1004cfa
lea eax, [ebp - 4]
push eax
push ecx
push esi
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x50]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43fcae
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46b5d8
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x43fcf1
push str.SystemFunction040
push dword [0x46b5d8]
call edi
push str.SystemFunction041
push dword [0x46b5d8]
mov dword [0x46b5e0], eax
call edi
mov dword [0x46b5e4], eax
jmp 0x43fcf6
mov eax, dword [0x46b5e4]
cmp dword [0x46b5e0], 0
je 0x43fd07
test eax, eax
jne 0x43fdae
push 0x46b5dc
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x43fdb8
push str.CryptProtectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e0], 0
mov dword [0x46b5e8], eax
jne 0x43fd6c
test eax, eax
jne 0x43fd6c
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fd56
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fd5d
mov esi, 0x80004005
push esi
push 0x28
push str.cryputil.cpp
call fcn.00403821
jmp 0x43fdb8
push str.CryptUnprotectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e4], 0
mov dword [0x46b5ec], eax
jne 0x43fdae
test eax, eax
jne 0x43fdae
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fda2
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fda9
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x43fd60
mov dword [0x46b5f0], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x401c66
pop dword [ebp - 4]
mov eax, 0x609678b
add eax, 0xfa36b4db
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0x6a918f3d
sub dword [ebp - 0x14], 0x1c3f49f2
mov dword [ebp - 0x10], 0xb2ee4ec9
sub dword [ebp - 0x10], 0x80bb0284
mov dword [ebp - 0xc], 0x438e9cdd
sub dword [ebp - 0xc], 0xf74258af
mov dword [ebp - 8], 0x116f208f
add dword [ebp - 8], 0xee90df71
lea eax, [ebp - 0x14]
push eax
mov eax, 0xd2bfb9c0
sub eax, 0xd27f896c
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0xfaea82a4
add dword [ebp - 0x14], 0x7987e6b2
mov dword [ebp - 0x10], 0xaef77da
sub dword [ebp - 0x10], 0xc9831665
mov dword [ebp - 0xc], 0x5f0819dc
add dword [ebp - 0xc], 0x4675290
mov dword [ebp - 8], 0x1f36d1a7
sub dword [ebp - 8], 0x1f36d1a7
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, 0x1372855e
add eax, 0xeccdaace
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x38912
push 0
call eax
mov ecx, 0x7c55492a
sub ecx, 0x7c54f8d2
xor edx, edx
add edx, eax
mov edi, 0x9ace113b
sub edi, 0x9a8da13b
add edi, dword [ebp - 4]
mov esi, 0xda24b147
mov ebx, dword [edi]
xor ebx, esi
mov dword [edx], ebx
add edx, 0x87744cf8
add edx, 0x788bb30c
add edi, 0xc6fb88ab
sub edi, 0xc6fb88a7
loop 0x401d84
add eax, 0x21111327
sub eax, 0x210fdef4
mov ebx, eax
add eax, 0xa160dac8
sub eax, 0xa160dac3
mov ecx, 0x5d5ecd83
sub ecx, 0x5d1ecd83
add ecx, dword [ebp - 4]
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 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
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
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x10017ff
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
push 4
pop ecx
mov edi, 0x1001804
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x1009abf
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp + 0xc]
push edx
push dword [ebp + 0x18]
push 0
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x10017fb
push dword [ebp + 0x1c]
mov eax, dword [ebp + 0xc]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x28]
mov esi, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
pop edi
pop esi
pop ebp
ret 0x18
mov eax, 0x80020001
jmp 0x10017fb

Function at 0x100256a
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push esi
push edi
lea edx, [ebp - 0x44]
mov eax, 0x10025dc
push edx
mov esi, ecx
mov ecx, dword [0x101701c]
push eax
push ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x20], eax
call dword [sym.imp.USER32.dll_GetClassInfoA]
xor edi, edi
test eax, eax
jne 0x100258a
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], 0x1001d93
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
je 0x1008542
push esi
push dword [0x101701c]
push edi
push edi
push 1
push 1
push edi
push edi
push edi
push edi
push dword [ebp - 0x20]
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [esi], eax
cmp eax, edi
je 0x1008542
push ebx
push dword [esi + 0x1c]
mov dword [esi + 0xc], edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ebx, dword [sym.imp.USER32.dll_GetMessageA]
push edi
push edi
push dword [esi]
lea eax, [ebp - 0x1c]
push eax
call ebx
cmp eax, edi
jne 0x1004aba
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret
cmp eax, 0xffffffff
je 0x10025d4
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x10025c2
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xc], eax
jmp 0x10025d7
Function at 0x10039e5
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 4], ebx
cmp byte [esi + 0x23], bl
jne 0x1008771
xor eax, eax
pop esi
pop ebx
leave
ret
push edi
lea edi, [esi + 0x250]
push edi
push 0x1008810
push 0x17
push ebx
push 0x1008820
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, eax
cmp ecx, ebx
jge 0x100879f
sub eax, 0x80040154
neg eax
sbb eax, eax
and eax, ecx
jmp 0x1008807
mov eax, dword [edi]
mov ecx, dword [eax]
lea edi, [esi + 0x254]
push edi
push eax
call dword [ecx + 0x10]
cmp eax, ebx
jl 0x1008807
xor eax, eax
cmp byte [esi + 0x23], bl
sete al
lea eax, [eax + eax + 1]
add eax, dword [0x101702c]
push eax
lea eax, [ebp - 4]
push eax
call fcn.01003a91
cmp dword [ebp - 4], ebx
jne 0x10087da
mov eax, 0x80004005
jmp 0x1008807
mov eax, dword [edi]
push dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x38]
push dword [ebp - 4]
mov dword [ebp - 8], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 8]
cmp eax, ebx
jl 0x1008807
cmp byte [esi + 0x24], bl
je 0x1008805
mov edi, dword [edi]
mov eax, dword [edi]
push edi
call dword [eax + 0x10]
xor eax, eax
pop edi
jmp 0x10039ea

Function at 0x1003b5a
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1017004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
xor esi, esi
push edi
cmp byte [reloc.VERSION.dll_GetFileVersionInfoA], bl
je 0x1009570
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x1009555
mov eax, esi
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01001335
leave
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x1009569
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x1003b5d
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push dword [ebp + 8]
push ebx
push ebx
call esi
mov edi, eax
cmp edi, ebx
je 0x1009555
call fcn.0100320b
mov dword [ebp - 8], esp
cmp esp, ebx
jne 0x100959f
mov esi, 0x8007000e
jmp 0x1003b5d
push ebx
push ebx
push edi
push dword [ebp - 8]
push 0xffffffffffffffff
push dword [ebp + 8]
push ebx
push ebx
call esi
test eax, eax
je 0x1009555
mov eax, dword [ebp + 0xc]
call fcn.0100320b
mov edi, esp
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x1009555
push dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push ebx
push ebx
call esi
test eax, eax
je 0x1009555
mov eax, dword [ebp - 0xc]
push ebx
push ebx
sub eax, edi
push eax
push edi
push ebx
push ebx
call esi
mov ecx, dword [ebp + 0x10]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov esi, ebx
jmp 0x1003b5d