joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407e2c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x407f91
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00406280
cmp si, word [0x437a00]
jb 0x407ec4
cmp si, word [0x437c00]
ja 0x407ec4
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x407ec4
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x437a00]
jae 0x407e9e
mov edi, ebx
dec edi
jmp 0x407ebf
cmp si, word [ebx*8 + 0x437a00]
jbe 0x407eae
inc ebx
mov dword [ebp - 8], ebx
jmp 0x407ebf
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x437a04]
call fcn.00407d4c
jmp 0x407ec4
cmp edi, dword [ebp - 8]
jae 0x407e88
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x407f73
push 2
movzx eax, si
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x407f73
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00406b94
push dword [ebp - 0x160]
push 0x407fac
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00406b94
push dword [ebp - 0x164]
push 0x407fbc
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00406b94
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00406d60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407f98
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.004062e0
ret
Function at 0x408144
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x408248
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x43bb84
call sub.KERNEL32.DLL_EnterCriticalSection
cmp bx, word [0x43bb9c]
jne 0x408190
mov eax, esi
mov edx, 0x43bb9e
mov ecx, 0x55
call fcn.00406b94
push 0x43bb84
call sub.KERNEL32.DLL_LeaveCriticalSection
jmp 0x408232
push 0x43bb84
call sub.KERNEL32.DLL_LeaveCriticalSection
mov eax, esi
call fcn.00406280
push 2
movzx eax, bx
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x4081ff
cmp byte [0x43bb80], 0
je 0x4081c4
mov edx, esi
mov eax, ebx
call fcn.00408028
jmp 0x4081ff
mov edx, esi
mov eax, ebx
call fcn.00407e2c
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
cmp bx, ax
je 0x4081ff
cmp dword [esi], 0
je 0x4081e8
mov eax, esi
mov edx, 0x408260
call fcn.00406c80
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00407e2c
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00406c80
push 0x43bb84
call sub.KERNEL32.DLL_EnterCriticalSection
mov word [0x43bb9c], bx
mov eax, dword [esi]
call fcn.00406b00
mov ecx, eax
mov eax, 0x43bb9e
mov edx, 0xaa
call fcn.00407cac
push 0x43bb84
call sub.KERNEL32.DLL_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40824f
lea eax, [ebp - 4]
call fcn.00406280
ret
Function at 0x40898c
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406364
xor eax, eax
push ebp
push 0x408a4c
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.KERNEL32.DLL_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00406b94
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00406cd8
mov eax, dword [ebx]
call fcn.00408854
test al, al
jne 0x408a29
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00406b94
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00406cd8
mov eax, dword [ebx]
call fcn.00408854
test al, al
jne 0x408a29
mov eax, ebx
call fcn.00406280
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408a53
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004062e0
lea eax, [ebp - 4]
call fcn.00406280
ret

Function at 0x41804c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW_1
test eax, eax
jle 0x418085
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.004063bc
jmp 0x41808e
mov eax, ebx
mov edx, esi
call fcn.00406614
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x418098
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW_1
test eax, eax
jle 0x4180ba
movzx eax, word [esp]
jmp 0x4180bc
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x41905c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x419181
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00418e64
mov esi, eax
mov eax, dword [0x438e10]
cmp byte [eax], 0
je 0x419129
mov eax, dword [0x438cd4]
call fcn.004048cc
call fcn.00404518
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.KERNEL32.DLL_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x41902c]
call fcn.00407894
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.KERNEL32.DLL_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle_1
push eax
call sub.KERNEL32.DLL_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x41919c
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle_1
push eax
call sub.KERNEL32.DLL_WriteFile_1
jmp 0x419165
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x438cac]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x43bc4c]
call fcn.0040794c
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x419188
lea eax, [ebp - 4]
mov edx, dword [0x41902c]
call fcn.004078a0
ret

Function at 0x4213f0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, eax
mov byte [ebp - 1], 0
call sub.KERNEL32.DLL_GetEnvironmentStringsW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x421445
xor eax, eax
push ebp
push 0x42143e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00423a40
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x421445
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_FreeEnvironmentStringsW
ret
movzx eax, byte [ebp - 1]
pop ebx
pop ecx
pop ecx
pop ebp
ret

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

Disassembly:
push ebx
push esi
add esp, 0xfffffff4
mov esi, eax
call sub.KERNEL32.DLL_GetTickCount_1
mov ebx, eax
mov dword [esp + 4], ebx
test ebx, ebx
jne 0x42162e
mov dword [esp + 4], 1
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, esi
call fcn.00406b00
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
je 0x42164e
test al, 0x10
sete bl
jmp 0x421650
xor ebx, ebx
call sub.KERNEL32.DLL_GetTickCount_1
mov esi, eax
mov dword [esp + 8], esi
test esi, esi
jne 0x421667
mov dword [esp + 8], 1
mov eax, esp
mov edx, dword [esp + 8]
call fcn.00424f90
cmp eax, dword [0x43873c]
jbe 0x42167f
mov dword [0x43873c], eax
mov eax, ebx
add esp, 0xc
pop esi
pop ebx
ret
Function at 0x4216c0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, esi
call fcn.00406b00
mov edi, eax
push edi
call sub.KERNEL32.DLL_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x421714
push edi
call sub.KERNEL32.DLL_GetFileAttributesW
mov edi, eax
cmp edi, 0xffffffff
je 0x421714
test edi, 1
je 0x421714
and edi, 0xfffffffe
push edi
mov eax, esi
call fcn.00406b00
mov ebx, eax
push ebx
call sub.KERNEL32.DLL_SetFileAttributesW
push ebx
call sub.KERNEL32.DLL_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
add esp, 0xfffffff4
mov esi, eax
call sub.KERNEL32.DLL_GetTickCount_1
mov ebx, eax
mov dword [esp + 4], ebx
test ebx, ebx
jne 0x42173e
mov dword [esp + 4], 1
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, esi
call fcn.00406b00
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
je 0x421762
test eax, 0x10
seta bl
jmp 0x421764
xor ebx, ebx
call sub.KERNEL32.DLL_GetTickCount_1
mov esi, eax
mov dword [esp + 8], esi
test esi, esi
jne 0x42177b
mov dword [esp + 8], 1
mov eax, esp
mov edx, dword [esp + 8]
call fcn.00424f90
cmp eax, dword [0x438740]
jbe 0x421793
mov dword [0x438740], eax
mov eax, ebx
add esp, 0xc
pop esi
pop ebx
ret

Function at 0x422380
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
call sub.KERNEL32.DLL_FindResourceW
mov edi, eax
mov dword [ebx + 0x10], edi
test edi, edi
jne 0x4223ae
push ebp
call fcn.004222d0
pop ecx
mov eax, dword [ebx + 0x10]
push eax
push esi
call sub.KERNEL32.DLL_LoadResource
mov edi, eax
mov dword [ebx + 0x14], edi
test edi, edi
jne 0x4223c8
push ebp
call fcn.004222d0
pop ecx
mov edi, ebx
mov eax, dword [ebx + 0x14]
push eax
call sub.KERNEL32.DLL_LockResource
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x10]
push eax
push esi
call sub.KERNEL32.DLL_SizeofResource
mov edx, dword [ebp - 8]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x423d10
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x423e72
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
test esi, esi
je 0x423e4a
mov bl, 1
lea edx, [ebp - 4]
mov eax, esi
call fcn.00423bb0
mov eax, dword [ebp - 4]
call fcn.00421720
test al, al
jne 0x423e4a
mov eax, dword [ebp - 4]
test eax, eax
je 0x423d5f
sub eax, 4
mov eax, dword [eax]
cmp eax, 3
jge 0x423d68
mov al, 1
jmp 0x423d81
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00423c60
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.00406e10
sete al
test al, al
je 0x423dda
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040665c
xor eax, eax
push ebp
push 0x423dcd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 8]
call fcn.00406b00
push eax
call sub.KERNEL32.DLL_CreateDirectoryW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x423dd4
lea eax, [ebp - 8]
call fcn.00406280
ret
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00423c60
mov eax, dword [ebp - 0x18]
call fcn.00423d10
test al, al
je 0x423e46
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.0040665c
xor eax, eax
push ebp
push 0x423e39
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0xc]
call fcn.00406b00
push eax
call sub.KERNEL32.DLL_CreateDirectoryW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xe], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x423e40
lea eax, [ebp - 0xc]
call fcn.00406280
ret
xor eax, eax
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x423e79
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004062e0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004062e0
ret

