joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406868
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x406900
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xfa
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetForegroundWindow
push eax
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 8]
lea edx, [ebp - 0x108]
mov ecx, pe_nt_image_headers32
call fcn.0040388c
mov edx, dword [ebp - 8]
mov eax, 0x406918
call fcn.00403b3c
test eax, eax
jne 0x4068e5
mov edx, dword [ebp - 8]
mov eax, 0x406928
call fcn.00403b3c
test eax, eax
jne 0x4068e5
mov edx, dword [ebp - 8]
mov eax, 0x40693c
call fcn.00403b3c
test eax, eax
jne 0x4068e5
xor eax, eax
jmp 0x4068e7
mov al, 1
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406907
lea eax, [ebp - 8]
call fcn.0040372c
ret

Function at 0x40694c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4069ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x10
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x19]
push eax
call sub.kernel32.dll_GetComputerNameA
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x19]
mov ecx, 0x11
call fcn.0040388c
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 4]
call fcn.00405190
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4069b4
lea eax, [ebp - 0x20]
call fcn.0040372c
ret

Function at 0x4069b8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x406a38
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x109]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.0040388c
lea eax, [ebp - 0x110]
mov edx, 0x406a4c
call fcn.004038ac
mov eax, dword [ebp - 0x110]
mov edx, dword [ebp - 4]
push ebp
cld
Function at 0x406bb4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00403a94
mov eax, dword [ebp - 0xc]
call fcn.00403a94
xor eax, eax
push ebp
push 0x406c6c
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
push 0x41e6b8
push 1
push 0
mov eax, dword [ebp - 8]
call fcn.00403aa4
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jns 0x406c0a
call fcn.00402f14
mov dword [0x41e6bc], eax
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
push 0
mov eax, dword [ebp - 0xc]
call fcn.00403aa4
push eax
mov eax, dword [0x41e6b8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jns 0x406c41
call fcn.00402f14
mov dword [0x41e6bc], eax
mov eax, dword [0x41e6b8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406c73
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00403750
ret

Function at 0x406c7c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00403a94
mov eax, dword [ebp - 0xc]
call fcn.00403a94
xor eax, eax
push ebp
push 0x406d5a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x41e6b8
push 1
push 0
mov eax, dword [ebp - 8]
call fcn.00403aa4
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jns 0x406ccd
call fcn.00402f14
mov dword [0x41e6bc], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
call fcn.00403b84
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00403aa4
push eax
mov eax, dword [0x41e6b8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jns 0x406d08
call fcn.00402f14
mov dword [0x41e6bc], eax
cmp dword [0x41e6bc], 0
jne 0x406d2c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.00403aa4
mov edx, eax
mov eax, dword [ebp + 8]
call fcn.0040385c
jmp 0x406d34
mov eax, dword [ebp + 8]
call fcn.0040372c
mov eax, dword [0x41e6b8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406d61
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00403750
ret
Function at 0x406d68
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00403a94
mov eax, dword [ebp - 0xc]
call fcn.00403a94
mov eax, dword [ebp + 8]
call fcn.00403a94
xor eax, eax
push ebp
push 0x406e74
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x41e6b8
push 0
push 2
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00403aa4
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jns 0x406dc9
call fcn.00402f14
mov dword [0x41e6bc], eax
cmp dword [ebp + 8], 0
jne 0x406de1
lea eax, [ebp + 8]
mov edx, 0x406e8c
call fcn.004037c4
mov eax, dword [ebp + 8]
call fcn.004038a4
test eax, eax
jns 0x406df2
call fcn.00402f14
push eax
lea eax, [ebp + 8]
call fcn.00403af4
mov edx, 1
dec edx
test eax, eax
je 0x406e0a
cmp edx, dword [eax - 4]
jb 0x406e0f
call fcn.00402f14
inc edx
lea eax, [eax + edx - 1]
push eax
push 1
push 0
mov eax, dword [ebp - 0xc]
call fcn.00403aa4
push eax
mov eax, dword [0x41e6b8]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
jns 0x406e36
call fcn.00402f14
mov dword [0x41e6bc], eax
cmp dword [0x41e6bc], 0
sete byte [ebp - 0xd]
mov eax, dword [0x41e6b8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406e7b
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00403750
lea eax, [ebp + 8]
call fcn.0040372c
ret

Function at 0x406e90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00403a94
mov eax, dword [ebp - 0xc]
call fcn.00403a94
xor eax, eax
push ebp
push 0x406f4b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x41e6b8
push 0
push 2
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00403aa4
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jns 0x406ee9
call fcn.00402f14
mov dword [0x41e6bc], eax
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
mov eax, dword [ebp - 0xc]
call fcn.00403aa4
push eax
mov eax, dword [0x41e6b8]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
jns 0x406f15
call fcn.00402f14
mov dword [0x41e6bc], eax
invalid
Function at 0x407004
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00403a94
mov eax, dword [ebp - 0xc]
call fcn.00403a94
xor eax, eax
push ebp
push 0x4070c2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0xc], 0
jne 0x407044
lea eax, [ebp - 0xc]
mov edx, 0x4070d8
call fcn.004037c4
invalid
mov eax, dword [ebp - 0xc]
call fcn.004038a4
test eax, eax
jns 0x407055
call fcn.00402f14
push eax
lea eax, [ebp - 0xc]
call fcn.00403af4
mov edx, 1
dec edx
test eax, eax
je 0x40706d
cmp edx, dword [eax - 4]
jb 0x407072
call fcn.00402f14
inc edx
lea eax, [eax + edx - 1]
push eax
push 1
push 0
mov eax, dword [ebp - 8]
call fcn.00403aa4
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
jns 0x407097
call fcn.00402f14
mov dword [0x41e6bc], eax
cmp dword [0x41e6bc], 0
sete byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4070c9
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00403750
ret

Function at 0x4070dc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00403a94
xor eax, eax
push ebp
push 0x40714c
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
mov eax, dword [ebp - 8]
call fcn.00403aa4
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
jns 0x407126
call fcn.00402f14
mov dword [0x41e6bc], eax
cmp dword [0x41e6bc], 0
sete byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407153
lea eax, [ebp - 8]
call fcn.0040372c
ret

Function at 0x40715c
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00403a94
mov eax, dword [ebp - 0xc]
call fcn.00403a94
xor eax, eax
push ebp
push 0x407208
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x41e6b8
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.00403aa4
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jns 0x4071b0
call fcn.00402f14
mov dword [0x41e6bc], eax
mov eax, dword [ebp - 0xc]
call fcn.00403aa4
push eax
mov eax, dword [0x41e6b8]
push eax
call sub.advapi32.dll_RegDeleteValueA
test eax, eax
jns 0x4071d2
call fcn.00402f14
mov dword [0x41e6bc], eax
cmp dword [0x41e6bc], 0
sete byte [ebp - 0xd]
mov eax, dword [0x41e6b8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40720f
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00403750
ret
Function at 0x4077dc
Capabilities:
Query or enumerate registry value

Disassembly:
add esp, 0xffffff54
cmp byte [0x41d1bc], 0
jne 0x4078ae
mov byte [0x41d1bc], 1
xor eax, eax
mov dword [0x41d1b4], eax
mov dword [esp + 0x18], 0x94
lea eax, [esp + 0x18]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x1c], 3
jl 0x407836
sbb al, 3
ja 0x407824
cmp dword [esp + 0x1c], 3
jne 0x407884
cmp dword [esp + 0x20], 0x33
jbe 0x407884
mov dword [esp + 4], 9
push esp
push 0x20019
push 0
push 0x4078b8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4078ae
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x4078e8
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4078ae
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
cmp byte [esp + 8], 0x31
jne 0x4078ae
cmp byte [esp + 9], 0
jne 0x4078ae
jmp 0x407899
push 0
push 0x4078e8
push 0x4078f0
call sub.kernel32.dll_GetProfileIntA
test eax, eax
je 0x4078ae
mov eax, dword [0x41d1b0]
call fcn.00403aa4
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x41d1b4], eax
add esp, 0xac
ret
Function at 0x40ad10
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x31
push 0
push 0
dec ecx
jne 0x40ad18
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403a94
xor eax, eax
push ebp
push 0x40b3ba
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x41eb54
mov edx, 0x40b3d0
call fcn.00403780
call fcn.0040825c
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x15c]
mov ecx, 0x40b3f4
mov edx, dword [ebp - 4]
call fcn.004038f0
mov eax, dword [ebp - 0x15c]
invalid
Function at 0x40d3dc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x41eb54
mov edx, 0x40d474
call fcn.00403780
push 0
push 0
mov eax, dword [0x41edd4]
call fcn.00403aa4
push eax
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
mov eax, 0x41eb54
mov edx, 0x40d4ac
call fcn.00403780
push 0
push 0
mov eax, dword [0x41edd8]
call fcn.00403aa4
push eax
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
mov eax, 0x41eb54
mov edx, 0x40d534
call fcn.00403780
push 0
push 0
mov eax, dword [0x41eddc]
call fcn.00403aa4
push eax
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
mov eax, 0x41eb54
mov edx, 0x40d580
call fcn.00403780
pop ebp
ret

Function at 0x40f4a8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x40f711
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.0040272c
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0040520c
mov edx, dword [ebp - 0x10]
mov eax, 0x41eb2c
call fcn.00403780
mov eax, 0x41eb54
mov edx, 0x40f724
call fcn.00403780
cmp byte [0x41eb95], 0
jne 0x40f51a
mov eax, dword [0x41eb2c]
push eax
mov ecx, dword [0x41ecd4]
mov edx, dword [0x41ed00]
mov eax, 0x80000002
call fcn.00406d68
mov eax, 0x41eb54
mov edx, 0x40f7c8
call fcn.00403780
cmp byte [0x41eb95], 0
je 0x40f53c
call fcn.0040fcd8
jmp 0x40f6f6
mov eax, 0x41eb54
mov edx, 0x40f838
call fcn.00403780
xor eax, eax
mov dword [ebp - 4], eax
push 0
mov eax, dword [0x41ee08]
call fcn.00403aa4
push eax
call sub.user32.dll_FindWindowA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40f577
push 0x3e8
call sub.kernel32.dll_Sleep
jmp 0x40f550
mov eax, 0x41eb54
mov edx, 0x40f8d0
call fcn.00403780
push 0xea60
call sub.kernel32.dll_Sleep
push 0
push 0x40f94c
dec esp
stc
inc eax
add byte [edx], ch
Function at 0x40fcd8
Capabilities:
Check os version
Create directory
Delete registry key
Get disk information
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x28
push 0
push 0
dec ecx
jne 0x40fce0
xor eax, eax
push ebp
push 0x41137a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [eax], esp
cmp byte [0x41eb98], 0x66
jne 0x40fd61
mov eax, 0x41eb54
mov edx, 0x411390
call fcn.00403780
mov eax, dword [0x41d320]
push eax
push 0x400
lea eax, [ebp - 8]
push eax
mov ecx, dword [0x41ecd4]
mov edx, dword [0x41ed00]
mov eax, 0x80000002
call fcn.00406c7c
mov edx, dword [ebp - 8]
mov eax, 0x41eb2c
call fcn.00403780
cmp byte [0x41eb95], 0
jne 0x40fd61
push 0x2710
call sub.kernel32.dll_Sleep
mov eax, dword [0x41eb2c]
call fcn.00406ad4
mov byte [0x41eb97], al
mov eax, 0x41eb54
mov edx, 0x411420
call fcn.00403780
mov ecx, dword [0x41ecd4]
mov edx, dword [0x41ed00]
mov eax, 0x80000002
call fcn.0040715c
lea eax, [ebp - 0xc]
call fcn.0040694c
mov edx, dword [ebp - 0xc]
mov eax, 0x41eb1c
call fcn.00403780
lea eax, [ebp - 0x10]
call fcn.004069b8
mov edx, dword [ebp - 0x10]
mov eax, 0x41eb20
call fcn.00403780
mov eax, 0x41eb54
mov edx, 0x411484
call fcn.00403780
mov eax, 0x41eb24
mov ecx, 0x411554
mov edx, dword [0x41eb20]
call fcn.004038f0
mov eax, 0x41eb54
mov edx, 0x411564
call fcn.00403780
mov eax, dword [0x41eb2c]
invalid
invalid

Function at 0x412764
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403a94
xor eax, eax
push ebp
push 0x41289b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x41eb54
mov edx, 0x4128b4
call fcn.00403780
cmp dword [0x41eb9c], 0
jne 0x4127a5
call fcn.00412690
push 2
push 0
push 0
mov eax, dword [0x41eb9c]
push eax
call sub.kernel32.dll_SetFilePointer_1
cmp eax, 0xffffffff
jne 0x4127c0
call fcn.00412690
mov eax, 0x41eb54
mov edx, 0x4128e0
call fcn.00403780
lea edx, [ebp - 0xc]
mov al, byte [0x41eb96]
call fcn.00405288
push dword [ebp - 0xc]
push 0x4129b0
push dword [ebp - 4]
push 0x4129bc
lea eax, [ebp - 4]
mov edx, 4
call fcn.00403964
mov eax, 0x41eb54
mov edx, 0x4129c8
call fcn.00403780
mov byte [0x41eb96], 0
mov eax, 0x41eb54
mov edx, 0x412a80
call fcn.00403780
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004038a4
test eax, eax
jns 0x412835
call fcn.00402f14
push eax
lea eax, [ebp - 4]
call fcn.00403af4
mov edx, 1
dec edx
test eax, eax
je 0x41284d
cmp edx, dword [eax - 4]
jb 0x412852
call fcn.00402f14
inc edx
lea eax, [eax + edx - 1]
push eax
mov eax, dword [0x41eb9c]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x41286e
mov dword [ebp - 8], 0xffffffff
mov eax, 0x41eb54
mov edx, 0x412af8
call fcn.00403780
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4128a2
lea eax, [ebp - 0xc]
call fcn.0040372c
lea eax, [ebp - 4]
call fcn.0040372c
ret
Function at 0x417dfc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x41eb94], 0
jne 0x417e3e
push 0x417e44
push 0
call sub.user32.dll_FindWindowA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x417e2d
push 0x417e5c
push 0
call sub.user32.dll_FindWindowA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x417e3e
push 0
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret

Function at 0x417e74
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x417e7c
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403a94
xor eax, eax
push ebp
push 0x418b53
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x41eb54
mov edx, 0x418b68
call fcn.00403780
lea eax, [ebp - 0xc]
mov ecx, 0x418bbc
mov edx, dword [ebp - 4]
call fcn.004038f0
mov eax, dword [ebp - 0xc]
call fcn.00403aa4
push eax
call sub.kernel32.dll_GetDriveTypeA
add eax, 0xfffffffe
sub eax, 3
jb 0x417eda
sub eax, 1
jne 0x418b38
push dword [ebp - 4]
push dword [0x41ed48]
push dword [0x41ed58]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403964
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 8]
call fcn.0040520c
mov eax, dword [ebp - 8]
call fcn.00405764
test al, al
jne 0x417f47
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push dword [0x41ed48]
push dword [0x41ed54]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00403964
mov eax, dword [ebp - 0x14]
invalid

Function at 0x4195ac
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 2], dl
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
and eax, 0xff
bt dword [0x41d260], eax
jae 0x4195e5
xor eax, eax
mov al, byte [ebp - 2]
add eax, 1
jno 0x4195d6
call fcn.00402f1c
cmp eax, 0xff
jbe 0x4195e2
call fcn.00402f14
mov byte [ebp - 2], al
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
push 0
xor eax, eax
mov al, byte [ebp - 1]
push eax
call sub.user32.dll_MapVirtualKeyA
cmp eax, 0xff
jbe 0x419606
call fcn.00402f14
push eax
mov al, byte [ebp - 1]
push eax
call sub.user32.dll_keybd_event
pop ecx
pop ebp
ret
Function at 0x41af74
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 8], ecx
mov esi, dword [edi]
test esi, esi
je 0x41afcf
and dword [edi], 0
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
mov edx, 0x400000
mov eax, esi
cmp esi, edx
cmova eax, edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 4]
add ebx, ecx
add dword [edi], ecx
sub esi, ecx
test eax, eax
je 0x41afc7
test ecx, ecx
je 0x41afcf
test esi, esi
je 0x41afcf
mov ecx, dword [ebp - 8]
jmp 0x41af8d
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41afd1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41d79f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, 0xfffc63e8
call dword [eax + 0x56]
push dword [ebp + 8]
call fcn.0041d3bd
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0041d408
push eax
push esi
push dword [ebp + 8]
call fcn.0041d3bd
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0041d408
push eax
push esi
push dword [ebp + 8]
invalid
Function at 0x4640b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0x10
mov eax, 0x4b7e0b
call fcn.0046c6a3
mov esi, ecx
mov dword [ebp - 0x14], esi
lea eax, [esi + 0x1c]
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [ebp + 8]
test ebx, ebx
jle 0x4641ba
cmp ebx, dword [esi + 0xc]
jge 0x4641ba
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x464107
cmp ebx, dword [edi + 8]
jl 0x4641a8
cmp dword [ebp + 0xc], 0
je 0x4641a8
xor ebx, ebx
jmp 0x464141
xor ebx, ebx
push 0x10
mov dword [ebp - 4], ebx
call fcn.00463b57
mov edi, eax
test edi, edi
je 0x464121
mov dword [edi], vtable.CThreadData.0
jmp 0x464123
mov edi, ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x14]
push edi
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
call fcn.00463fdc
mov ecx, dword [esi + 0x14]
mov dword [eax], ecx
mov dword [esi + 0x14], edi
mov esi, dword [ebp - 0x14]
cmp dword [edi + 0xc], ebx
jne 0x46415c
push 4
push dword [esi + 0xc]
call fcn.004187f2
pop ecx
pop ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x464174
push 2
push 4
push dword [esi + 0xc]
call fcn.004187f2
pop ecx
pop ecx
push eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov edx, eax
test edx, edx
je 0x4641e1
mov ecx, dword [edi + 8]
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0xc]
sub eax, ecx
shl eax, 2
push eax
lea eax, [edx + ecx*4]
push ebx
push eax
call fcn.00484ac0
mov eax, dword [esi + 0xc]
add esp, 0xc
mov dword [edi + 8], eax
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ebx, dword [ebp + 8]
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4641ba
cmp ebx, dword [edi + 8]
jge 0x4641ba
mov eax, dword [ebp + 0xc]
mov dword [ecx + ebx*4], eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0046c601
ret 8
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.004522ae
int3

Function at 0x4a145d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a110e

Function at 0x4a1468
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a1298

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx