joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40731c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 4
add esp, 0xfffff004
push eax
dec eax
jne 0x407325
mov eax, dword [ebp - 4]
add esp, 0xfffffff0
push ebx
xor ebx, ebx
mov dword [ebp - 0x4014], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404abc
mov eax, dword [ebp - 8]
call fcn.00404abc
xor eax, eax
push ebp
push 0x407414
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x400f]
mov edx, 0x3fff
call fcn.00406738
lea eax, [ebp - 0xc]
push eax
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.00404acc
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [ebp - 0x10], 0x3fff
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x400f]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404acc
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
lea eax, [ebp - 0x4014]
lea edx, [ebp - 0x400f]
mov ecx, 0x3fff
call fcn.0040487c
cmp dword [ebp - 0x4014], 0
je 0x4073ee
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x400f]
mov ecx, 0x3fff
call fcn.0040487c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40741b
lea eax, [ebp - 0x4014]
call fcn.0040460c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404630
ret

Function at 0x407424
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x110], ebx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404abc
xor eax, eax
push ebp
push 0x4074f7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040460c
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
push 8
push 0
mov eax, dword [ebp - 4]
call fcn.00404acc
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [ebp - 8], 0x800
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10c]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x4074d6
push dword [esi]
push 0x407510
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.0040487c
push dword [ebp - 0x110]
mov eax, esi
mov edx, 3
call fcn.0040498c
inc ebx
cmp ebx, 0x4000
jne 0x40745f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4074fe
lea eax, [ebp - 0x110]
call fcn.0040460c
lea eax, [ebp - 4]
call fcn.0040460c
ret
Function at 0x407514
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404abc
mov eax, dword [ebp - 8]
call fcn.00404abc
xor eax, eax
push ebp
push 0x407591
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 4]
call fcn.00404acc
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
mov eax, dword [ebp - 8]
call fcn.00404acc
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegDeleteKeyA
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407598
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404630
ret

Function at 0x4075a0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404abc
mov eax, dword [ebp - 8]
call fcn.00404abc
xor eax, eax
push ebp
push 0x40761a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
push 2
push 0
mov eax, dword [ebp - 4]
call fcn.00404acc
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
mov eax, dword [ebp - 8]
call fcn.00404acc
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegDeleteValueA
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407621
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404630
ret

Function at 0x407628
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404abc
mov eax, dword [ebp - 8]
call fcn.00404abc
mov eax, dword [ebp + 8]
call fcn.00404abc
xor eax, eax
push ebp
push 0x4076c1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404acc
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyA
mov ebx, 0x800
push ebx
lea eax, [ebp + 8]
call fcn.00404b24
push eax
push 1
push 0
mov eax, dword [ebp - 8]
call fcn.00404acc
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4076c8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404630
lea eax, [ebp + 8]
call fcn.0040460c
ret
Function at 0x40799c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404abc
xor eax, eax
push ebp
push 0x407b22
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, 0x407b38
call fcn.004046a4
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x150]
mov ecx, 0x407b44
mov edx, dword [ebp - 4]
call fcn.00404918
mov eax, dword [ebp - 0x150]
call fcn.00404acc
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x407aec
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404918
mov al, byte [ebp - 0x120]
cmp al, 0x2e
je 0x407ac9
mov eax, dword [ebp - 0x14c]
and eax, 0x10
cmp eax, 0x10
jne 0x407a7e
push dword [edi]
push 0x407b50
lea eax, [ebp - 0x154]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.0040487c
push dword [ebp - 0x154]
push dword [ebp - 8]
mov eax, edi
mov edx, 4
call fcn.0040498c
jmp 0x407ac9
mov ebx, 8
mov eax, 0x41a0dc
mov edx, dword [ebp - 0x14c]
and edx, dword [eax]
test edx, edx
je 0x407ac3
push dword [edi]
lea eax, [ebp - 0x158]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.0040487c
push dword [ebp - 0x158]
push dword [ebp - 8]
mov eax, edi
mov edx, 3
call fcn.0040498c
jmp 0x407ac9
add eax, 4
dec ebx
jne 0x407a88
lea eax, [ebp - 0x14c]
push eax
push esi
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x407a2e
push esi
call sub.kernel32.dll_FindClose_1
jmp 0x407af7
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.004046a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407b29
lea eax, [ebp - 0x158]
mov edx, 3
call fcn.00404630
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404630
ret

Function at 0x407d0c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x407d80
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x100]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.0040487c
mov edx, dword [ebp - 0x104]
mov eax, ebx
mov ecx, 0x407d94
call fcn.00404918
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407d87
lea eax, [ebp - 0x104]
call fcn.0040460c
ret
Function at 0x407d98
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x407e0c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x100]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.0040487c
mov edx, dword [ebp - 0x104]
mov eax, ebx
mov ecx, 0x407e20
call fcn.00404918
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e13
lea eax, [ebp - 0x104]
call fcn.0040460c
ret

Function at 0x407f54
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebx
push ecx
mov ebx, eax
mov dword [esp], 2
push 0
lea eax, [esp + 4]
push eax
call sub.wininet.dll_InternetGetConnectedState
test eax, eax
je 0x407f86
mov eax, dword [esp]
and eax, 2
cmp eax, 2
jne 0x407f86
mov eax, ebx
mov edx, 0x407fc0
call fcn.00404660
mov dword [esp], 1
push 0
lea eax, [esp + 4]
push eax
call sub.wininet.dll_InternetGetConnectedState
test eax, eax
je 0x407fb4
mov eax, dword [esp]
and eax, 1
cmp eax, 1
jne 0x407fb4
mov eax, ebx
mov edx, 0x407fcc
call fcn.00404660
pop edx
pop ebx
ret

Function at 0x407fd4
Capabilities:
Check os version

Disassembly:
push ebx
add esp, 0xffffff6c
mov ebx, eax
mov eax, ebx
mov edx, 0x408104
call fcn.00404660
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x4080e6
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x10]
dec ecx
je 0x40806e
dec ecx
jne 0x4080d8
cmp eax, 4
jg 0x40802a
mov eax, ebx
mov edx, 0x408114
call fcn.00404660
jmp 0x4080f2
cmp eax, 5
jne 0x408044
test edx, edx
jne 0x408044
mov eax, ebx
mov edx, 0x408124
call fcn.00404660
jmp 0x4080f2
cmp eax, 5
jne 0x40805d
dec edx
jne 0x40805d
mov eax, ebx
mov edx, 0x408134
call fcn.00404660
jmp 0x4080f2
mov eax, ebx
mov edx, 0x408104
call fcn.00404660
jmp 0x4080f2
cmp eax, 4
jne 0x408085
test edx, edx
jne 0x408085
mov eax, ebx
mov edx, 0x408144
call fcn.00404660
jmp 0x4080f2
cmp eax, 4
jne 0x4080b2
cmp edx, 0xa
jne 0x4080b2
cmp byte [esp + 0x15], 0x41
jne 0x4080a4
mov eax, ebx
mov edx, 0x408154
call fcn.00404660
jmp 0x4080f2
mov eax, ebx
mov edx, 0x408164
call fcn.00404660
jmp 0x4080f2
cmp eax, 4
jne 0x4080ca
cmp edx, 0x5a
jne 0x4080ca
mov eax, ebx
mov edx, 0x408174
call fcn.00404660
jmp 0x4080f2
mov eax, ebx
mov edx, 0x408104
call fcn.00404660
jmp 0x4080f2
mov eax, ebx
mov edx, 0x408104
call fcn.00404660
jmp 0x4080f2
mov eax, ebx
mov edx, 0x408104
call fcn.00404660
add esp, 0x94
pop ebx
ret
Function at 0x40817c
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x208], edx
mov dword [ebp - 0x20c], edx
mov dword [ebp - 4], eax
mov ebx, 0x42c048
lea edi, [ebp - 0x204]
xor eax, eax
push ebp
push 0x4082bc
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x104], 0
mov byte [edi], 0
call sub.kernel32.dll_GetTickCount
mov esi, eax
push 0
push 0xff
lea eax, [ebp - 0x103]
push eax
mov eax, dword [0x41a6ac]
mov eax, dword [eax]
push eax
call sub.wsock32.dll_recv
mov dword [ebx], eax
cmp dword [ebx], 0xffffffff
jne 0x408209
call sub.wsock32.dll_WSAGetLastError
mov dword [ebx], eax
cmp dword [ebx], 0x2733
jne 0x408288
cmp byte [0x42c04c], 0
je 0x40827a
mov dword [edi], 0xd216503
jmp 0x408288
lea eax, [ebp - 0x104]
mov edx, dword [ebx]
call fcn.00402d88
lea eax, [ebp - 0x208]
mov edx, edi
call fcn.00404870
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x20c]
lea edx, [ebp - 0x104]
call fcn.00404870
mov edx, dword [ebp - 0x20c]
pop eax
call fcn.004048d4
mov edx, dword [ebp - 0x208]
mov eax, edi
mov ecx, 0xff
call fcn.004048a8
cmp byte [0x42c04d], 0
je 0x408288
call sub.kernel32.dll_GetTickCount
lea edx, [esi + 0x9c40]
cmp eax, edx
jae 0x408288
cmp byte [edi], 0
je 0x4081c3
xor eax, eax
mov al, byte [edi]
cmp byte [edi + eax], 0xd
jne 0x4081c3
xor edx, edx
mov dl, byte [edi]
dec edx
mov eax, edi
call fcn.00402d88
mov eax, dword [ebp - 4]
mov edx, edi
call fcn.00404870
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4082c3
lea eax, [ebp - 0x20c]
mov edx, 2
call fcn.00404630
ret
Function at 0x40b470
Capabilities:
Check if file exists
Get file attributes

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

Function at 0x40dd9c
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 0x40ddd5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004046fc
jmp 0x40ddde
mov eax, ebx
mov edx, esi
call fcn.00404660
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40dde8
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 0x40de09
mov al, byte [esp]
jmp 0x40de0b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40f264
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 0x40f2c8
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.0040487c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040b0f0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f2cf
lea eax, [ebp - 0xc]
call fcn.0040460c
ret

Function at 0x416dc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00416a24
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404acc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x416e1e
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x41a61c]
mov dl, 1
mov eax, dword [0x41691c]
call fcn.0040e660
call fcn.00404044
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x416e28
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404acc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x416e80
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x41a71c]
mov dl, 1
mov eax, dword [0x41691c]
call fcn.0040e660
call fcn.00404044
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00416a54
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41747c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404abc
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x4175ea
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
xor edx, edx
mov eax, 2
call fcn.00406aac
mov ebx, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, ebx
call fcn.00406acc
jmp 0x4175b6
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.0040487c
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.0040b5e0
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.0040ad78
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.0040ad78
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404a18
je 0x417596
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.0040487c
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.0040ad78
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.0040ad78
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404a18
jne 0x4175ad
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov esi, eax
mov edx, edi
mov eax, ebx
call fcn.00406aec
test eax, eax
jne 0x4174f7
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4175f1
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00404630
lea eax, [ebp - 4]
call fcn.0040460c
ret
Function at 0x4175fc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404abc
xor eax, eax
push ebp
push 0x417684
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.0040460c
mov eax, dword [ebp - 4]
call fcn.004048cc
mov esi, eax
test esi, esi
jle 0x41765f
mov ebx, 1
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
movzx edx, byte [edx + ebx - 1]
xor edx, ebx
call fcn.004047f4
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.004048d4
inc ebx
dec esi
jne 0x41763e
mov eax, edi
mov edx, dword [ebp - 8]
call fcn.00404660
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41768b
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404630
ret

Function at 0x417694
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404abc
xor eax, eax
push ebp
push 0x41772a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404acc
call fcn.0040b6f0
mov ebx, eax
test ebx, ebx
jle 0x4176fc
mov esi, 1
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
movzx edx, byte [edx + esi - 1]
xor edx, edi
call fcn.004047f4
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.004048d4
inc esi
dec ebx
jne 0x4176db
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00404660
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x417731
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404630
lea eax, [ebp - 4]
call fcn.0040460c
ret
Function at 0x417980
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x417988
push ebx
xor eax, eax
push ebp
push 0x417ba0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00417738
lea eax, [ebp - 4]
mov edx, 0x417bb4
call fcn.004048d4
mov eax, dword [ebp - 4]
call fcn.0040b460
cmp al, 1
je 0x417a01
lea eax, [ebp - 8]
call fcn.00417738
lea eax, [ebp - 8]
mov edx, 0x417bb4
call fcn.004048d4
mov eax, dword [ebp - 8]
call fcn.004177fc
push 6
lea eax, [ebp - 0xc]
call fcn.00417738
lea eax, [ebp - 0xc]
mov edx, 0x417bb4
call fcn.004048d4
mov eax, dword [ebp - 0xc]
call fcn.00404acc
push eax
call sub.kernel32.dll_SetFileAttributesA
lea eax, [ebp - 0x10]
call fcn.00417738
lea eax, [ebp - 0x10]
mov edx, 0x417bc8
call fcn.004048d4
mov eax, dword [ebp - 0x10]
call fcn.0040b460
cmp al, 1
je 0x417a64
lea eax, [ebp - 0x14]
call fcn.00417738
lea eax, [ebp - 0x14]
mov edx, 0x417bc8
call fcn.004048d4
mov eax, dword [ebp - 0x14]
call fcn.004177fc
push 6
lea eax, [ebp - 0x18]
call fcn.00417738
lea eax, [ebp - 0x18]
mov edx, 0x417bc8
call fcn.004048d4
mov eax, dword [ebp - 0x18]
call fcn.00404acc
push eax
call sub.kernel32.dll_SetFileAttributesA
lea eax, [ebp - 0x1c]
call fcn.00417738
lea eax, [ebp - 0x1c]
mov edx, 0x417be4
call fcn.004048d4
mov eax, dword [ebp - 0x1c]
call fcn.0040b460
cmp al, 1
je 0x417ac7
lea eax, [ebp - 0x20]
call fcn.00417738
lea eax, [ebp - 0x20]
mov edx, 0x417be4
call fcn.004048d4
mov eax, dword [ebp - 0x20]
call fcn.004177fc
push 6
lea eax, [ebp - 0x24]
call fcn.00417738
lea eax, [ebp - 0x24]
mov edx, 0x417be4
call fcn.004048d4
mov eax, dword [ebp - 0x24]
call fcn.00404acc
push eax
call sub.kernel32.dll_SetFileAttributesA
mov dl, 1
mov eax, dword [0x41697c]
call fcn.00416a7c
mov ebx, eax
mov edx, 0x80000002
mov eax, ebx
call fcn.00416b1c
lea edx, [ebp - 0x28]
mov eax, 0x417bfc
call fcn.004175fc
mov edx, dword [ebp - 0x28]
mov cl, 1
mov eax, ebx
call fcn.00416b80
lea eax, [ebp - 0x2c]
call fcn.00417738
lea eax, [ebp - 0x2c]
mov edx, 0x417bb4
call fcn.004048d4
mov ecx, dword [ebp - 0x2c]
mov edx, 0x417c34
mov eax, ebx
call fcn.00416d1c
lea edx, [ebp - 0x30]
mov eax, 0x417c4c
call fcn.004175fc
mov eax, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
call fcn.00417738
lea eax, [ebp - 0x34]
push eax
mov edx, 0x417bc8
pop eax
call fcn.004048d4
mov ecx, dword [ebp - 0x34]
mov eax, ebx
pop edx
call fcn.00416d1c
lea eax, [ebp - 0x38]
call fcn.00417738
lea eax, [ebp - 0x38]
push eax
mov edx, 0x417be4
pop eax
call fcn.004048d4
mov ecx, dword [ebp - 0x38]
mov edx, 0x417c64
mov eax, ebx
call fcn.00416d1c
mov eax, ebx
call fcn.00416aec
mov eax, ebx
call fcn.00403b24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x417ba7
lea eax, [ebp - 0x38]
mov edx, 0xe
call fcn.00404630
ret