joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426ed0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9738
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x524ee0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.00427300
mov dword [edi], eax
lea ecx, [edi + 8]
mov dword [ebp - 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.00427300
mov dword [edi + 8], eax
mov eax, dword [edi]
mov ecx, edi
push dword [eax + 4]
call fcn.00427400
mov eax, dword [edi]
lea ecx, [edi + 8]
mov dword [eax + 4], eax
mov eax, dword [edi]
mov dword [eax], eax
mov eax, dword [edi]
mov dword [eax + 8], eax
mov dword [edi + 4], 0
mov eax, dword [edi + 8]
push dword [eax + 4]
call fcn.00427400
mov eax, dword [edi + 8]
mov dword [eax + 4], eax
mov eax, dword [edi + 8]
mov dword [eax], eax
mov eax, dword [edi + 8]
mov dword [eax + 8], eax
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
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4279f0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9798
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x524ee0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00428350
test al, al
jne 0x427a29
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x526340], eax
mov esi, dword [ebp + 8]
push 0
lea edi, [esi + 0x40]
push edi
sub esp, 0x18
mov ecx, esp
mov dword [ebp + 8], esp
push 0x12
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.GetFileVersionInfo
mov byte [ecx], 0
call fcn.00401460
sub esp, 0x18
mov ecx, esp
push 7
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x4e2024
mov dword [ebp - 4], 0
mov byte [ecx], 0
call fcn.00401460
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.00426c80
sub esp, 0x18
mov ecx, esp
push 0x12
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.GetFileVersionInfo
mov byte [ecx], 0
call fcn.00401460
mov ecx, esi
call fcn.004282d0
test al, al
jne 0x427afb
mov ecx, dword [0x526340]
mov eax, ecx
imul eax, ecx
imul eax, ecx
cdq
mov ecx, 0x18
idiv ecx
cmp edx, 0xa
jne 0x427ae6
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
push dword [ebp + 0x18]
mov eax, dword [edi]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x429e70
Capabilities:
Enumerate gui resources
Get disk size
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 8], ebx
call fcn.0042a420
test al, al
jne 0x429ee9
mov esi, dword [0x526340]
mov eax, 0x4d4873ed
imul esi
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0xd4
mov eax, esi
sub eax, ecx
xor edi, edi
cmp eax, 0x2d
je 0x429ee3
nop
mov eax, esi
or eax, 0xffffff72
add esi, eax
mov eax, esi
imul eax, esi
inc edi
cmp edi, eax
jg 0x429ee3
mov eax, 0x4d4873ed
imul esi
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0xd4
mov eax, esi
sub eax, ecx
cmp eax, 0x2d
jne 0x429eb0
mov dword [0x526340], edi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.00429e30
mov esi, eax
test esi, esi
jne 0x429f66
mov ecx, dword [0x526340]
mov edi, 0x15
lea esi, [ecx + 1]
lea eax, [ecx + 2]
imul eax, esi
imul eax, ecx
cdq
idiv edi
cmp edx, 0x13
jne 0x429f5b
sub ecx, 0
je 0x429f51
dec ecx
je 0x429f3c
pop edi
mov dword [0x526340], esi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov dword [0x526340], 0
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [0x526340], 2
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
xor edi, edi
jmp 0x429f70
push dword [ebp - 4]
inc edi
push 0x42a1c0
call dword [sym.imp.USER32.dll_EnumWindows]
push 0x1f4
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x429fb5
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, eax
call fcn.0042a450
test al, al
jne 0x429fba
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x429fba
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 5
jge 0x429fe6
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.00429e30
mov esi, eax
test esi, esi
jne 0x429f70
pop edi
xor eax, eax
cmp ebx, 1
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42a6a0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9bea
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x524ee0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
lea ecx, [edi + 4]
call fcn.004204d0
mov dword [edi], 0x4e22ac
mov dword [ebp - 4], 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
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
push 0x4dfa40
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00401ff0
push str.CSwDetection_
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.00401ff0
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 7
call fcn.004514f0
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 8
call fcn.0043fc20
lea ecx, [ebp - 0x14]
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 9
call fcn.0043fc20
add esp, 0x1c
lea ecx, [edi + 8]
push eax
mov byte [ebp - 4], 0xa
call fcn.00402ab0
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
or esi, 0xffffffff
mov byte [ebp - 4], 9
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x42a7d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov byte [ebp - 4], 8
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42a7f0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
mov byte [ebp - 4], 7
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42a810
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42a830
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x42a84e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x431bb0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca9c0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x524ee0]
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
push 0x4e38c0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x20], 0
call fcn.00401ff0
push str.Country
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.00401ff0
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
mov byte [ebp - 4], 1
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push 1
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x24], esp
mov esi, esp
push eax
mov byte [ebp - 4], 2
call fcn.004047d0
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov esi, esp
push eax
mov byte [ebp - 4], 3
call fcn.004047d0
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [ebp - 4], 2
call fcn.004324d0
add esp, 0x10
test al, al
jne 0x431c94
mov ebx, dword [ebp + 8]
push 0x4df410
mov ecx, ebx
call fcn.00401ff0
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
or esi, 0xffffffff
mov byte [ebp - 4], 1
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x431cc8
mov ecx, dword [edx]
push edx
jmp 0x431cc3
mov edi, dword [ebp - 0x1c]
add edi, 0xfffffff0
push edi
call fcn.004047d0
mov ebx, dword [ebp + 8]
add eax, 0x10
or esi, 0xffffffff
mov dword [ebx], eax
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [edi + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x431cc8
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
mov byte [ebp - 4], 0
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x431ce8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x14]
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x431d09
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
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.004a8b24
mov esp, ebp
pop ebp
ret
Function at 0x4329f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
mov dword [edi], 0
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x432a61
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x432a2f
cmp eax, 2
jne 0x432a4b
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x432a5b
test ecx, ecx
je 0x432a56
test cl, 1
jne 0x432a4b
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x432a5b
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
mov dword [edi], ecx
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x432a70
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cabfc
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [0x524ee0]
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 + 8]
mov ecx, dword [0x526340]
mov dword [ebp - 0x31c], eax
lea eax, [ecx + 1]
imul eax, ecx
cdq
mov esi, 0x15
idiv esi
cmp edx, 0x11
jne 0x432b41
xor ebx, ebx
lea eax, [ebp - 0x310]
lea esp, [esp]
xor edx, edx
mov dword [ebp - 0x318], edx
mov dword [ebp - 0x314], eax
mov edi, edi
lea edi, [edx + 1]
mov eax, ecx
cdq
lea esi, [ebx + 1]
idiv esi
mov eax, ecx
sub eax, ebx
mov esi, edx
imul esi, eax
mov eax, ecx
cdq
idiv edi
add esi, eax
sub esi, dword [ebp - 0x318]
push esi
push 0x4dfc48
call fcn.004aa80e
mov eax, dword [ebp - 0x314]
mov edx, edi
add eax, 4
add esp, 8
mov dword [ebp - 0x318], edi
mov dword [ebp - 0x314], eax
cmp edx, 8
jge 0x432b33
mov ecx, dword [0x526340]
jmp 0x432ae0
inc ebx
cmp ebx, 0x18
jge 0x432b41
mov ecx, dword [0x526340]
jmp 0x432ad0
mov esi, dword [ebp - 0x31c]
push 1
mov esi, dword [esi]
push ecx
mov ecx, dword [esi - 0x10]
mov dword [ebp - 0x318], esp
mov eax, dword [ecx]
mov ebx, esp
call dword [eax + 0x10]
cmp dword [esi - 4], 0
lea edx, [esi - 4]
mov ecx, eax
jl 0x432b7a
cmp ecx, dword [esi - 0x10]
jne 0x432b7a
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x432bb4
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
jne 0x432b8e
call fcn.00409970
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov ecx, dword [esi - 0xc]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push esi
push eax
lea eax, [edi + 0x10]
push eax
call fcn.004a98f5
add esp, 0x10
lea eax, [edi + 0x10]
mov dword [ebx], eax
mov eax, dword [0x524ab0]
push ecx
mov esi, esp
mov ecx, 0x524ab0
mov dword [ebp - 4], 0
mov dword [ebp - 0x31c], esp
mov dword [ebp - 0x314], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov eax, str.Country
mov byte [ebp - 4], 1
test eax, 0xffff0000
jne 0x432c0e
movzx edi, ax
push 0
push edi
call fcn.00403b10
add esp, 8
test eax, eax
je 0x432c1c
push edi
push eax
mov ecx, esi
call fcn.004074c0
jmp 0x432c1c
push 7
push str.Country
mov ecx, esi
call fcn.00409670
mov eax, dword [0x524ab0]
push ecx
mov esi, esp
mov ecx, 0x524ab0
mov byte [ebp - 4], 2
mov dword [ebp - 0x314], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov eax, 0x4e38c0
mov byte [ebp - 4], 3
test eax, 0xffff0000
jne 0x432c68
movzx edi, ax
push 0
push edi
call fcn.00403b10
add esp, 8
test eax, eax
je 0x432c76
push edi
push eax
mov ecx, esi
call fcn.004074c0
jmp 0x432c76
push 3
push 0x4e38c0
mov ecx, esi
call fcn.00409670
mov byte [ebp - 4], 2
mov dword [ebp - 4], 0xffffffff
call fcn.00433270
add esp, 0x10
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.004a8b24
mov esp, ebp
pop ebp
ret
Function at 0x433670
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x433685
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
jmp 0x433690
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x433690
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x433e70
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.004340e0
test al, al
jne 0x433e87
call fcn.004a96f9
mov dword [0x526340], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
call fcn.00433fe0
mov ebx, dword [ebp + 8]
add esp, 4
mov dword [ebp - 4], eax
test ebx, ebx
je 0x433f8e
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x433f8e
cmp eax, dword [ebp + 0x14]
ja 0x433f8e
xor eax, eax
test esi, esi
je 0x433f49
cmp eax, esi
jae 0x433ecd
movzx edx, byte [eax + ebx]
inc eax
jmp 0x433ecf
xor edx, edx
cmp eax, esi
jae 0x433edd
movzx ecx, byte [eax + ebx]
mov dword [ebp + 8], ecx
inc eax
jmp 0x433ee4
mov dword [ebp + 8], 0
cmp eax, esi
jae 0x433eef
movzx ecx, byte [eax + ebx]
inc eax
jmp 0x433ef1
xor ecx, ecx
shl edx, 8
add edx, dword [ebp + 8]
add edi, 4
shl edx, 8
add edx, ecx
mov ecx, edx
shr ecx, 0x12
and ecx, 0x3f
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi - 4], cl
mov ecx, edx
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi - 3], cl
mov ecx, edx
shr ecx, 6
and ecx, 0x3f
and edx, 0x3f
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi - 2], cl
movzx ecx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi - 1], cl
cmp eax, esi
jb 0x433ec6
mov edi, dword [ebp + 0x10]
mov eax, 0xaaaaaaab
mul esi
shr edx, 1
xor ecx, ecx
lea eax, [edx + edx*2]
mov edx, dword [ebp - 4]
sub esi, eax
cmp dword [esi*4 + 0x4e3a68], ecx
jle 0x433f80
lea eax, [edx - 1]
add eax, edi
lea ebx, [ebx]
mov byte [eax], 0x3d
inc ecx
lea eax, [eax - 1]
cmp ecx, dword [esi*4 + 0x4e3a68]
jl 0x433f70
mov eax, dword [ebp + 0x18]
pop edi
pop esi
mov dword [eax], edx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x434110
Capabilities:
Delete registry key
Get disk size
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 0x2001f
push 0
push str.Software
push reloc.OLEAUT32.dll_SysReAllocString
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4341a5
push 5
push str.tempo
push 1
push str.Tempo
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
test eax, eax
jne 0x434161
push str.Tempo
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov bl, 1
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x526340]
lea ecx, [eax + 1]
imul eax, ecx
cdq
mov ecx, 0xf
idiv ecx
cmp edx, 0xa
jne 0x43418c
call fcn.004a96f9
mov dword [0x526340], eax
call fcn.00434500
test al, al
jne 0x4341a5
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x434520
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x524ee0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
mov word [ebp - 8], ax
push edi
lea eax, [ebp - 0x48]
push eax
mov ecx, esi
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0x5f005f
mov dword [ebp - 0x44], 0x520043
mov dword [ebp - 0x40], 0x40005f
mov dword [ebp - 0x3c], 0x410046
mov dword [ebp - 0x38], 0x4c0049
mov dword [ebp - 0x34], 0x440045
mov dword [ebp - 0x30], 0x44005f
mov dword [ebp - 0x2c], 0x57004f
mov dword [ebp - 0x28], 0x4c004e
mov dword [ebp - 0x24], 0x41004f
mov dword [ebp - 0x20], 0x5f0044
mov dword [ebp - 0x1c], 0x450052
mov dword [ebp - 0x18], 0x440041
mov dword [ebp - 0x14], 0x5f0040
mov dword [ebp - 0x10], 0x520043
mov dword [ebp - 0xc], 0x5f005f
call fcn.00401ff0
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a8b24
mov esp, ebp
pop ebp
ret

