joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405c60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc64d
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x5503c8]
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]
xorps xmm0, xmm0
mov eax, dword [ebp + 0x10]
mov ecx, esi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x68], eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405cb0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00404160
mov ecx, edi
mov dword [ebp - 4], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405cd0
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.00402540
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0x3c
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x64]
push eax
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x60], 0x440
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x405d70
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405d66
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405d8d
push ecx
push edx
call fcn.004cf8ae
add esp, 8
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.004cf8bc
mov esp, ebp
pop ebp
ret 0xc
call fcn.004d54df
int3
Function at 0x40ce20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fd173
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5503c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
lea edx, [esi + 0x40]
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x20]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x58], edi
mov dword [esi + 0x60], ecx
mov byte [esi + 0x64], 0
mov dword [esi + 0x68], eax
test byte [edi + 8], 8
mov byte [ebp - 4], 2
je 0x40cf1f
test cl, 0x10
jne 0x40cf1f
mov al, 1
jmp 0x40cf21
xor al, al
mov byte [esi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x70], eax
mov ebx, dword [edx + 4]
mov ecx, ebx
mov edi, dword [edi + 0x18]
sar ecx, 3
cmp edi, ecx
jae 0x40cf45
lea ecx, [edi*8]
mov dword [edx + 4], ecx
jmp 0x40cf7f
jbe 0x40cf7f
mov eax, dword [edx + 8]
sar eax, 3
cmp edi, eax
jbe 0x40cf5f
lea eax, [ebp - 0xd]
mov ecx, edx
push eax
push edi
call fcn.00408060
jmp 0x40cf7f
sub edi, ecx
je 0x40cf7c
lea eax, [edi*8]
push eax
push 0
push ebx
call fcn.004d1960
add esp, 0xc
lea ebx, [ebx + edi*8]
lea edx, [esi + 0x40]
mov dword [edx + 4], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x40d620
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fd2cc
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5503c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov dword [ebp - 4], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
lea ebx, [edi + 0x38]
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 0x14], ebx
mov dword [ebx + 0x24], 0
mov ecx, dword [ebp + 0x30]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x40d6d4
mov eax, dword [ecx]
push ebx
call dword [eax]
mov dword [ebx + 0x24], eax
mov al, byte [ebp + 0x34]
lea ecx, [edi + 0x70]
mov byte [edi + 0x60], al
push 9
mov byte [ebp - 4], 5
mov byte [edi + 0x68], 9
call fcn.0040dae0
mov ecx, dword [edi + 0x1c]
xor ebx, ebx
mov edx, dword [edi + 0x10]
mov byte [ebp - 4], 6
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x18], edx
test ecx, ecx
jns 0x40d71f
mov eax, ecx
neg eax
cmp ebx, eax
jae 0x40d71f
add ecx, ebx
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub edx, eax
jmp 0x40d729
add ecx, ebx
mov eax, ecx
shr eax, 5
lea edx, [edx + eax*4]
lea eax, [ebp - 0xd]
and ecx, 0x1f
push eax
push 1
push ecx
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0x10]
call fcn.00413970
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x40d758
mov esi, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
Function at 0x4154a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x4154d1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4154c0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x41af80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe1a2
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5503c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
xorps xmm0, xmm0
movups xmmword [edi + 0x18], xmm0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
movups xmmword [edi + 0x30], xmm0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0xf
mov dword [ebp - 4], 0
mov byte [edi + 0x30], 0
movups xmmword [edi + 0x48], xmm0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0xf
mov byte [edi + 0x48], 0
movups xmmword [edi + 0x60], xmm0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0xf
mov byte [edi + 0x60], 0
movups xmmword [edi + 0x78], xmm0
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0xf
mov byte [edi + 0x78], 0
movups xmmword [edi + 0x90], xmm0
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0xf
mov byte [edi + 0x90], 0
movups xmmword [edi + 0xa8], xmm0
mov dword [edi + 0xb8], 0
mov dword [edi + 0xbc], 0xf
mov byte [edi + 0xa8], 0
movups xmmword [edi + 0xc0], xmm0
mov dword [edi + 0xd0], 0
mov dword [edi + 0xd4], 0xf
mov byte [edi + 0xc0], 0
movups xmmword [edi + 0xd8], xmm0
mov dword [edi + 0xe8], 0
mov dword [edi + 0xec], 0xf
mov byte [edi + 0xd8], 0
mov dword [edi + 0xf0], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0xf8], 0
lea esi, [edi + 0xfc]
mov byte [ebp - 4], 9
push 0x40
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004cf87e
xorps xmm0, xmm0
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x104], 0xffffffff
mov dword [edi + 0x108], 0xffffffff
mov dword [edi + 0x10c], 0
movups xmmword [edi + 0x110], xmm0
mov dword [edi + 0x120], 0
mov dword [edi + 0x124], 0xf
mov byte [edi + 0x110], 0
mov dword [edi + 0x128], 0
mov dword [edi + 0x12c], 0
mov dword [edi + 0x130], 0
movups xmmword [edi + 0x134], xmm0
mov dword [edi + 0x144], 0
mov dword [edi + 0x148], 0xf
mov byte [edi + 0x134], 0
movups xmmword [edi + 0x14c], xmm0
mov dword [edi + 0x15c], 0
mov dword [edi + 0x160], 0xf
mov eax, edi
mov byte [edi + 0x14c], 0
movups xmmword [edi + 0x16c], xmm0
mov dword [edi + 0x17c], 0
mov dword [edi + 0x180], 0xf
mov byte [edi + 0x16c], 0
movups xmmword [edi + 0x184], xmm0
mov dword [edi + 0x194], 0
mov dword [edi + 0x198], 0xf
mov byte [edi + 0x184], 0
mov dword [edi + 0x19c], 0
mov dword [edi + 0x1a0], 0
mov dword [edi + 0x1a4], 0
mov dword [edi + 0x1a8], 0
mov dword [edi + 0x1ac], 0
mov word [edi + 0x1b0], 0
mov byte [edi + 0x1b2], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41e180
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push dword [ebp + 8]
mov byte [0x552300], 0
push 0x41e200
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret 4
Function at 0x41e1b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push 0
push dword [ebp + 8]
mov esi, ecx
push 0x41e2c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esi + 4]
mov dword [ebp + 8], eax
cmp ecx, dword [esi + 8]
je 0x41e1e2
mov dword [ecx], eax
add dword [esi + 4], 4
pop esi
pop ebp
ret 4
lea eax, [ebp + 8]
push eax
push ecx
mov ecx, esi
call fcn.0041d3f0
pop esi
pop ebp
ret 4
Function at 0x41e970
Capabilities:
Check if file exists
Create shortcut via ishelllink
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe69b
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x5503c8]
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 eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x430], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x434], eax
mov eax, dword [ebp + 0x18]
push ebx
mov dword [ebp - 0x438], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41e9d1
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x424], 0
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004d1960
push 0x208
lea eax, [ebp - 0x420]
mov dword [ebp - 0x42c], 0
push 0
push eax
call fcn.004d1960
add esp, 0x18
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x218]
push eax
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x41ea3d
mov esi, 0x80004005
jmp 0x41eb62
lea eax, [ebp - 0x424]
push eax
push 0x507880
push 1
push 0
push 0x5078a0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x41eb62
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x428], 0
test eax, eax
je 0x41eaa0
mov ecx, dword [eax]
lea edx, [ebp - 0x428]
push edx
push 0x5060d8
push eax
call dword [ecx]
mov ecx, dword [ebp - 0x428]
xor edx, edx
test eax, eax
mov eax, dword [ebp - 0x424]
cmovs ecx, edx
mov dword [ebp - 0x428], ecx
mov ecx, dword [eax]
lea edx, [ebp - 0x218]
push edx
push eax
mov byte [ebp - 4], 1
call dword [ecx + 0x50]
mov esi, eax
test esi, esi
js 0x41eb4e
mov eax, dword [ebp - 0x424]
mov edi, 0x529254
mov esi, dword [ebp - 0x430]
mov ecx, edi
test esi, esi
mov edx, dword [eax]
cmovne ecx, esi
push ecx
push eax
call dword [edx + 0x1c]
mov esi, eax
test esi, esi
js 0x41eb4e
mov edx, dword [ebp - 0x434]
test edx, edx
je 0x41eaff
mov eax, dword [ebp - 0x424]
push 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov esi, eax
test esi, esi
js 0x41eb4e
mov eax, dword [ebp - 0x424]
mov edx, dword [ebp - 0x438]
test edx, edx
cmovne edi, edx
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x24]
mov esi, eax
test esi, esi
js 0x41eb4e
push 0x104
push ebx
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.004e11b6
mov eax, dword [ebp - 0x428]
lea edx, [ebp - 0x420]
add esp, 0x10
mov ecx, dword [eax]
push 1
push edx
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 0x428]
mov byte [ebp - 4], 0
test eax, eax
je 0x41eb62
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x424]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x41eb79
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
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.004cf8bc
mov esp, ebp
pop ebp
ret 0x14
Function at 0x420330
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push dword [ebp + 8]
push 0x420350
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret 4

Function at 0x423a70
Capabilities:
Check if file exists
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4feed0
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x5503c8]
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 edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x231]
mov dword [ebp - 0x238], esi
call fcn.00404d10
mov eax, dword [edi + 0x888]
lea ebx, [edi + 0x888]
mov ecx, dword [ebx + 4]
cmp eax, ecx
je 0x423ad7
push ebx
push ecx
push eax
call fcn.00403bb0
mov eax, dword [ebx]
add esp, 0xc
mov dword [ebx + 4], eax
push esi
mov ecx, edi
call fcn.00423c50
mov esi, dword [ebx]
cmp esi, dword [edi + 0x88c]
je 0x423ba2
nop dword [eax]
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x423afa
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00401a70
add esp, 8
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x423b4c
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov ecx, edi
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.004240a0
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 8
jb 0x423b93
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x423b89
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423c44
push ecx
push edx
call fcn.004cf8ae
add esp, 8
add esi, 0x18
cmp esi, dword [edi + 0x88c]
jne 0x423af0
push dword [ebp - 0x238]
mov ecx, edi
call fcn.00423c50
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
cmp eax, ecx
je 0x423bc8
push ebx
push ecx
push eax
call fcn.00403bb0
mov eax, dword [ebx]
add esp, 0xc
mov dword [ebx + 4], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004d1960
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 0x218]
push eax
call esi
mov ebx, dword [ebp - 0x238]
mov ecx, edi
push ebx
call fcn.00423c50
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x218]
push eax
call esi
push ebx
mov ecx, edi
call fcn.00423c50
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.004cf8bc
mov esp, ebp
pop ebp
ret 4
call fcn.004d54df
int3
Function at 0x4240a0
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x82c
mov eax, dword [0x5503c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x825]
push edi
mov dword [ebp - 0x82c], esi
call fcn.00404f50
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call edi
test eax, eax
je 0x424254
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call ebx
test eax, eax
jne 0x424253
push 0x208
push eax
lea eax, [ebp - 0x824]
push eax
call fcn.004d1960
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004d1960
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x825]
call fcn.00404f50
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004d1960
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.004d1960
push esi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004d9fe2
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.004d20df
add esp, 0x2c
test eax, eax
jne 0x424193
lea eax, [ebp - 0x20c]
push 0x2f
push eax
call fcn.004d20df
add esp, 8
test eax, eax
je 0x4241ab
add eax, 2
push eax
lea eax, [ebp - 0x61c]
push 0x104
push eax
call fcn.004d9fe2
add esp, 0xc
xor esi, esi
nop dword [eax]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004d1960
add esp, 0xc
lea eax, [ebp - 0x824]
test esi, esi
jne 0x4241ee
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x5077d8
push eax
call fcn.004226b0
add esp, 0x10
jmp 0x42420b
push esi
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push str._s_s.del_d
push eax
call fcn.004226b0
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x42422d
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
jne 0x42422d
cmp esi, 0xa
jge 0x424253
inc esi
jmp 0x4241b0
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x82c]
call fcn.004e162f
add esp, 8
lea eax, [ebp - 0x20c]
push 5
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004cf8bc
mov esp, ebp
pop ebp
ret 4
Function at 0x42e2c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fff00
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x5503c8]
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 [ecx + 0x838]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x42e42c
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp byte [esi + 0x18], 0
jne 0x42e3e6
cmp dword [esi + 0x14], 0x14
jge 0x42e3e6
cmp byte [esi + 0x19], 0
je 0x42e3e3
cmp dword [esi + 0x30], 0x10
lea edi, [esi + 0x1c]
mov eax, edi
jb 0x42e331
mov eax, dword [edi]
push eax
call ebx
test eax, eax
je 0x42e3e3
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004d1960
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x42e35a
mov edi, dword [edi]
push edi
lea eax, [ebp - 0x114]
push str.file_s_dest0_0_288_325
push eax
call fcn.00404200
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.00401a70
add esp, 0x14
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 0
jb 0x42e391
mov eax, dword [eax]
mov ecx, dword [esi + 0x34]
push eax
call sym.Office2.exe_public:_void___thiscall_DuiLib::CControlUI::SetBkImage_wchar_t_const__
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 8
jb 0x42e3dd
mov edx, dword [ebp - 0x12c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42e3d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e448
push ecx
push edx
call fcn.004cf8ae
add esp, 8
mov byte [esi + 0x18], 1
jmp 0x42e3e6
inc dword [esi + 0x14]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x42e40c
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x42e408
cmp esi, dword [eax + 8]
jne 0x42e408
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x42e3f8
mov esi, eax
jmp 0x42e422
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x42e422
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x42e416
cmp byte [esi + 0xd], 0
je 0x42e306
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.004cf8bc
mov esp, ebp
pop ebp
ret
call fcn.004d54df
int3
Function at 0x42fe70
Capabilities:
Check http status code
Create http request
Get http content length
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x5503c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x19]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
call fcn.00404c50
push 0
push 0
push 0
push 0
push str.VsyDownload_1.0
mov dword [ebp - 0x10], 4
mov dword [ebp - 0xc], 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
mov dword [ebp - 0x28], ebx
test ebx, ebx
je 0x42ffe7
push edi
push 0
push 0x84000002
push 0
push 0
push esi
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
test edi, edi
je 0x42ff02
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x20000013
push edi
call esi
test eax, eax
jne 0x42ff1e
mov dword [ebp - 8], eax
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf8bc
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp - 8], 0xc8
jne 0x42ff02
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x20000005
push edi
call esi
neg eax
sbb eax, eax
and eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
inc eax
push eax
call fcn.004cf8f2
mov ecx, dword [ebp - 0x18]
mov esi, eax
inc ecx
mov dword [ebp - 0x24], esi
push ecx
push 0
push esi
call fcn.004d1960
mov eax, dword [ebp - 0x20]
add esp, 0x10
test eax, eax
je 0x42ff6a
mov dword [eax], esi
mov ebx, dword [ebp - 0x24]
xor esi, esi
nop
push 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x18]
mov ecx, 0x400
sub eax, esi
cmp eax, 0x400
cmovae eax, ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
lea eax, [esi + ebx]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp - 0x14]
add esi, eax
test eax, eax
jne 0x42ff70
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
mov ebx, dword [ebp - 0x28]
push ebx
call esi
cmp dword [ebp - 0x20], 0
jne 0x42ffca
push dword [ebp - 0x24]
call fcn.004cf8ed
add esp, 4
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov dword [ecx], eax
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf8bc
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor al, al
pop esi
xor ecx, ebp
pop ebx
call fcn.004cf8bc
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4351c6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5503c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push 0x20a
push 0
push eax
mov dword [ebp - 0x214], esi
call fcn.004d1960
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call sym.Office2.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004cf8bc
leave
ret

Function at 0x4361de
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x436201
or esi, 2
push 1
call edi
test ax, ax
jns 0x43620d
or esi, 1
push 0x10
call edi
test ax, ax
jns 0x436219
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x436225
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret