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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1001bf2e
xor eax, eax
jmp 0x1001c09a
push 0x4d7f
push 0x1290
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
push 0x6bae
push 1
push 0x2b7f
push 0x5268
lea eax, [ebp - 0x10]
push eax
call fcn.1001bb86
add esp, 0x24
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1001bf6f
xor eax, eax
jmp 0x1001c09a
push 0
push 0x68e4
push 0x5b8a
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
call fcn.1001be02
add esp, 0x14
cmp dword [ebp - 0xc], 0
jne 0x1001bf97
xor eax, eax
jmp 0x1001c09a
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x613e
push 0x5986
push dword [ebp - 8]
push 0
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x10]
push 0x1293
call fcn.1001bb86
add esp, 0x24
push 1
lea eax, [ebp + 8]
push eax
push 0x46a4
push 0x6fb7
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.1001bcfe
add esp, 0x18
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1001bda4
add esp, 0x10
cmp dword [ebp - 0x14], 0
je 0x1001c01a
push 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
push 0x6fef
push 0x6f16
call fcn.1001be02
add esp, 0x14
push dword [ebp - 4]
call fcn.1001a76d
pop ecx
test eax, eax
jne 0x1001c02b
xor eax, eax
jmp 0x1001c09a
push dword [ebp - 4]
push 0x6608
push 1
call fcn.10014f0a
add esp, 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1001c082
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x1001c05c
xor eax, eax
jmp 0x1001c09a
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1001c075
xor eax, eax
jmp 0x1001c09a
lea eax, [ebp - 4]
push eax
push 1
call fcn.1001bec1
pop ecx
pop ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1001c093
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x1001c097
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret

Function at 0x1001c09e
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1001c0e3
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
add ecx, dword [eax]
mov eax, dword [ebp - 0x18]
mov dword [eax], ecx
jmp 0x1001c0e9
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov esp, ebp
pop ebp
ret
Function at 0x10021cb1
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10021d1a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10021cee
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jg 0x10021d18
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.1001048b
mov esi, eax
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.1001048b
mov ecx, dword [esi]
mov dword [eax], ecx
jmp 0x10021ce3
jmp 0x10021d20
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10083a09
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1009638c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1007a8da
mov dword [ebp - 0x14], eax
cmp dword [0x10682cb4], esi
jne 0x10083afc
push 0x800
push esi
push 0x10005f60
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10083a89
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10083bdc
push esi
push esi
push 0x10005f60
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10083bdc
push 0x10005f78
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10083bdc
push eax
call ebx
push 0x10005f84
push edi
mov dword [0x10682cb4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10005f94
push edi
mov dword [0x10682cb8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10005fa8
push edi
mov dword [0x10682cbc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10682cc4], eax
test eax, eax
je 0x10083af9
push 0x10005fc4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10682cc0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10083b21
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10083b14
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10083b36
push 4
pop eax
jmp 0x10083bde
cmp dword [ebp - 0x14], esi
je 0x10083b36
push dword [0x10682cb4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10083b1b
mov eax, dword [0x10682cc0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10083b94
cmp dword [0x10682cc4], edi
je 0x10083b94
push eax
call ebx
push dword [0x10682cc4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10083b94
test eax, eax
je 0x10083b94
call ecx
test eax, eax
je 0x10083b89
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10083b89
test byte [ebp - 8], 1
jne 0x10083b94
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10083bc4
mov eax, dword [0x10682cb8]
cmp eax, edi
je 0x10083bc1
push eax
call ebx
test eax, eax
je 0x10083bc1
call eax
mov esi, eax
test esi, esi
je 0x10083bc1
mov eax, dword [0x10682cbc]
cmp eax, edi
je 0x10083bc1
push eax
call ebx
test eax, eax
je 0x10083bc1
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10682cb4]
call ebx
test eax, eax
je 0x10083bdc
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10083bde
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10074755
mov esp, ebp
pop ebp
ret
Function at 0x4047e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x52bd60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x52f1c4]
push edi
push 0xf0
push reloc.kernel32.dll_FreeConsole
push esi
mov dword [ebp - 0x130], ecx
mov edi, 1
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40496e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40496e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40496e
mov edx, 0x1234
push ebx
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x404959
mov ecx, dword [esi + 4]
mov ebx, eax
movzx eax, word [esi + 2]
mov dword [ebp - 0x134], ecx
mov ecx, 0x403
add esi, 8
cmp cx, ax
jne 0x4048ce
push 3
lea eax, [ebp - 0x104]
push esi
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x108], eax
call fcn.00404b40
push dword [ebp - 0x108]
mov eax, dword [ebp - 0x130]
push 0
push 0x143
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x108]
cmove edi, ecx
lea ecx, [ebp - 0x104]
cmp eax, ecx
je 0x404946
push eax
call fcn.004b4d98
add esp, 4
jmp 0x404946
cmp dx, ax
jne 0x40494b
push 3
lea eax, [ebp - 0x104]
push esi
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x12c], 1
mov dword [ebp - 0x128], 0xffffffff
mov dword [ebp - 0x108], eax
call fcn.00404b40
mov eax, dword [ebp - 0x108]
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x124], eax
cmp eax, ecx
je 0x404920
push eax
call fcn.004b4d98
add esp, 4
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 0x130]
push 0
push 0x40b
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
cmove edi, ecx
mov edx, 0x1234
add esi, dword [ebp - 0x134]
test edi, edi
jne 0x404846
pop ebx
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b4591
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004b4591
mov esp, ebp
pop ebp
ret 4

Function at 0x4055b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4055c9
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x405604
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x405600
lea ebx, [ebx]
cmp esi, edx
jae 0x405604
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x4055f0
cmp esi, edx
jb 0x40560b
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x427760
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x228
mov eax, dword [0x52bd60]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ecx + 4]
mov edx, dword [ebp + 8]
push esi
push edi
or eax, 0x2001f
push eax
push edx
push dword [ecx]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call fcn.00427880
mov esi, eax
test esi, esi
jne 0x427857
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x2c]
mov dword [esp + 0x3c], 0x100
call edi
test eax, eax
jne 0x427829
lea esp, [esp]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call fcn.00427760
mov esi, eax
test esi, esi
jne 0x427857
lea eax, [esp + 0x20]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x2c]
mov dword [esp + 0x3c], 0x100
call edi
test eax, eax
je 0x4277f0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x427840
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], 0
push dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x18], 0
call fcn.004276e0
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x427866
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.004b4591
mov esp, ebp
pop ebp
ret 4
Function at 0x429d70
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, edx
mov ebx, ecx
push edi
mov ecx, esi
call fcn.00429cf0
mov dword [ebp - 8], eax
test ebx, ebx
je 0x429e73
mov edi, dword [ebp + 8]
test edi, edi
je 0x429e73
cmp eax, dword [ebp + 0xc]
ja 0x429e73
xor eax, eax
test esi, esi
je 0x429e34
cmp eax, esi
jae 0x429db8
movzx edx, byte [eax + ebx]
inc eax
jmp 0x429dba
xor edx, edx
cmp eax, esi
jae 0x429dc8
movzx ecx, byte [eax + ebx]
mov dword [ebp - 4], ecx
inc eax
jmp 0x429dcf
mov dword [ebp - 4], 0
cmp eax, esi
jae 0x429dda
movzx ecx, byte [eax + ebx]
inc eax
jmp 0x429ddc
xor ecx, ecx
shl edx, 8
add edx, dword [ebp - 4]
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 0x429db1
mov edi, dword [ebp + 8]
mov eax, 0xaaaaaaab
mul esi
shr edx, 1
xor ecx, ecx
lea eax, [edx + edx*2]
mov edx, dword [ebp - 8]
sub esi, eax
cmp dword [esi*4 + 0x514f78], ecx
jle 0x429e65
lea eax, [edx - 1]
add eax, edi
mov byte [eax], reloc.kernel32.dll_VerifyVersionInfoW
inc ecx
lea eax, [eax - 1]
cmp ecx, dword [esi*4 + 0x514f78]
jl 0x429e55
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov al, 1
pop edi
pop esi
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 0x431db0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x52bd60]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x530411], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
je 0x431f15
mov esi, dword [0x530408]
lea ecx, [esi + 1]
lea eax, [esi + 2]
imul eax, ecx
imul eax, esi
cdq
mov ecx, 6
idiv ecx
cmp edx, 2
jne 0x431e83
xor edx, edx
lea ecx, [ecx]
mov ecx, edx
and ecx, 1
dec ecx
not ecx
and ecx, esi
mov eax, edx
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, esi
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, esi
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, esi
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, esi
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, esi
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, esi
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, esi
sar ecx, 1
xor eax, ecx
inc edx
add esi, eax
cmp edx, 0x100
jl 0x431e00
mov dword [0x530408], esi
push 0x2710
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 3
push dword [0x530770]
lea eax, [ebp - 0x88]
lea ecx, [ebp - 0x8c]
mov dword [ebp - 8], 0
mov dword [ebp - 0x8c], eax
call fcn.00429b80
push reloc.kernel32.dll_DeleteFileW
push dword [ebp - 0x8c]
lea eax, [ebp - 8]
push eax
call fcn.004b6706
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x88]
add esp, 0xc
cmp eax, ecx
je 0x431ee6
push eax
call fcn.004b4d98
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x431f0d
push dword [ebx]
push reloc.kernel32.dll_GetComputerNameExA
push eax
call fcn.004b674b
push dword [ebp - 8]
call fcn.004b688f
push dword [ebp - 8]
call fcn.004b6a34
add esp, 0x14
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov esi, dword [0x530408]
mov eax, esi
imul eax, esi
imul eax, esi
cdq
mov ecx, reloc.kernel32.dll_OpenSemaphoreW
idiv ecx
cmp edx, 5
jne 0x431f6b
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub esi, ecx
xor ecx, ecx
lea eax, [esi + 0x2f4]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b3d60
push eax
call fcn.004b4e1b
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b4591
mov esp, ebp
pop ebp
ret 4
Function at 0x433860
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x52bd60]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push edx
mov dword [edi], 0
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4338eb
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x4338ad
cmp eax, 2
jne 0x4338c9
mov ecx, dword [ebp - 0xc]
test esi, esi
je 0x4338e5
test ecx, ecx
je 0x4338e0
test cl, 1
jne 0x4338c9
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x4338e5
pop edi
mov eax, reloc.kernel32.dll_CreateFileMappingW
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b4591
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
mov dword [edi], ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004b4591
mov esp, ebp
pop ebp
ret 0xc