Function at 0x4345e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3b4
mov eax, dword [0x524ee0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x526340]
mov eax, esi
imul eax, esi
cdq
mov ecx, 0x17
idiv ecx
push edi
mov edi, dword [ebp + 8]
cmp edx, 0x14
jne 0x434647
xor ecx, ecx
mov eax, dword [ebp + ecx*4 - 0x3a8]
add eax, dword [ebp + ecx*4 - 0x3ac]
add ecx, 4
add eax, dword [ebp + ecx*4 - 0x3c0]
add eax, dword [ebp + ecx*4 - 0x3c4]
imul eax, eax, 0xd4
add esi, eax
cmp ecx, 0x3b0
jb 0x434612
mov dword [0x526340], esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop edi
pop esi
cmp eax, 0xffffffff
je 0x43466a
test al, 0x10
je 0x43466a
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a8b24
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
call fcn.004a8b24
mov esp, ebp
pop ebp
ret

Function at 0x434c30
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push 0
push 3
push 0
push 0
push SysReAllocStringLen
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x434c58
xor eax, eax
pop esi
pop ebp
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
pop ebp
ret
Function at 0x434e60
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4caf12
mov eax, dword fs:[0]
push eax
sub esp, 0x200
mov eax, dword [0x524ee0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
push 0x1f2
mov dword [ebp - 0x208], 0
push eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x20c], esi
call fcn.004a9c90
add esp, 0xc
lea eax, [ebp - 0x204]
push 0xfa
push eax
push str._userprofile_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x204]
push eax
mov ecx, esi
call fcn.00401ff0
mov ecx, dword [esi]
mov dword [ebp - 4], 0
cmp dword [ecx - 0xc], 0
mov dword [ebp - 0x208], 1
mov ecx, esi
je 0x434f0d
push 0x11
push str.AppDataLocalLow
jmp 0x434f14
push 3
push 0x4e3b34
call fcn.0040b920
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a8b24
mov esp, ebp
pop ebp
ret
Function at 0x435310
Capabilities:
Get common file path
Get program files directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4caf62
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x524ee0]
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 ebx, dword [ebp + 8]
mov dword [ebp - 0x21c], 0
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov ecx, dword [0x526340]
mov esi, 0x17
lea edx, [ecx + 1]
lea eax, [ecx + 2]
imul eax, edx
imul eax, ecx
cdq
idiv esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 1
cmp edx, 0xf
jne 0x4353fd
test ecx, ecx
je 0x4353fd
mov edi, edi
mov eax, ecx
and eax, 0x80000001
jns 0x4353ae
dec eax
or eax, 0xfffffffe
inc eax
jne 0x4353bb
mov eax, ecx
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
jmp 0x4353c2
lea ecx, [ecx*2 + 1]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
lea eax, [eax + eax*2]
sub edx, eax
mov dword [0x526340], ecx
sub edx, 0
je 0x4353ec
sub edx, 2
je 0x4353ef
dec edx
je 0x4353f0
jmp 0x4353f9
add ecx, 2
inc ecx
add ecx, 2
mov dword [0x526340], ecx
test ecx, ecx
jne 0x4353a0
call fcn.0043f6e0
test al, al
je 0x435487
push 0
push 0
push str.ProgramW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x4354ee
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a7aa0
add esp, 4
mov edi, eax
push esi
push edi
push str.ProgramW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x435478
test edi, edi
jne 0x43545a
xor ecx, ecx
jmp 0x43546f
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x435460
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, ebx
call fcn.00409670
test edi, edi
je 0x4354ee
push edi
call fcn.004a98f0
add esp, 4
jmp 0x4354ee
call fcn.00435b10
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004a9c90
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4354ee
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4354d0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
mov ecx, ebx
call fcn.00409670
mov eax, ebx
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.004a8b24
mov esp, ebp
pop ebp
ret