joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4156c7
Capabilities:
Query environment variable

Disassembly:
push ebx
sub esp, 0x228
mov dword [esp], str.LOCALAPPDATA
call sub.msvcrt.dll_getenv
mov ebx, eax
mov dword [esp], str._6EWWnidPI0Wldu6d0_aC5C_ad8CQi5mWn4R_aC5C
call fcn.0040b60e
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x204
lea eax, [esp + 0x1c]
mov dword [esp], eax
call fcn.00419fa8
lea eax, [esp + 0x1c]
mov dword [esp], eax
call fcn.0040aa34
test al, al
je 0x41572a
lea eax, [esp + 0x1c]
mov dword [esp + 4], eax
mov dword [esp], 4
call fcn.0041541b
jmp 0x41572f
mov eax, 0
add esp, 0x228
pop ebx
ret

Function at 0x415737
Capabilities:
Query environment variable

Disassembly:
push ebx
sub esp, 0x228
mov dword [esp], str.LOCALAPPDATA
call sub.msvcrt.dll_getenv
mov ebx, eax
mov dword [esp], str._6PI0Wl4Qlu6d0_aC5C_ad8CQi5mWn4R_aC5C
call fcn.0040b60e
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x204
lea eax, [esp + 0x1c]
mov dword [esp], eax
call fcn.00419fa8
lea eax, [esp + 0x1c]
mov dword [esp], eax
call fcn.0040aa34
test al, al
je 0x41579a
lea eax, [esp + 0x1c]
mov dword [esp + 4], eax
mov dword [esp], 5
call fcn.0041541b
jmp 0x41579f
mov eax, 0
add esp, 0x228
pop ebx
ret

Function at 0x4157a7
Capabilities:
Query environment variable

Disassembly:
push ebx
sub esp, 0x228
mov dword [esp], str.LOCALAPPDATA
call sub.msvcrt.dll_getenv
mov ebx, eax
mov dword [esp], str._6PWlWSW_a0CnWRu6d0_aC5C_ad8CQi5mWn4R_aC5C
call fcn.0040b60e
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x204
lea eax, [esp + 0x1c]
mov dword [esp], eax
call fcn.00419fa8
lea eax, [esp + 0x1c]
mov dword [esp], eax
call fcn.0040aa34
test al, al
je 0x41580a
lea eax, [esp + 0x1c]
mov dword [esp + 4], eax
mov dword [esp], 8
call fcn.0041541b
jmp 0x41580f
mov eax, 0
add esp, 0x228
pop ebx
ret

Function at 0x415817
Capabilities:
Query environment variable

Disassembly:
push ebx
sub esp, 0x228
mov dword [esp], str.LOCALAPPDATA
call sub.msvcrt.dll_getenv
mov ebx, eax
mov dword [esp], str._6_vCRSdf_vCRSdfc0Wg6d0u6d0_aC5C_ad8CQi5mWn4R_aC5C
call fcn.0040b60e
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x204
lea eax, [esp + 0x1c]
mov dword [esp], eax
call fcn.00419fa8
lea eax, [esp + 0x1c]
mov dword [esp], eax
call fcn.0040aa34
test al, al
je 0x41587a
lea eax, [esp + 0x1c]
mov dword [esp + 4], eax
mov dword [esp], 9
call fcn.0041541b
jmp 0x41587f
mov eax, 0
add esp, 0x228
pop ebx
ret

Function at 0x415887
Capabilities:
Query environment variable

Disassembly:
push ebx
sub esp, 0x228
mov dword [esp], str.APPDATA
call sub.msvcrt.dll_getenv
mov ebx, eax
mov dword [esp], str._6Tsd0C_MW85gC0dTsd0C_M5CVidmWn4R_aC5C
call fcn.0040b60e
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x204
lea eax, [esp + 0x1c]
mov dword [esp], eax
call fcn.00419fa8
lea eax, [esp + 0x1c]
mov dword [esp], eax
call fcn.0040aa34
test al, al
je 0x4158ea
lea eax, [esp + 0x1c]
mov dword [esp + 4], eax
mov dword [esp], 7
call fcn.0041541b
jmp 0x4158ef
mov eax, 0
add esp, 0x228
pop ebx
ret
Function at 0x4162f6
Capabilities:
Terminate process

Disassembly:
sub esp, 0x2c
mov byte [esp + 0x1f], 0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00419d08
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 1
call sub.KERNEL32.dll_OpenProcess
sub esp, 0xc
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], 0
je 0x41635f
mov dword [esp + 4], 0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sub.KERNEL32.dll_TerminateProcess
sub esp, 8
test eax, eax
setne al
mov byte [esp + 0x1f], al
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sub.KERNEL32.dll_CloseHandle
sub esp, 4
movzx eax, byte [esp + 0x1f]
add esp, 0x2c
ret

Function at 0x4166e1
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
sub esp, 0x138
mov eax, dword [esp + 0x14c]
cmp eax, dword [esp + 0x144]
je 0x416737
mov eax, dword [esp + 0x148]
cmp eax, dword [esp + 0x150]
jle 0x416712
mov eax, 0xffffffff
jmp 0x4168a5
mov eax, dword [esp + 0x148]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x144]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14c]
mov dword [esp], eax
call fcn.0041a5e1
mov eax, dword [esp + 0x140]
mov eax, dword [eax]
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x140]
mov eax, dword [eax + 4]
mov dword [esp + 0x124], eax
mov dword [esp + 0x12c], 0
jmp 0x416792
mov edx, dword [esp + 0x140]
mov eax, dword [esp + 0x12c]
add eax, edx
add eax, 8
movzx eax, byte [eax]
lea ecx, [esp + 0x1c]
mov edx, dword [esp + 0x12c]
add edx, ecx
mov byte [edx], al
add dword [esp + 0x12c], 1
cmp dword [esp + 0x12c], 0xff
jle 0x416765
mov dword [esp + 0x12c], 0
jmp 0x41688a
mov eax, dword [esp + 0x128]
add eax, 1
and eax, 0xff
mov dword [esp + 0x128], eax
lea edx, [esp + 0x1c]
mov eax, dword [esp + 0x128]
add eax, edx
movzx eax, byte [eax]
movzx eax, al
mov dword [esp + 0x120], eax
mov edx, dword [esp + 0x124]
mov eax, dword [esp + 0x120]
add eax, edx
and eax, 0xff
mov dword [esp + 0x124], eax
lea edx, [esp + 0x1c]
mov eax, dword [esp + 0x124]
add eax, edx
movzx eax, byte [eax]
movzx eax, al
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x11c]
lea ecx, [esp + 0x1c]
mov edx, dword [esp + 0x128]
add edx, ecx
mov byte [edx], al
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x1c]
mov edx, dword [esp + 0x124]
add edx, ecx
mov byte [edx], al
mov edx, dword [esp + 0x12c]
mov eax, dword [esp + 0x14c]
add edx, eax
mov ecx, dword [esp + 0x12c]
mov eax, dword [esp + 0x14c]
add eax, ecx
movzx ecx, byte [eax]
mov eax, dword [esp + 0x120]
mov ebx, eax
mov eax, dword [esp + 0x11c]
add eax, ebx
movzx eax, al
movzx eax, byte [esp + eax + 0x1c]
xor eax, ecx
mov byte [edx], al
add dword [esp + 0x12c], 1
mov eax, dword [esp + 0x12c]
cmp eax, dword [esp + 0x148]
jl 0x4167af
mov eax, dword [esp + 0x148]
add esp, 0x138
pop ebx
ret
Function at 0x4169e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x3c
mov dword [esp + 0x28], 0
lea eax, [esp + 0x2c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegOpenKeyExA
sub esp, 0x14
test eax, eax
jne 0x416ad9
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x24]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov edx, dword [esp + 0x48]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegQueryValueExA
sub esp, 0x18
test eax, eax
jne 0x416ad9
mov eax, dword [esp + 0x24]
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.msvcrt.dll_calloc
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x416ac4
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
lea edx, [esp + 0x20]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov edx, dword [esp + 0x48]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegQueryValueExA
sub esp, 0x18
test eax, eax
je 0x416ac4
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.0040b4bf
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
mov eax, dword [esp + 0x28]
jmp 0x416ade
mov eax, 0
add esp, 0x3c
ret

Function at 0x416ae2
Capabilities:
Set registry value

Disassembly:
sub esp, 0x4c
mov byte [esp + 0x3f], 0
mov dword [esp + 0x20], 0
lea eax, [esp + 0x38]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegCreateKeyExA
sub esp, 0x24
test eax, eax
jne 0x416b94
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edx, dword [esp + 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.ADVAPI32.DLL_RegSetValueExA
sub esp, 0x18
test eax, eax
sete al
mov byte [esp + 0x3f], al
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
movzx eax, byte [esp + 0x3f]
add esp, 0x4c
ret
Function at 0x416b9d
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x3c
mov byte [esp + 0x2f], 0
lea eax, [esp + 0x28]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x201
mov dword [esp + 8], 0
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegOpenKeyExA
sub esp, 0x14
test eax, eax
jne 0x416c75
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x24]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov edx, dword [esp + 0x48]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegQueryValueExA
sub esp, 0x18
test eax, eax
jne 0x416c61
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x50]
jae 0x416c61
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x24]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x10], edx
lea edx, [esp + 0x20]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov edx, dword [esp + 0x48]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegQueryValueExA
sub esp, 0x18
test eax, eax
sete al
mov byte [esp + 0x2f], al
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
jmp 0x416d49
lea eax, [esp + 0x28]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x101
mov dword [esp + 8], 0
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegOpenKeyExA
sub esp, 0x14
test eax, eax
jne 0x416d42
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x24]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov edx, dword [esp + 0x48]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegQueryValueExA
sub esp, 0x18
test eax, eax
jne 0x416d31
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x50]
jae 0x416d31
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x24]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x10], edx
lea edx, [esp + 0x20]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov edx, dword [esp + 0x48]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegQueryValueExA
sub esp, 0x18
test eax, eax
sete al
mov byte [esp + 0x2f], al
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
jmp 0x416d49
movzx eax, byte [esp + 0x2f]
jmp 0x416d4e
movzx eax, byte [esp + 0x2f]
add esp, 0x3c
ret
Function at 0x416d52
Capabilities:
Delete registry value

Disassembly:
sub esp, 0x3c
mov byte [esp + 0x2f], 0
lea eax, [esp + 0x28]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x102
mov dword [esp + 8], 0
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegOpenKeyExA
sub esp, 0x14
test eax, eax
jne 0x416dbc
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x48]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegDeleteValueA
sub esp, 8
test eax, eax
sete al
mov byte [esp + 0x2f], al
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
movzx eax, byte [esp + 0x2f]
add esp, 0x3c
ret
Function at 0x416dc5
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x27c
mov eax, dword [esp + 0x284]
movzx eax, byte [eax]
test al, al
je 0x416e0d
mov eax, dword [esp + 0x288]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x284]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._s_s
mov dword [esp + 4], 0x204
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.00419fa8
jmp 0x416e2c
mov dword [esp + 8], 0x204
mov eax, dword [esp + 0x288]
mov dword [esp + 4], eax
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.00419918
lea eax, [esp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x280]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegDeleteKeyA
sub esp, 8
mov dword [esp + 0x26c], eax
cmp dword [esp + 0x26c], 0
jne 0x416e61
mov eax, 1
jmp 0x417002
lea eax, [esp + 0x24]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x108
mov dword [esp + 8], 0
lea eax, [esp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x280]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegOpenKeyExA
sub esp, 0x14
mov dword [esp + 0x26c], eax
cmp dword [esp + 0x26c], 0
je 0x416ec2
cmp dword [esp + 0x26c], 2
jne 0x416eb8
mov eax, 1
jmp 0x417002
mov eax, 0
jmp 0x417002
mov dword [esp + 0x20], 0x40
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
lea edx, [esp + 0x20]
mov dword [esp + 0xc], edx
lea edx, [esp + 0x22c]
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegEnumKeyExA
sub esp, 0x20
mov dword [esp + 0x26c], eax
cmp dword [esp + 0x26c], 0
jne 0x416fbc
lea eax, [esp + 0x22c]
mov dword [esp + 8], eax
lea eax, [esp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x280]
mov dword [esp], eax
call fcn.00416dc5
xor eax, 1
test al, al
jne 0x416fbb
mov dword [esp + 0x20], 0x40
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
lea edx, [esp + 0x20]
mov dword [esp + 0xc], edx
lea edx, [esp + 0x22c]
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegEnumKeyExA
sub esp, 0x20
mov dword [esp + 0x26c], eax
cmp dword [esp + 0x26c], 0
je 0x416f29
jmp 0x416fbc
nop
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
lea eax, [esp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x280]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegDeleteKeyA
sub esp, 8
mov dword [esp + 0x26c], eax
cmp dword [esp + 0x26c], 0
jne 0x416ffd
mov eax, 1
jmp 0x417002
mov eax, 0
add esp, 0x27c
ret
Function at 0x417009
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0xbc
mov dword [esp + 0xac], 0
lea eax, [esp + 0xa4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x108
mov dword [esp + 8], 0
mov eax, dword [esp + 0xc4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegOpenKeyExA
sub esp, 0x14
test eax, eax
jne 0x417145
mov dword [esp + 0xa0], 0x40
jmp 0x4170d1
add dword [esp + 0xac], 1
lea eax, [esp + 0x60]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x4201ea
mov dword [esp + 4], 0x40
lea eax, [esp + 0x20]
mov dword [esp], eax
call fcn.00419fa8
mov dword [esp + 0xa8], eax
cmp dword [esp + 0xa8], 0
jle 0x4170c6
mov eax, dword [esp + 0xa8]
mov dword [esp + 8], eax
lea eax, [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc8]
mov dword [esp], eax
call fcn.0041972e
mov dword [esp + 0xa0], 0x40
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
lea edx, [esp + 0xa0]
mov dword [esp + 0xc], edx
lea edx, [esp + 0x60]
mov dword [esp + 8], edx
mov edx, dword [esp + 0xac]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegEnumKeyExA
sub esp, 0x20
cmp eax, 0x103
jne 0x417067
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
mov eax, 1
jmp 0x41714a
mov eax, 0
add esp, 0xbc
ret
Function at 0x418352
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x3c
mov eax, dword [0x4245cc]
mov dword [esp + 0x10], 0
lea edx, [esp + 0x2c]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.KERNEL32.dll_WriteFile
sub esp, 0x14
nop
add esp, 0x3c
ret
Function at 0x418934
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x2c
mov eax, dword [esp + 0x34]
mov byte [esp + 0x1c], al
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
lea edx, [esp + 0x1c]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.WS2_32.dll_send
sub esp, 0x10
cmp eax, 1
sete al
add esp, 0x2c
ret
Function at 0x41a27e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
sub esp, 0x28
cmp dword [esp + 0x30], 0
je 0x41a290
cmp dword [esp + 0x34], 0
jne 0x41a29a
mov eax, 0
jmp 0x41a396
mov byte [esp + 0x1f], 0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], eax
jmp 0x41a349
mov eax, dword [esp + 0x14]
movzx eax, byte [eax]
movsx eax, al
cmp eax, 0x2a
je 0x41a2d8
cmp eax, 0x3f
jne 0x41a312
mov eax, dword [esp + 0x18]
movzx eax, byte [eax]
cmp al, 0x2e
jne 0x41a33e
jmp 0x41a379
mov byte [esp + 0x1f], 1
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], eax
add dword [esp + 0x30], 1
mov eax, dword [esp + 0x30]
movzx eax, byte [eax]
cmp al, 0x2a
je 0x41a2ed
mov eax, dword [esp + 0x30]
movzx eax, byte [eax]
test al, al
jne 0x41a29f
mov eax, 1
jmp 0x41a396
mov eax, dword [esp + 0x18]
movzx eax, byte [eax]
movsx eax, al
mov dword [esp], eax
call fcn.0041a431
mov ebx, eax
mov eax, dword [esp + 0x14]
movzx eax, byte [eax]
movsx eax, al
mov dword [esp], eax
call fcn.0041a431
cmp bl, al
jne 0x41a378
jmp 0x41a33f
nop
add dword [esp + 0x18], 1
add dword [esp + 0x14], 1
mov eax, dword [esp + 0x18]
movzx eax, byte [eax]
test al, al
jne 0x41a2b4
jmp 0x41a35f
add dword [esp + 0x14], 1
mov eax, dword [esp + 0x14]
movzx eax, byte [eax]
cmp al, 0x2a
je 0x41a35a
mov eax, dword [esp + 0x14]
movzx eax, byte [eax]
test al, al
sete al
jmp 0x41a396
nop
movzx eax, byte [esp + 0x1f]
xor eax, 1
test al, al
je 0x41a38c
mov eax, 0
jmp 0x41a396
add dword [esp + 0x34], 1
jmp 0x41a29f
add esp, 0x28
pop ebx
ret
Function at 0x41af28
Capabilities:
Get hostname

Disassembly:
sub esp, 0x2c
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.0041a59f
mov eax, dword [esp + 0x34]
sub eax, 1
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sub.WS2_32.dll_gethostname
sub esp, 8
cmp eax, 0xffffffff
jne 0x41afa6
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sub.KERNEL32.dll_GetComputerNameA
sub esp, 8
test eax, eax
jne 0x41afa9
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], str.localhost
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00419918
nop
nop
jmp 0x41afaa
nop
add esp, 0x2c
ret

Function at 0x41afae
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x2c
mov dword [esp + 0x1c], 0
mov dword [esp], str.CS2Cs4Nh.Sii
call fcn.0040b60e
mov dword [esp], eax
call fcn.0040b4e9
mov dword [esp + 0x1c], eax
mov dword [esp], str.Ed5u6d0LCldD
call fcn.0040b60e
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.0040b4ff
mov dword [esp + 0x18], eax
mov dword [esp], str.uMjrLDFj
call fcn.0040b60e
mov dword [esp], eax
call sub.msvcrt.dll_getenv
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], 0
jne 0x41b052
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x18]
call eax
sub esp, 8
test eax, eax
jne 0x41b07c
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], str.Unknown
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00419918
jmp 0x41b06e
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00419918
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.0040b51d
jmp 0x41b07d
nop
add esp, 0x2c
ret
Function at 0x41bd01
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebx
sub esp, 0x798
mov eax, dword [esp + 0x7a8]
mov byte [esp + 0x2c], al
mov dword [esp], 0x8003
call sub.KERNEL32.dll_SetErrorMode
sub esp, 4
mov eax, dword [esp + 0x7a0]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x420488
mov dword [esp + 4], 0x204
lea eax, [esp + 0x380]
mov dword [esp], eax
call fcn.00419fa8
cmp eax, 0xffffffff
je 0x41bf7e
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
lea eax, [esp + 0x380]
mov dword [esp], eax
call sub.KERNEL32.dll_FindFirstFileA
sub esp, 8
mov dword [esp + 0x78c], eax
cmp dword [esp + 0x78c], 0xffffffff
je 0x41bf7f
mov dword [esp + 4], 0x42048c
lea eax, [esp + 0x3c]
add eax, 0x2c
mov dword [esp], eax
call fcn.0041a1d8
test eax, eax
je 0x41bf36
mov dword [esp + 4], 0x42048e
lea eax, [esp + 0x3c]
add eax, 0x2c
mov dword [esp], eax
call fcn.0041a1d8
test eax, eax
je 0x41bf36
mov eax, dword [esp + 0x3c]
and eax, 0x10
test eax, eax
je 0x41bea1
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x3c]
add edx, 0x2c
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x7a0]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._d:_s_s_
mov dword [esp + 4], 0x204
lea eax, [esp + 0x584]
mov dword [esp], eax
call fcn.00419fa8
mov dword [esp + 0x788], eax
cmp dword [esp + 0x788], 0xffffffff
je 0x41be44
mov eax, dword [esp + 0x788]
mov dword [esp + 8], eax
lea eax, [esp + 0x584]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7a4]
mov dword [esp], eax
call fcn.0041972e
lea eax, [esp + 0x3c]
add eax, 0x2c
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x7a0]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._s_s_
mov dword [esp + 4], 0x204
lea eax, [esp + 0x17c]
mov dword [esp], eax
call fcn.00419fa8
movzx eax, byte [esp + 0x2c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x7a4]
mov dword [esp + 4], eax
lea eax, [esp + 0x17c]
mov dword [esp], eax
call fcn.0041bd01
jmp 0x41bf37
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
lea ebx, [esp + 0x3c]
add ebx, 0x2c
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x7a0]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], str._d:_I64u:_s_s_
mov dword [esp + 4], 0x204
lea eax, [esp + 0x584]
mov dword [esp], eax
call fcn.00419fa8
mov dword [esp + 0x788], eax
cmp dword [esp + 0x788], 0xffffffff
je 0x41bf37
mov eax, dword [esp + 0x788]
mov dword [esp + 8], eax
lea eax, [esp + 0x584]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7a4]
mov dword [esp], eax
call fcn.0041972e
jmp 0x41bf37
nop
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78c]
mov dword [esp], eax
call sub.KERNEL32.dll_FindNextFileA
sub esp, 8
test eax, eax
je 0x41bf6a
movzx eax, byte [esp + 0x2c]
mov dword [esp], eax
call fcn.0041bc50
test al, al
jne 0x41bd84
mov eax, dword [esp + 0x78c]
mov dword [esp], eax
call sub.KERNEL32.dll_FindClose
sub esp, 4
jmp 0x41bf7f
nop
add esp, 0x798
pop ebx
ret