Function at 0x433900
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x52bd60]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x530408]
push ebx
lea eax, [ecx + 1]
imul eax, ecx
push esi
cdq
mov esi, 6
idiv esi
xor bl, bl
cmp edx, 4
jne 0x433934
dec ecx
mov dword [0x530408], ecx
lea eax, [ebp - 8]
push eax
push 0x2001f
push 0
push str.Software
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x433987
push 5
push str.tempo
push 1
push str.Tempo
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
test eax, eax
jne 0x43397e
push str.Tempo
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov bl, 1
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004b4591
mov esp, ebp
pop ebp
ret

Function at 0x433d50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x52bd60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
mov word [ebp - 8], ax
push edi
lea eax, [ebp - 0x48]
push eax
mov esi, ecx
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.004036e0
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b4591
mov esp, ebp
pop ebp
ret
Function at 0x433fc0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push reloc.kernel32.dll_FileTimeToLocalFileTime
mov eax, dword fs:[0]
push eax
sub esp, 0x200
mov eax, dword [0x52bd60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
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 - 0x20c], esi
call fcn.004b9070
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
mov dword [esi], 0
call fcn.004036e0
mov dword [ebp - 4], 0
mov ecx, dword [esi]
mov dword [ebp - 0x208], 1
cmp dword [ecx - 0xc], 0
mov ecx, esi
je 0x434072
push reloc.kernel32.dll_GetDiskFreeSpaceA
push str.AppDataLocalLow
jmp 0x434079
push 3
push reloc.kernel32.dll_SetNamedPipeHandleState
call fcn.004270f0
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.004b4591
mov esp, ebp
pop ebp
ret
Function at 0x434260
Capabilities:
Get common file path
Get program files directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push reloc.kernel32.dll_FileTimeToLocalFileTime
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x52bd60]
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, ecx
mov dword [ebp - 0x224], edi
mov esi, dword [0x530408]
mov eax, esi
imul eax, esi
cdq
mov ecx, reloc.kernel32.dll_AssignProcessToJobObject
idiv ecx
mov dword [ebp - 0x228], 0
cmp edx, 6
jne 0x4342d2
lea ecx, [edx - 5]
cmp esi, ecx
jle 0x4342cc
mov edi, edi
mov eax, esi
cdq
idiv ecx
inc ecx
add ecx, edx
cmp ecx, esi
jl 0x4342c0
mov dword [0x530408], ecx
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
add eax, 0x10
mov dword [ebp - 0x220], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edx, [ebp - 0x21c]
mov ecx, eax
call fcn.0045a200
test eax, eax
je 0x4343f1
cmp dword [ebp - 0x21c], 0
je 0x4343f1
push 0
push 0
push str.ProgramW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x4343a1
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.004b3d60
add esp, 4
mov edi, eax
push esi
push edi
push str.ProgramW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x43438e
test edi, edi
jne 0x43436d
xor ecx, ecx
jmp 0x434381
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x434372
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x220]
call fcn.004046b0
test edi, edi
je 0x43439b
push edi
call fcn.004b4e1b
add esp, 4
mov edi, dword [ebp - 0x224]
mov esi, dword [ebp - 0x220]
add esi, 0xfffffff0
mov ecx, esi
call fcn.00404770
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4343d4
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + reloc.kernel32.dll_IsBadStringPtrA]
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.004b4591
mov esp, ebp
pop ebp
ret
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004b9070
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push reloc.kernel32.dll_WakeConditionVariable
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4343a1
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x434435
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x220]
call fcn.004046b0
jmp 0x4343a1
Function at 0x4355e0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
push 0
push 0
push 3
push 0
push 0
push SysReAllocStringLen
push ecx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43560f
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [0x530408]
mov dword [edi], eax
lea eax, [ecx + 1]
imul eax, ecx
cdq
mov ecx, 0xa
idiv ecx
cmp edx, 7
jne 0x435678
mov al, byte [0x5165f0]
movq xmm0, qword [str.jdf7XHa8]
mov byte [ebp - 4], al
lea eax, [ebp - 0xc]
movq qword [ebp - 0xc], xmm0
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435650
sub eax, edx
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b3d60
push eax
call fcn.004b4e1b
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret