joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a660
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret

Function at 0x43b310
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x4760e0]
mov edi, eax
add esp, 4
test edi, edi
jne 0x43b33d
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x43b384
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call eax
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 4], eax
push eax
mov eax, dword [esi + 8]
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov dword [ebp + 0x10], ebx
jmp 0x43b38a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [edi + 4]
mov eax, dword [esi]
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [ebp + 0x10]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x43b3eb
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], eax
nop word [eax + eax]
movzx eax, byte [ebx]
xor al, 0x36
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor al, 0x5c
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub dword [ebp + 0x10], 1
jne 0x43b3b0
mov ebx, dword [ebp - 8]
cmp ebx, dword [esi + 0x10]
jae 0x43b417
mov eax, dword [esi + 4]
push 1
push 0x4698b4
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x4698b5
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x43b3f0
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43b440
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push esi
push edi
mov byte [edi], 0
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [edi + esi - 1], 0
test eax, eax
jne 0x43b473
push 0x2e
push edi
call fcn.00441630
add esp, 8
test eax, eax
je 0x43b471
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
pop ebp
ret
Function at 0x43be70
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x476094]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.0043f240
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 5
jg 0x43bee2
cmp dword [ebp - 0x118], 2
jg 0x43bee2
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00414690
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00414690
mov esp, ebp
pop ebp
ret

Function at 0x43bf40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi]
cmp dword [eax + 4], 2
jne 0x43bf6c
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x43bf5d
pop edi
xor eax, eax
pop esi
pop ebp
ret
push dword [eax + 8]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call ecx
jmp 0x43bfa0
cmp dword [esi + 8], 0
jne 0x43bf90
push 0x45f724
push dword [eax + 8]
call fcn.00446873
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x43bf90
pop edi
or eax, 0xffffffff
pop esi
pop ebp
ret
push dword [esi + 8]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call fcn.0044ecf6
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x43bfc2
mov eax, dword [esi + 8]
test eax, eax
je 0x43bfbc
push eax
call fcn.00442852
add esp, 4
mov dword [esi + 8], edi
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esi], eax
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x452510
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045238f

Function at 0x457309
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00456fc9
Function at 0x417e10
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ebx
push esi
push edi
push str.uxtheme.dll
dec esp
add bh, bh
adc eax, sym.imp.KERNEL32.dll_LoadLibraryW

Function at 0x417e17
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ebx
push esi
push edi
push str.uxtheme.dll
dec esp
add bh, bh
adc eax, sym.imp.KERNEL32.dll_LoadLibraryW

Function at 0x42f1b7
Capabilities:
Encode data using xor

Disassembly:
cmpsd dword [esi], dword es:[edi]
bnd jbe 0x42f1b0
lahf
imul esp, dword [esi - 0x70dee8b4], 0xffffffc4
les edi, [ecx]
mov dword [0x2a70f2a1], eax

Function at 0x4bbd2d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c63a0
cmp edx, dword [eax]
je 0x4bbd4f
add eax, 8
inc ecx
cmp eax, 0x4c6430
jl 0x4bbd40
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c63a0]
jne 0x4bbe7d
mov eax, dword [0x4cad2c]
cmp eax, 1
je 0x4bbe57
test eax, eax
jne 0x4bbd80
cmp dword [0x4c62c8], 1
je 0x4bbe57
cmp edx, 0xfc
je 0x4bbe7d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bbdb7
lea eax, [ebp - 0x1a4]
push 0x4c1d40
push eax
call fcn.004bc710
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bcba0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bbdfa
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bcba0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c1d3c
push edi
call fcn.004bea70
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c1d20
push eax
call fcn.004bc710
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bc720
lea eax, [ebp - 0xa0]
push 0x4c1d1c
push eax
call fcn.004bc720
push dword [esi + 0x4c63a4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bc720
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c1cf4
push eax
call fcn.004be9e4
add esp, 0x2c
pop edi
jmp 0x4bbe7d
lea eax, [ebp + 8]
lea esi, [esi + 0x4c63a4]
push 0
push eax
push dword [esi]
call fcn.004bcba0
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 0x417cc0
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
push ebx
test eax, eax
je 0x4181e0
test edx, edx
je 0x4181e0
call fcn.00417cd7
mov eax, 0xffffffff
pop ebx
pop ebp
ret

Function at 0x418220
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
call fcn.00417cc0
mov edx, dword [esp + 0xc]
shl ecx, 4
test eax, eax
jne 0x418291
lea eax, [edx + ecx + 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
movups xmmword [eax], xmm0
movups xmmword [edx], xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
aesimc xmm0, xmm0
aesimc xmm1, xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmmword [edx - 0x10], xmm1
cmp eax, edx
ja 0x418256
movups xmm0, xmmword [edx]
aesimc xmm0, xmm0
movups xmmword [edx], xmm0
pxor xmm0, xmm0
pxor xmm1, xmm1
xor eax, eax
ret

Function at 0x418ba0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push esi
push edi
sub esp, 0x10
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
bswap eax
bswap ebx
bswap ecx
bswap edx
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
cmp ebp, 0x80
je 0x418c24
mov eax, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
cmp ebp, 0xc0
je 0x418bfc
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
jmp 0x418c04
mov ecx, eax
mov edx, ebx
not ecx
not edx
bswap eax
bswap ebx
bswap ecx
bswap edx
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], edx
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
nop
call fcn.00418c29

Function at 0x41fe30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
xor eax, eax
push edi
mov edi, dword [ebp + 8]
shl edi, 4
lea esi, [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
lea esi, [esi + 4]
mov edx, dword [esi - 4]
add ecx, edi
movzx ecx, byte [ecx + eax]
xor byte [edx], cl
mov ecx, dword [ebx + 0x10]
mov edx, dword [esi - 4]
add ecx, edi
movzx ecx, byte [ecx + eax + 4]
xor byte [edx + 1], cl
mov ecx, dword [ebx + 0x10]
mov edx, dword [esi - 4]
add ecx, edi
movzx ecx, byte [ecx + eax + 8]
xor byte [edx + 2], cl
mov ecx, dword [ebx + 0x10]
mov edx, dword [esi - 4]
add ecx, edi
movzx ecx, byte [ecx + eax + 0xc]
inc eax
xor byte [edx + 3], cl
cmp eax, 4
jl 0x41fe43
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x420110
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
mov dword [ebp - 0x10], edx
test esi, esi
je 0x420255
test edx, edx
js 0x420255
mov eax, dword [ebp + 8]
test eax, eax
je 0x42023c
push ebx
mov ebx, edx
mov dword [ebp - 8], ebx
test edx, edx
jle 0x420236
push edi
cmp ebx, 3
jl 0x4201bb
mov dl, byte [esi + 1]
mov cl, byte [esi]
mov bl, byte [esi + 2]
add esi, 3
mov dword [ebp - 0xc], esi
movzx esi, cl
mov ecx, esi
movzx edi, dl
shr ecx, 2
shl esi, 4
movsx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [eax], cx
mov ecx, edi
shr ecx, 4
or ecx, esi
movzx esi, bl
mov ebx, dword [ebp - 8]
and ecx, 0x3f
mov edx, esi
shr edx, 6
movsx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [eax + 2], cx
lea ecx, [edi*4]
or edx, ecx
and edx, 0x3f
and esi, 0x3f
movsx ecx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [eax + 4], cx
lea ecx, [eax + 6]
movsx ax, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov esi, dword [ebp - 0xc]
jmp 0x42021e
mov dl, byte [esi]
inc esi
cmp ebx, 2
jne 0x4201cb
mov cl, byte [esi]
inc esi
mov byte [ebp - 1], cl
jmp 0x4201cf
mov byte [ebp - 1], 0
movzx edi, byte [ebp - 1]
movzx edx, dl
mov ecx, edx
shl edx, 4
shr ecx, 2
movsx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [eax], cx
mov ecx, edi
shr ecx, 4
or ecx, edx
and ecx, 0x3f
movsx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [eax + 2], cx
cmp ebx, 1
jne 0x420207
lea ecx, [ebx + 0x3c]
jmp 0x420212
and edi, 0xf
movsx ecx, byte [edi*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [eax + 4], cx
lea ecx, [eax + 6]
mov eax, 0x3d
sub ebx, 3
mov word [ecx], ax
mov dword [ebp - 8], ebx
lea eax, [ecx + 2]
test ebx, ebx
jg 0x420146
mov edx, dword [ebp - 0x10]
pop edi
xor ecx, ecx
mov word [eax], cx
pop ebx
lea ecx, [edx + 2]
mov eax, 0x55555556
imul ecx
pop esi
mov eax, edx
shr eax, 0x1f
add eax, edx
shl eax, 2
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x420b40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x596e1b
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x6073a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x5f82b8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004cbb60
add esp, 0xc
lea eax, [ebp - 0x218]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004224c0
lea eax, [ebp - 0x224]
push eax
call fcn.004204d0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x4a0]
mov edx, dword [eax]
or edi, 0xffffffff
mov esi, dword [ecx]
sub esi, 0x10
mov dword [ebp - 0x220], ecx
lea eax, [edx - 0x10]
mov dword [ebp - 0x21c], eax
cmp eax, esi
je 0x420c3a
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x420c31
mov eax, dword [eax]
cmp eax, dword [esi]
jne 0x420c31
mov ecx, dword [ebp - 0x21c]
call fcn.004264c0
mov dword [ebp - 0x21c], eax
mov ecx, edi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x420c24
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x220]
add eax, 0x10
mov dword [ecx], eax
jmp 0x420c3a
push dword [edx - 0xc]
push edx
call fcn.004272a0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x420c5c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c8d78
mov esp, ebp
pop ebp
ret

Function at 0x421ed0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
call fcn.00420c80
mov ecx, esi
call fcn.00420b40
push 0
push 0
push esi
push 0x421f20
push 0
push 0
call fcn.004d2cee
add esp, 0x18
cmp byte [esi + 0x4a9], 0
je 0x421f14
push 0
push 0
push esi
push 0x421e90
push 0
push 0
call fcn.004d2cee
add esp, 0x18
pop esi
ret
Function at 0x422800
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5970b8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x6073a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
test esi, esi
jne 0x42283c
xor al, al
jmp 0x42295c
mov ecx, esi
call fcn.0042c790
test eax, eax
je 0x422835
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x38
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.004cbb60
add esp, 0xc
mov dword [ebp - 0x50], 0x3c
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x4c], 0x40
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0x5f8570
push edi
mov dword [ebp - 0x14], 0
call fcn.00427350
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jl 0x4228d0
push 0x5f857c
push eax
call fcn.004cb824
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x14]
test ecx, ecx
je 0x4228d0
sub ecx, eax
sar ecx, 1
cmp ecx, 0xffffffff
je 0x4228d0
push edi
lea eax, [ebp - 0x14]
push 0x5f8580
push eax
call fcn.00425da0
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x40], esi
mov edx, 1
sub edx, dword [eax - 4]
mov ecx, dword [eax - 8]
or ecx, edx
jge 0x4228ef
push 0
lea ecx, [ebp - 0x14]
call fcn.00427130
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
setne bl
test bl, bl
je 0x422932
cmp byte [ebp + 0x18], 0
je 0x422932
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x422932
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42295a
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c8d78
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4235d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597238
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x6073a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x5f8c44
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.00427350
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x42364f
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
or ecx, edx
jge 0x423638
push 0
lea ecx, [ebp - 0x14]
call fcn.00427130
mov eax, dword [ebp - 0x14]
push 1
push 0
push 0
push eax
push 0x5f8570
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x14]
lea edx, [eax - 0x10]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42366e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c8d78
mov esp, ebp
pop ebp
ret 4

Function at 0x4237d0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5972c1
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6073a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x34], esi
mov dword [esi], 0
call fcn.00427660
mov ecx, eax
test ecx, ecx
jne 0x42382c
push 0x80004005
call fcn.00427410
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x2c], 1
push eax
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x423898
push dword [ebp - 0x24]
lea eax, [ebp - 0x30]
push dword [ebp - 0x28]
push eax
call fcn.00423690
push eax
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.004254f0
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edi, dword [ebp - 0x30]
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x423898
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c8d78
mov esp, ebp
pop ebp
ret 8
Function at 0x4238c0
Capabilities:
Get common file path
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597312
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x6073a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ecx, edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 0
push eax
mov dword [ebp - 0x224], edi
mov dword [edi], 0
call fcn.00427350
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x220], 1
call fcn.004cbb60
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
add esp, 0xc
push 1
push 0x23
push eax
push 0
call esi
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
push str.commonappdata
call fcn.00425290
push 1
push 0x19
lea eax, [ebp - 0x218]
push eax
push 0
call esi
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
push str.commondesktop
call fcn.00425290
push 1
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call esi
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
push str.userdesktop
call fcn.00425290
push 1
push 0x1a
lea eax, [ebp - 0x218]
push eax
push 0
call esi
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
push str.userappdata
call fcn.00425290
push 1
push 2
lea eax, [ebp - 0x218]
push eax
push 0
call esi
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
push str.usersmprograms
call fcn.00425290
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x218]
push eax
push str.sys
mov ecx, edi
call fcn.00425290
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
push str.computername
call fcn.00425290
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c8d78
mov esp, ebp
pop ebp
ret 8
Function at 0x423a70
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59734b
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x6073a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
test esi, esi
je 0x423bb0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004cbb60
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004cbb60
push 0
push 0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
push esi
call fcn.004d3087
add esp, 0x2c
call fcn.00427660
mov ecx, eax
test ecx, ecx
jne 0x423afe
push 0x80004005
call fcn.00427410
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x424]
push str._s_s
push eax
call fcn.00425da0
mov esi, dword [ebp - 0x424]
mov edi, 1
mov ecx, edi
add esp, 0x10
sub ecx, dword [esi - 4]
mov eax, dword [esi - 8]
or eax, ecx
jge 0x423b5f
push 0
lea ecx, [ebp - 0x424]
call fcn.00427130
mov esi, dword [ebp - 0x424]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, 0x10
je 0x423b91
sub edi, dword [esi - 4]
mov eax, dword [esi - 8]
or eax, edi
jge 0x423b88
push 0
lea ecx, [ebp - 0x424]
call fcn.00427130
mov esi, dword [ebp - 0x424]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x423bb0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c8d78
mov esp, ebp
pop ebp
ret 4
Function at 0x424970
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x6073a4]
xor eax, esp
mov dword [esp + 0x48], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x424a70
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424995
sub ecx, edx
sar ecx, 1
je 0x424a70
push 0
call fcn.004cf798
add esp, 4
sub eax, 0x278d00
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
sbb edx, 0
mov dword [esp + 0x24], edx
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.004cfa64
add esp, 8
test eax, eax
jne 0x424a2b
mov eax, dword [esp + 0x3c]
add eax, 0x76c
mov word [esp + 0x10], ax
mov eax, dword [esp + 0x38]
inc eax
mov word [esp + 0x12], ax
movzx eax, word [esp + 0x40]
mov word [esp + 0x14], ax
movzx eax, word [esp + 0x34]
mov word [esp + 0x16], ax
movzx eax, word [esp + 0x30]
mov word [esp + 0x18], ax
movzx eax, word [esp + 0x2c]
mov word [esp + 0x1a], ax
movzx eax, word [esp + 0x28]
mov word [esp + 0x1c], ax
xor eax, eax
mov word [esp + 0x1e], ax
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000100
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x424a70
lea eax, [esp + 8]
push eax
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x4c]
pop esi
xor ecx, esp
call fcn.004c8d78
mov esp, ebp
pop ebp
ret 4