joyce8/EMBER2024-capa huggingface dataset:
Function at 0x501d80
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x501da9
mov al, byte [esi + 1]
inc esi
test al, al
je 0x501da1
cmp al, 0x22
jne 0x501d95
cmp byte [esi], 0x22
jne 0x501db3
inc esi
jmp 0x501db3
cmp al, 0x20
jle 0x501db3
inc esi
cmp byte [esi], 0x20
jg 0x501dad
mov al, byte [esi]
test al, al
je 0x501dbd
cmp al, 0x20
jle 0x501da6
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00501e2d
push 0x503004
push section..data
call fcn.00501e13
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x501ded
movzx eax, word [ebp - 0x14]
jmp 0x501df0
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.00501e45
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov bl, byte [eax]
cmp bl, 0xd8
je 0x40102e
cmp bl, 0xd7
je 0x40102e
mov esi, dword [ebp + 0x10]
lea ecx, [eax + 1]
test esi, esi
jle 0x40104f
mov eax, dword [ebp + 0xc]
sub ecx, eax
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
dec esi
jne 0x401023
jmp 0x40104f
mov esi, dword [ebp + 0xc]
inc eax
push esi
push eax
call fcn.00401980
cmp bl, 0xd8
jne 0x40104f
xor eax, eax
cmp dword [ebp + 0x10], eax
jle 0x40104f
xor byte [eax + esi], 0xf0
inc eax
cmp eax, dword [ebp + 0x10]
jl 0x401045
pop esi
pop ebx
pop ebp
ret

Function at 0x4010c1
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
xor esi, esi
push edi
push esi
push dword [esp + 0x14]
push esi
push 0x8000040
push esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
cmp ebx, esi
je 0x4010fc
push esi
push esi
push esi
push 0xf001f
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, esi
jne 0x40112a
push 0x40
push 0x101000
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
jne 0x40112a
push esi
mov eax, 0x401130
push esi
push eax
push eax
push 0x80030008
call fcn.00401057
add esp, 0x14
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x406b5c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00404170
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
test eax, eax
je 0x406bf7
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x409378]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x406bf7
cmp eax, 1
je 0x406c18
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
test eax, eax
je 0x406bf7
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x406bc4
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x406bf3
xor eax, eax
inc eax
jmp 0x406c37
cmp edi, eax
jae 0x406bfb
xor eax, eax
jmp 0x406c37
cmp eax, esi
jae 0x406c02
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov eax, dword [0x409378]
jmp 0x406c1b
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x4364aa
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x43650e
lea ecx, [esp + 0xc]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [esp + 4]
push 0
push 0
push 0
lea edx, [esp + 0x14]
push edx
push 0
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x436515
xor eax, eax
pop ebx
add esp, 0x14
ret
cmp ebx, 0x20
je 0x436562
cmp ebx, 0x40
je 0x436574
test bl, 0xb
jne 0x436532
push 0
push ebx
call dword [sym.imp.USER32.dll_ExitWindowsEx]
pop ebx
add esp, 0x14
ret
xor ecx, ecx
test bl, 0x14
je 0x43653e
mov ecx, 1
xor eax, eax
test bl, 2
je 0x43654a
mov eax, 1
mov edx, dword [esp + 0x20]
push edx
push eax
push ecx
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownExW]
pop ebx
add esp, 0x14
ret
mov eax, 1
push 0
push eax
call sub.KERNEL32.dll_SetSystemPowerState
pop ebx
add esp, 0x14
ret
xor eax, eax
push eax
push eax
call sub.KERNEL32.dll_SetSystemPowerState
pop ebx
add esp, 0x14
ret

Function at 0x436582
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
sub esp, 0x29c
push esi
mov esi, dword [esp + 0x2a4]
push edi
mov edi, dword [esp + 0x2ac]
lea eax, [esp + 0x110]
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x436660
push 0x100
lea ecx, [esp + 0x14]
push ecx
call sub.WSOCK32.dll_gethostname
lea edx, [esp + 0x10]
push edx
call sub.WSOCK32.dll_gethostbyname
test eax, eax
je 0x436660
mov eax, dword [eax + 0xc]
xor edx, edx
cmp dword [eax], edx
je 0x4365eb
mov ecx, eax
lea esp, [esp]
add ecx, 4
inc edx
cmp dword [ecx], 0
jne 0x4365e2
cmp esi, edx
jle 0x43660b
push 0x487258
push edi
call fcn.00411691
add esp, 8
call sub.WSOCK32.dll_WSACleanup
pop edi
pop esi
add esp, 0x29c
ret
mov eax, dword [eax + esi*4 - 4]
push 4
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00410f70
mov edx, dword [esp + 0x18]
add esp, 0xc
push edx
call sub.WSOCK32.dll_inet_ntoa
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00413990
lea ecx, [esp + 0x18]
push 0xffffffffffffffff
push ecx
call fcn.004359c4
mov esi, eax
push esi
push edi
call fcn.00411691
push esi
call fcn.004112ef
add esp, 0x1c
call sub.WSOCK32.dll_WSACleanup
pop edi
pop esi
add esp, 0x29c
ret
push 0x4848e8
push edi
call fcn.00411691
add esp, 8
pop edi
pop esi
add esp, 0x29c
ret
Function at 0x402b08
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0040457c
test esi, esi
jne 0x402b3e
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.0040466c
jmp 0x402b5c
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004029bc
mov edi, eax
test esi, esi
je 0x402b5c
cmp dword [ebx], 0
je 0x402b5c
dec esi
jmp 0x402b45
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4035f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x46b020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403688
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403668
xor eax, eax
push ebp
push 0x403661
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4036a4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403668
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x46b020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x46b020], ax
mov esp, ebp
pop ebp
ret

Function at 0x40437c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46d044], 0
je 0x4043dd
cmp word [0x46d218], 0xd7b2
jne 0x4043a5
cmp dword [0x46d220], 0
jbe 0x4043a5
mov eax, 0x46d214
call dword [0x46d230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46b070
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404404
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x46b030], 0
jne 0x4043f9
push 0
push 0x46b068
push 0x46b070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406510
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406576
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004047fc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403058
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406560
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40657d
lea eax, [ebp - 0x10]
call fcn.0040457c
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404a4c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408e55
test al, 0x10
jne 0x408e59
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40bb18
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40bb51
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040466c
jmp 0x40bb5a
mov eax, ebx
mov edx, esi
call fcn.004045d0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bb64
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40bb85
mov al, byte [esp]
jmp 0x40bb87
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c20c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c084
mov eax, dword [0x46c3d0]
cmp byte [eax], 0
je 0x40c288
mov eax, dword [0x46c1b8]
call fcn.00402eb8
call fcn.004028e8
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004091d0
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40c2d0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c2be
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x46c164]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x46d660]
call fcn.004059d4
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40cb24
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40cbfa
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404614
lea eax, [ebp - 8]
call fcn.00404a9c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404a4c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cbe4
mov eax, ebx
call fcn.00402780
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cbdd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404a4c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cbc7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cc0c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cbc7
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cbe4
mov eax, dword [ebp - 0x10]
call fcn.004027a0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cc01
lea eax, [ebp - 8]
call fcn.0040457c
ret

Function at 0x40d124
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40d188
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004047fc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408a18
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d18f
lea eax, [ebp - 0xc]
call fcn.0040457c
ret

Function at 0x423d84
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00423bdc
dec esi
jne 0x423da6
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x424ee8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x46d888
cmp dword [edi], 0
jne 0x424f64
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x46d884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x46b518
mov ecx, 2
call fcn.0040297c
mov edx, 0x424ec0
lea eax, [esi + 5]
call fcn.00424ee0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00424ee0
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x424f39
mov dword [0x46d884], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x42831c
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.00403038
ret

