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

Disassembly:
sub esp, 0x260
mov eax, dword [0x536f50]
xor eax, esp
mov dword [esp + 0x25c], eax
push ebx
mov ebx, dword [esp + 0x270]
push esi
mov esi, dword [esp + 0x26c]
push edi
mov edi, dword [esp + 0x274]
push 0x40
lea eax, [esp + 0x24]
push 0
push eax
call fcn.0047a920
xor eax, eax
xor edx, edx
push 0x206
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push edx
lea eax, [esp + 0x76]
xor ecx, ecx
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x34], 0x44
mov word [esp + 0x64], cx
mov word [esp + 0x78], dx
call fcn.0047a920
push edi
push esi
lea ecx, [esp + 0x80]
push 0x4df2b0
push ecx
call fcn.0047b59d
add esp, 0x28
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x80]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41f555
mov edx, dword [esp + 0xc]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x10]
push ecx
call esi
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x25c]
xor ecx, esp
call fcn.0047a885
add esp, 0x260
ret
test ebx, ebx
je 0x41f561
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
mov ecx, dword [esp + 0x268]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0047a885
add esp, 0x260
ret

Function at 0x41f870
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov dword [ecx + 4], eax
mov edx, 1
lea esi, [ecx + 8]
mov edi, eax
shr edi, 0x1e
xor edi, eax
imul edi, edi, 0x6c078965
lea eax, [edi + edx]
mov dword [esi], eax
inc edx
add esi, 4
cmp edx, 0x270
jl 0x41f881
pop edi
mov dword [ecx], 0x270
pop esi
ret 4

Function at 0x41f8f0
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
push esi
mov esi, ecx
push edi
lea edx, [esi + 0x9c4]
mov edi, 0xe3
mov eax, dword [edx + 4]
xor eax, dword [edx]
and eax, 0x7fffffff
xor eax, dword [edx]
mov ecx, eax
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [edx + 0x634]
shr eax, 1
xor ecx, eax
mov dword [edx - 0x9c0], ecx
add edx, 4
sub edi, 1
jne 0x41f900
lea edx, [esi + 0xd50]
mov edi, 0x18c
mov ebp, 0x26f
mov eax, dword [edx]
xor eax, dword [edx + 4]
and eax, 0x7fffffff
xor eax, dword [edx]
mov ecx, eax
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [edx - 0xd4c]
shr eax, 1
xor ecx, eax
mov dword [edx - 0x9c0], ecx
add edx, 4
sub edi, 1
jne 0x41f946
mov eax, dword [esi + ebp*4 + 0x9c4]
xor eax, dword [esi + 4]
and eax, 0x7fffffff
xor eax, dword [esi + ebp*4 + 0x9c4]
mov edx, eax
and dl, 1
movzx ecx, dl
neg ecx
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [esi + 0x634]
shr eax, 1
xor ecx, eax
mov dword [esi + ebp*4 + 4], ecx
mov dword [esi], edi
pop edi
pop esi
pop ebp
ret
Function at 0x41f9c0
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
push esi
push edi
lea eax, [ecx + 0x638]
mov ebp, 0x68
mov edi, edi
mov esi, dword [eax - 0x630]
mov ecx, dword [eax - 0x634]
xor ecx, esi
and ecx, 0x7fffffff
xor ecx, dword [eax - 0x634]
mov edi, dword [eax - 0x62c]
mov edx, ecx
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0x9908b0df
shr ecx, 1
xor edx, ecx
xor edx, dword [eax]
mov ecx, edi
mov dword [eax + 0x38c], edx
xor ecx, esi
and ecx, 0x7fffffff
xor ecx, esi
mov edx, ecx
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
mov esi, dword [eax - 0x628]
and edx, 0x9908b0df
xor edx, dword [eax + 4]
shr ecx, 1
xor edx, ecx
mov dword [eax + 0x390], edx
mov ecx, esi
xor ecx, edi
and ecx, 0x7fffffff
xor ecx, edi
mov edi, dword [eax - 0x624]
mov edx, ecx
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0x9908b0df
xor edx, dword [eax + 8]
shr ecx, 1
xor edx, ecx
mov dword [eax + 0x394], edx
mov ecx, edi
xor ecx, esi
and ecx, 0x7fffffff
xor ecx, esi
mov esi, dword [eax - 0x620]
mov edx, ecx
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0x9908b0df
xor edx, dword [eax + 0xc]
shr ecx, 1
xor edx, ecx
mov dword [eax + 0x398], edx
mov ecx, esi
xor ecx, edi
and ecx, 0x7fffffff
xor ecx, edi
mov edx, ecx
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0x9908b0df
xor edx, dword [eax + 0x10]
shr ecx, 1
xor edx, ecx
mov ecx, dword [eax - 0x61c]
xor ecx, esi
and ecx, 0x7fffffff
xor ecx, esi
mov dword [eax + 0x39c], edx
mov edx, ecx
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0x9908b0df
xor edx, dword [eax + 0x14]
shr ecx, 1
xor edx, ecx
mov dword [eax + 0x3a0], edx
add eax, 0x18
sub ebp, 1
jne 0x41f9d0
pop edi
pop esi
pop ebp
ret
Function at 0x421ed0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4d6ec6
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x536f50]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push esi
push edi
mov eax, dword [0x536f50]
xor eax, esp
push eax
lea eax, [esp + 0x254]
mov dword fs:[0], eax
mov eax, dword [esp + 0x264]
mov edi, dword [esp + 0x268]
mov esi, dword [esp + 0x26c]
push eax
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
call fcn.004d37d0
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
test al, al
je 0x421f46
push 0x4de894
lea ecx, [esp + 0x4c]
push ecx
jmp 0x421f50
push 0x4df4c0
lea edx, [esp + 0x4c]
push edx
call ebx
push str.SetupHelper.exe
lea eax, [esp + 0x4c]
push eax
call ebx
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42200b
push edi
lea edx, [esp + 0x30]
push str._image
push edx
call fcn.0041b550
add esp, 0xc
cmp dword [esi + 0x14], 0
mov dword [esp + 0x25c], 0
mov edi, 8
je 0x421fd6
push esi
lea eax, [esp + 0x14]
push str.__args
push eax
call fcn.0041b550
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x268], 1
call fcn.00410670
cmp dword [esp + 0x28], edi
jb 0x421fd6
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004798f2
add esp, 4
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], edi
jae 0x421fe4
lea eax, [esp + 0x30]
push 0
push eax
lea edx, [esp + 0x50]
push edx
call fcn.0041f460
add esp, 0xc
mov esi, eax
cmp dword [esp + 0x44], edi
jb 0x422009
mov eax, dword [esp + 0x30]
push eax
call fcn.004798f2
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x254]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.0047a885
add esp, 0x250
ret
Function at 0x425990
Capabilities:
Create thread
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4d73cb
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x536f50]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
mov eax, dword [0x536f50]
xor eax, esp
push eax
lea eax, [esp + 0x23c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24c]
mov ebx, ecx
test esi, esi
je 0x425ac7
push esi
call fcn.004251d0
add esp, 4
cmp dword [esi + 0xbc], 0
jne 0x425ac7
cmp dword [esi + 0x14], 0
je 0x425ac7
xor eax, eax
push 0x208
push eax
lea ecx, [esp + 0x36]
push ecx
mov word [esp + 0x38], ax
call fcn.0047a920
add esp, 0xc
lea edx, [esp + 0x2c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp dword [esi + 0xa0], 0
je 0x425a47
cmp dword [esi + 0xa4], 8
jb 0x425a3f
mov eax, dword [esi + 0x90]
jmp 0x425a5c
lea eax, [esi + 0x90]
jmp 0x425a5c
cmp dword [esi + 0x18], 8
jb 0x425a52
mov eax, dword [esi + 4]
jmp 0x425a55
lea eax, [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00401700
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esi + 0xa8]
mov dword [esp + 0x250], 0
call fcn.00401da0
lea ecx, [esp + 0x10]
call fcn.00401780
mov edi, dword [ebx + 0x100]
push 0
push 0
push esi
push 0x423e90
push 0xa
lea edx, [edi + 1]
push 0
mov dword [ebx + 0x100], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + edi*4], eax
mov eax, 1
jmp 0x425ac9
xor eax, eax
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.0047a885
add esp, 0x238
ret 4
Function at 0x427a80
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4d77b8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x536f50]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x536f50]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov esi, ecx
push 0x535f6c
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.00403fb0
push 1
push ebx
push 0x4df844
lea ecx, [esp + 0x3c]
mov dword [esp + 0x80], ebx
call fcn.00401b90
cmp eax, ebx
lea ebp, [ebx + 0x10]
jl 0x427b73
cmp eax, dword [esp + 0x44]
jae 0x427b73
push eax
push ebx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x3c]
call fcn.00401680
mov eax, dword [esp + 0x50]
mov byte [esp + 0x74], 1
cmp dword [esp + 0x64], ebp
jae 0x427b1f
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.004d3840
add esp, 8
push 0xffffffffffffffff
push ebx
lea edi, [esi + 0x124]
push eax
mov ecx, edi
mov byte [esp + 0x80], 2
call fcn.00401da0
cmp dword [esp + 0x2c], 8
jb 0x427b5a
mov edx, dword [esp + 0x18]
push edx
call fcn.004798f2
add esp, 4
mov byte [esp + 0x74], bl
cmp dword [esp + 0x64], ebp
jb 0x427b86
mov eax, dword [esp + 0x50]
push eax
call fcn.004798f2
add esp, 4
jmp 0x427b86
push ebx
lea edi, [esi + 0x124]
push 0x4de910
mov ecx, edi
call fcn.00402500
mov ecx, dword [edi + 0x14]
push 5
push str.show0
push ecx
push ebx
mov ecx, edi
call fcn.00410570
test eax, eax
jne 0x427baa
cmp dword [esp + 0x48], ebp
jb 0x427be0
mov edx, dword [esp + 0x34]
push edx
jmp 0x427bd8
mov edi, dword [esi + 0x100]
push ebx
push ebx
push ebx
push 0x427880
push 0xa
lea eax, [edi + 1]
push ebx
mov dword [esi + 0x100], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + edi*4], eax
cmp dword [esp + 0x48], ebp
jb 0x427be0
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004798f2
add esp, 4
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0047a885
add esp, 0x64
ret
Function at 0x428830
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x4d7880
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x536f50]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esi + 0x10]
cmp dword [esi + 0xc], ebp
jbe 0x428866
call fcn.0047b9cb
mov edi, dword [esi + 0xc]
mov ebx, dword [esi]
cmp edi, dword [esi + 0x10]
jbe 0x428875
call fcn.0047b9cb
mov eax, dword [esi]
push ebp
push ebx
push edi
push eax
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.004286c0
lea ecx, [esp + 0x14]
call fcn.004d1c60
xor ebx, ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], ebx
call fcn.004d1c30
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push eax
push 0xf003f
push ebx
push 0x4df860
push reloc.WS2_32.dll_accept
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4288ea
push ebx
lea ecx, [esp + 0x18]
call fcn.004d1c30
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push 0x4df860
push reloc.WS2_32.dll_accept
call edi
test eax, eax
jne 0x428984
lea ecx, [esp + 0x14]
call fcn.004d1c30
push eax
push 0xf003f
push ebx
push 0x4df860
push reloc.WS2_32.dll_accept
call esi
test eax, eax
jne 0x428984
lea ecx, [esp + 0x18]
call fcn.004d1c60
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 1
call fcn.004d1c30
push eax
push 0xf003f
push ebx
push str.Kunbang
lea ecx, [esp + 0x24]
call fcn.004d1c20
push eax
call esi
test eax, eax
jne 0x428952
push 0x4df848
lea ecx, [esp + 0x18]
call fcn.004d1c20
push eax
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push ebx
lea ecx, [esp + 0x1c]
call fcn.004d1c30
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.Kunbang
lea ecx, [esp + 0x34]
call fcn.004d1c20
push eax
call edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.004d1c40
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004d1c40
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret

Function at 0x428e80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d78e8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x536f50]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov eax, dword [0x536f50]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [esp + 0x48]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c], ebx
call fcn.00403fb0
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], bl
mov byte [esp + 0x33], bl
mov byte [esp + 0x34], bl
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x30], bl
mov byte [esp + 0x35], bl
call fcn.00428de0
cmp dword [esp + 0x24], 0x10
jb 0x428f15
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004798f2
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0047a885
add esp, 0x38
ret 4
Function at 0x428f40
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
sub esp, 0x44
mov eax, dword [0x536f50]
xor eax, esp
mov dword [esp + 0x40], eax
xor eax, eax
push 0x3e
push eax
lea ecx, [esp + 0xa]
push ecx
mov word [esp + 0xc], ax
call fcn.0047a920
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
push 0x20
lea edx, [esp + 4]
push edx
movzx eax, ax
push 0x1004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x428f9a
call dword [sym.imp.KERNEL32.dll_GetACP]
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0047a885
add esp, 0x44
ret
lea eax, [esp]
push eax
call fcn.0047be2e
mov ecx, dword [esp + 0x44]
add esp, 4
xor ecx, esp
call fcn.0047a885
add esp, 0x44
ret

Function at 0x428fc0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x501450
push 0x47cb50
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x536f50]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4290ac
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push ebx
call fcn.0047994c
add esp, 4
mov edi, eax
mov dword [ebp - 0x1c], edi
push 0
lea ecx, [ebp - 0x20]
push ecx
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x3c]
add eax, edi
mov dword [ebp - 4], 0
movzx eax, word [eax + 4]
mov edx, 0x200
cmp ax, dx
je 0x4290c1
mov ecx, 0x8664
cmp ax, cx
je 0x4290c1
mov edx, 0x14c
push 0xfffffffffffffffe
cmp ax, dx
jne 0x42909b
lea eax, [ebp - 0x10]
push eax
push 0x536f50
call fcn.0047ccdc
add esp, 0xc
mov eax, 0x20
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x10]
push ecx
push 0x536f50
call fcn.0047ccdc
add esp, 0xc
or eax, 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xfffffffffffffffe
lea edx, [ebp - 0x10]
push edx
push 0x536f50
call fcn.0047ccdc
add esp, 0xc
mov eax, 0x40
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429930
Capabilities:
Check if file exists
Create process on windows

Disassembly:
sub esp, 0x248
mov eax, dword [0x536f50]
xor eax, esp
mov dword [esp + 0x244], eax
push esi
push 0x38
lea eax, [esp + 0xc]
push 0
push eax
call fcn.0047a920
lea ecx, [esp + 0x4c]
push 0x104
push ecx
mov dword [esp + 0x18], 0x3c
call fcn.0043e3b0
add esp, 0x14
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
push 0x4df974
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x4df968
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop esi
test eax, eax
je 0x429a05
lea edx, [esp]
lea ecx, [esp + 0x3c]
push edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], str._UnAssociateAll
mov dword [esp + 0x20], 0
mov dword [esp + 8], 0x440
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x429a05
mov eax, dword [esp + 0x38]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.0047a885
add esp, 0x248
ret
mov ecx, dword [esp + 0x244]
xor ecx, esp
xor eax, eax
call fcn.0047a885
add esp, 0x248
ret

Function at 0x429b00
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
sub esp, 0x61c
mov eax, dword [0x536f50]
xor eax, esp
mov dword [esp + 0x618], eax
push ebp
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
mov edi, dword [esp + 0x628]
push edi
call ebp
test eax, eax
je 0x429c32
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call ebx
test eax, eax
jne 0x429c31
push esi
push 0x206
push eax
lea ecx, [esp + 0x222]
push ecx
mov word [esp + 0x224], ax
call fcn.0047a920
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x436]
push eax
mov word [esp + 0x438], dx
call fcn.0047a920
add esp, 0x18
lea ecx, [esp + 0x420]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [esp + 0x218]
push edx
push edi
call fcn.00429a20
add esp, 8
xor esi, esi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.0047a920
add esp, 0xc
lea edx, [esp + 0x218]
lea eax, [esp + 0x420]
lea ecx, [esp + 0x10]
test esi, esi
jne 0x429be4
push edx
push eax
push str._s_s.del
push ecx
call fcn.0047b59d
add esp, 0x10
jmp 0x429bf5
push esi
push edx
push eax
push str._s_s.del_d
push ecx
call fcn.0047b59d
add esp, 0x14
lea edx, [esp + 0x10]
push edx
call ebp
test eax, eax
je 0x429c13
lea eax, [esp + 0x10]
push eax
call ebx
test eax, eax
jne 0x429c13
cmp esi, 0xa
jge 0x429c30
inc esi
jmp 0x429ba2
lea ecx, [esp + 0x10]
push ecx
push edi
call fcn.0047ce5b
add esp, 8
push 5
push 0
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop esi
pop ebx
mov ecx, dword [esp + 0x620]
pop edi
pop ebp
xor ecx, esp
call fcn.0047a885
add esp, 0x61c
ret
Function at 0x429c50
Capabilities:
Create process on windows
Get comspec environment variable
Query environment variable
Self delete

Disassembly:
sub esp, 0x658
mov eax, dword [0x536f50]
xor eax, esp
mov dword [esp + 0x654], eax
push ebx
push ebp
push esi
push edi
push 0x104
lea eax, [esp + 0x50]
push eax
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x429db4
push 0x104
lea ecx, [esp + 0x50]
push ecx
mov edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x429db4
push 0x104
lea eax, [esp + 0x460]
push eax
push str.COMSPEC
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x429db4
push str._c_del
lea ecx, [esp + 0x258]
push 0x104
push ecx
call fcn.0047cf0b
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x264]
push 0x104
push eax
call fcn.0047ce8e
push str.___nul
lea ecx, [esp + 0x270]
push 0x104
push ecx
call fcn.0047ce8e
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
add esp, 0x24
lea edx, [esp + 0x45c]
lea eax, [esp + 0x254]
push 0x100
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], str.Open
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x18], 0x40
call edi
mov esi, dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push eax
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push 0xf
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push eax
call ebp
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x429da6
mov edx, dword [esp + 0x48]
push 0x40
push edx
call esi
mov eax, dword [esp + 0x48]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessPriorityBoost]
push 0
lea ecx, [esp + 0x50]
push ecx
push 5
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov eax, 1
jmp 0x429db6
push 0x20
call edi
push eax
call esi
push 0
call ebx
push eax
call ebp
xor eax, eax
mov ecx, dword [esp + 0x664]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0047a885
add esp, 0x658
ret
Function at 0x429f20
Capabilities:
Create process on windows
Get common file path
Get system information on windows
Write and execute a file
Write file on windows

Disassembly:
sub esp, 0x238
mov eax, dword [0x536f50]
xor eax, esp
mov dword [esp + 0x234], eax
push ebx
push edi
lea eax, [esp + 0x10]
push eax
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [esp + 0x10]
mov ecx, 9
cmp cx, ax
je 0x429f5c
mov edx, 6
cmp dx, ax
jne 0x429f6e
push 0x104
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
jmp 0x429f7e
push 0x104
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.kz.exe
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x42a003
push esi
push 0x100000
mov dword [esp + 0x10], 0x100000
call fcn.004421d5
push 0x13393
push 0x522410
lea ecx, [esp + 0x18]
mov esi, eax
push ecx
push esi
call fcn.00411ea0
mov eax, dword [esp + 0x20]
add esp, 0x14
push 0
lea edx, [esp + 0x14]
push edx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
test eax, eax
je 0x429ffa
mov ebx, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42a005
xor ebx, ebx
push 5
push 0
push 0
lea ecx, [esp + 0x40]
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x23c]
pop edi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0047a885
add esp, 0x238
ret

Function at 0x42a040
Capabilities:
Delete registry key

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0x20019
push 0
push 0x4dfa7c
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42a082
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x4dfa7c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
pop ecx
ret