Function at 0x425010
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x3c
call fcn.00404930
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x48], 0x500
mov eax, dword [ebp - 4]
call fcn.00406b00
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
call fcn.00406b00
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0xc], 0
je 0x425063
mov eax, dword [ebp - 0xc]
call fcn.00406b00
mov dword [ebp - 0x38], eax
cmp dword [ebp + 0xc], 0
je 0x425074
mov eax, dword [ebp + 0xc]
call fcn.00406b00
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
inc dword [0x4387c0]
xor eax, eax
push ebp
push 0x4250ab
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
call sub.shell32.dll_ShellExecuteExW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4250b2
dec dword [0x4387c0]
ret
Function at 0x425110
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4251f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.00406280
mov eax, dword [0x438df4]
cmp dword [eax], 0
je 0x425199
mov edx, dword [0x438d14]
mov eax, dword [ebp - 8]
mov ecx, 0x10
call fcn.004136b4
test al, al
jne 0x425199
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x4000
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x438df4]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x425199
cmp dword [ebp - 0x14], 0
je 0x425199
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
call fcn.00406b58
mov eax, dword [ebp - 0x14]
push eax
call sub.ole32.dll_CoTaskMemFree
jmp 0x4251db
lea eax, [ebp - 0x10]
mov edx, 0x105
call fcn.00406c00
cmp dword [ebp - 4], 0
jl 0x4251db
mov eax, dword [ebp - 0x10]
call fcn.00406b00
push eax
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0
call sub.shell32.dll_SHGetFolderPathW
test eax, eax
jne 0x4251db
lea eax, [ebp - 0x10]
call fcn.00422a00
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00406614
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4251f8
lea eax, [ebp - 0x10]
call fcn.00406280
ret

Function at 0x426050
Capabilities:
Clear file content
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0
push 4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xc]
call fcn.00407598
push edx
push eax
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00414184
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_SetEndOfFile
test eax, eax
je 0x4260b9
push 0
push 4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xc]
call fcn.00407598
push edx
push eax
push 0
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetFileSize
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4260b5
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x4260bd
jmp 0x4260b9
pop edx
pop eax
jle 0x4260bd
xor eax, eax
jmp 0x4260bf
mov al, 1
mov byte [ebp - 9], al
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_CloseHandle_1
cmp byte [ebp - 9], 0
jne 0x4260e2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.004216c0
mov esp, ebp
pop ebp
ret

Function at 0x426110
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x14], 0
je 0x426133
mov eax, dword [ebp - 8]
call fcn.00406b00
push eax
call sub.KERNEL32.DLL_OutputDebugStringW
pop ecx
pop ecx
pop ebp
ret
Function at 0x4265f0
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
call fcn.00404f98
mov ebx, edx
mov esi, eax
cmp byte [esi + 0xd], 0
jne 0x42661d
mov edx, dword [esi + 0x24]
mov eax, esi
call fcn.004266a0
test al, al
jne 0x42661d
push 1
mov eax, dword [esi + 4]
push eax
call sub.KERNEL32.DLL_TerminateThread
mov dl, 0xfc
and dl, bl
mov eax, esi
call fcn.004267b0
lea eax, [esi + 0x1c]
mov dword [esp], eax
mov eax, dword [esp]
mov eax, dword [eax]
mov edx, dword [esp]
xor ecx, ecx
mov dword [edx], ecx
call fcn.00404c7c
lea eax, [esi + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov edx, dword [esp + 4]
xor ecx, ecx
mov dword [edx], ecx
call fcn.00404c7c
test bl, bl
jle 0x426664
mov eax, esi
call fcn.00404f40
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4267b0
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
push edi
call fcn.00404f98
mov ebx, edx
mov esi, eax
cmp dword [esi + 8], 0
je 0x4267fa
cmp byte [esi + 0x18], 0
jne 0x4267fa
mov eax, esi
call fcn.00426900
cmp byte [esi + 0xc], 0
je 0x4267f3
mov eax, dword [esi + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov edi, eax
test edi, edi
setge dl
mov eax, esi
call fcn.004269d0
dec edi
jne 0x4267f3
mov byte [esi + 0xe], 0
mov eax, esi
call fcn.00426910
mov eax, dword [esi + 4]
test eax, eax
je 0x42680c
push eax
call sub.KERNEL32.DLL_CloseHandle_1
xor eax, eax
mov dword [esi + 4], eax
mov dl, 0xfc
and dl, bl
mov eax, esi
call fcn.00404c6c
mov eax, dword [esi + 0x14]
call fcn.00404c7c
test bl, bl
jle 0x42682a
mov eax, esi
call fcn.00404f40
pop edi
pop esi
pop ebx
ret

Function at 0x426830
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4268c8
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x42688c
cmp byte [ebx + 0x18], 0
jne 0x42688c
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
cmp eax, 1
je 0x4268ad
lea edx, [ebp - 4]
mov eax, dword [0x438dd8]
call fcn.00409094
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x420578]
call fcn.004191a0
call fcn.00405988
jmp 0x4268ad
lea edx, [ebp - 8]
mov eax, dword [0x438dd8]
call fcn.00409094
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x420578]
call fcn.004191a0
call fcn.00405988
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4268cf
lea eax, [ebp - 8]
mov edx, 2
call fcn.004062e0
ret
Function at 0x427140
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x427240
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
push 0
push 1
call sub.KERNEL32.DLL_OpenProcess
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4271ac
mov eax, dword [ebp - 4]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x14]
call fcn.00413c50
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov edx, 0x42725c
call fcn.00406cd8
mov edx, dword [ebp - 0x10]
mov eax, dword [0x438c88]
mov eax, dword [eax]
mov ecx, 0x42729c
call fcn.00425c70
mov byte [ebp - 5], 0
jmp 0x427225
xor eax, eax
push ebp
push 0x42721e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_TerminateProcess
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
jne 0x427207
mov eax, dword [ebp - 4]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1c]
call fcn.00413c50
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov edx, 0x4272c4
call fcn.00406cd8
mov edx, dword [ebp - 0x18]
mov eax, dword [0x438c88]
mov eax, dword [eax]
mov ecx, 0x42729c
call fcn.00425840
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427225
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427247
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.004062e0
ret

Function at 0x427b10
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
xor eax, eax
mov ecx, edx
test ecx, ecx
je 0x427b1f
sub ecx, 4
mov ecx, dword [ecx]
test ecx, ecx
jle 0x427b40
mov ebx, 1
mov esi, eax
add esi, esi
add esi, esi
shr eax, 0x1e
or esi, eax
movzx eax, word [edx + ebx*2 - 2]
xor esi, eax
mov eax, esi
inc ebx
dec ecx
jne 0x427b28
pop esi
pop ebx
ret
Function at 0x429a20
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x429bed
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040665c
cmp dword [ebp - 4], 0
je 0x429a63
mov eax, dword [ebp - 4]
cmp word [eax], 0x5c
jne 0x429a63
xor eax, eax
jmp 0x429a65
mov al, 1
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x429a80
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00406e90
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00429d90
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x429b60
xor edx, edx
push ebp
push 0x429b59
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0042a210
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00429e40
test al, al
je 0x429b37
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.004063bc
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x429b37
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 0xc]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00406b00
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov dword [esi + 0x1c], eax
test eax, eax
sete al
test al, al
je 0x429b31
mov eax, dword [ebp - 8]
call fcn.00406b00
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00406b58
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.00429a20
dec ebx
cmp ebx, 0xffffffff
jne 0x429adf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429b60
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0042a210
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey
ret
cmp dword [0x4387ec], 0
je 0x429ba2
mov ebx, dword [ebp - 0xc]
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.00406b00
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.00429c30
push eax
call dword [0x4387ec]
mov dword [ebx + 0x1c], eax
test eax, eax
sete al
mov ebx, eax
jmp 0x429bca
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00406b00
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.00429c30
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov dword [ebx + 0x1c], eax
test eax, eax
sete al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429bf4
lea eax, [ebp - 0x3c]
call fcn.00406280
lea eax, [ebp - 8]
mov edx, 2
call fcn.004062e0
ret