Function at 0x428ae0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 0x1008], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x428b9a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1004]
xor ecx, ecx
mov edx, 0x1000
call fcn.00403038
mov dword [ebp - 4], 0x1000
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1004]
push eax
call sub.kernel32.dll_GetComputerNameA
lea eax, [ebx + 4]
lea edx, [ebp - 0x1004]
mov ecx, 0x1000
call fcn.004047fc
mov dword [ebx + 8], 1
lea eax, [ebx + 0x24]
mov edx, 0x428bb0
call fcn.004045d0
lea eax, [ebx + 0x28]
mov edx, 0x428bc0
call fcn.004045d0
lea edx, [ebp - 0x1008]
mov eax, dword [0x46b594]
call fcn.00428f80
mov edx, dword [ebp - 0x1008]
lea eax, [ebx + 0x10]
call fcn.004045d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428ba1
lea eax, [ebp - 0x1008]
call fcn.0040457c
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, edx
xor eax, eax
push ebp
push 0x428ec3
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00406374
mov eax, dword [ebp - 4]
call fcn.00404e1c
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x428ea7
test al, 0x10
jne 0x428eab
xor ebx, ebx
jmp 0x428ead
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428eca
lea eax, [ebp - 4]
call fcn.00404c94
ret
Function at 0x4290d4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, edx
xor eax, eax
push ebp
push 0x429127
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00406374
mov eax, dword [ebp - 4]
call fcn.00404e1c
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x42910b
test al, 0x10
je 0x42910f
xor ebx, ebx
jmp 0x429111
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42912e
lea eax, [ebp - 4]
call fcn.00404c94
ret

Function at 0x429a08
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 4]
imul ebx, dword [ebp - 4], 0x9e3779b9
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 4]
dec ebx
test ebx, ebx
jl 0x429a75
inc ebx
mov dword [ebp - 0xc], ebx
mov ebx, eax
shl ebx, 4
add ebx, dword [ecx + 8]
mov esi, dword [ebp - 8]
add esi, eax
xor ebx, esi
mov esi, eax
shr esi, 5
add esi, dword [ecx + 0xc]
xor ebx, esi
sub edx, ebx
mov ebx, edx
shl ebx, 4
add ebx, dword [ecx]
mov esi, dword [ebp - 8]
add esi, edx
xor ebx, esi
mov esi, edx
shr esi, 5
add esi, dword [ecx + 4]
xor ebx, esi
sub eax, ebx
sub dword [ebp - 8], 0x9e3779b9
dec dword [ebp - 0xc]
jne 0x429a34
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x429a88
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
add edi, 0xfffffffc
cmp dword [edi], 0
jne 0x429aa5
mov eax, edi
mov edx, 0x429bcc
call fcn.00404614
mov eax, dword [edi]
call fcn.0040484c
mov edx, dword [ebp + 8]
mov dword [edx - 8], eax
xor ecx, ecx
mov eax, dword [ebp + 8]
lea ebx, [eax - 0x408]
mov eax, dword [ebp + 8]
lea esi, [eax - 0x808]
mov eax, dword [ebp + 8]
push dword [eax - 8]
mov eax, ecx
pop edx
push ecx
mov ecx, edx
cdq
idiv ecx
pop ecx
mov eax, dword [edi]
movzx eax, byte [eax + edx]
mov dword [ebx], eax
mov dword [esi], ecx
inc ecx
add esi, 4
add ebx, 4
cmp ecx, 0x100
jne 0x429ac6
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 0x80c], edx
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax - 0x810], ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x810]
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax*4 - 0x808]
mov edx, eax
mov ebx, dword [ebp + 8]
add edx, dword [ebx - 0x80c]
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx - 0x810]
mov esi, dword [ebp + 8]
add edx, dword [esi + ebx*4 - 0x408]
and edx, 0x800000ff
jns 0x429b46
dec edx
or edx, 0xffffff00
inc edx
mov ebx, dword [ebp + 8]
mov dword [ebx - 0x80c], edx
mov edx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov dword [edx - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x80c]
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax*4 - 0x808]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x810]
mov ebx, dword [ebp + 8]
mov dword [ebx + edx*4 - 0x808], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x80c]
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx - 8]
mov dword [edx + eax*4 - 0x808], ebx
inc ecx
cmp ecx, 0x100
jne 0x429afc
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 0x810], edx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 0x80c], edx
pop edi
pop esi
pop ebx
pop ebp
ret