joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41efce
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x448490]
jne 0x41efd8
repz ret
jmp fcn.004261ec

Function at 0x424c0d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x448490]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00425c8b
and dword [ebp - 0x14], 0
cmp dword [0x449be4], 0
mov dword [ebp - 0x18], eax
jne 0x424cc0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x424d68
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x424d68
mov esi, dword [section..data]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x449be4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x449be8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x449bec], eax
call edi
push eax
call esi
mov dword [0x449bf4], eax
test eax, eax
je 0x424cc0
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x449bf0], eax
mov eax, dword [0x449bf0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [0x444004]
cmp eax, ecx
je 0x424d19
cmp dword [0x449bf4], ecx
je 0x424d19
push eax
call esi
push dword [0x449bf4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x424d19
test ebx, ebx
je 0x424d19
call edi
test eax, eax
je 0x424d10
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x424d10
test byte [ebp - 8], 1
jne 0x424d19
or dword [ebp + 0x10], 0x200000
jmp 0x424d4c
mov eax, dword [0x449be8]
cmp eax, dword [ebp - 0x18]
je 0x424d4c
push eax
call esi
test eax, eax
je 0x424d4c
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x424d4c
mov eax, dword [0x449bec]
cmp eax, dword [ebp - 0x18]
je 0x424d4c
push eax
call esi
test eax, eax
je 0x424d4c
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x449be4]
call esi
test eax, eax
je 0x424d68
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x424d6a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041efce
leave
ret
Function at 0x401541
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea eax, [ebp - 0x22c]
sub esp, 0x25c
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
and edi, 0x300
mov dword [esp], ebx
mov eax, edi
mov dword [esp + 4], esi
or eax, 9
mov dword [esp + 8], eax
call fcn.00409b4c
sub esp, 0x10
test eax, eax
jne 0x4016a1
test byte [ebp + 0x10], 2
mov eax, dword [ebp - 0x22c]
je 0x4015d7
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x228], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edx
lea edx, [ebp - 0x228]
mov dword [esp + 0xc], edx
lea edx, [ebp - 0x222]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
sub esp, 0x20
cmp eax, 0x103
jne 0x401642
mov eax, dword [ebp + 0x10]
and eax, 1
mov dword [ebp - 0x23c], eax
jmp 0x4015ff
mov ecx, dword [ebp + 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 8], ecx
call fcn.00401541
sub esp, 0xc
test eax, eax
jne 0x401659
mov dword [esp + 0xc], 0x105
lea edx, [ebp - 0x222]
xor eax, eax
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x22c]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea edx, [ebp - 0x222]
sub esp, 0x10
test eax, eax
jne 0x401659
cmp dword [ebp - 0x23c], 0
mov eax, dword [ebp - 0x22c]
je 0x4015e5
mov eax, dword [ebp - 0x22c]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x3eb
push ecx
jmp 0x4016a1
mov eax, dword [ebp - 0x22c]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
mov dword [esp], 3
call fcn.0040a46c
push edx
test eax, eax
jne 0x40168b
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push ecx
push ecx
jmp 0x4016a1
mov dword [esp + 8], edi
xor edx, edx
mov dword [esp + 0xc], edx
mov dword [esp + 4], esi
mov dword [esp], ebx
call eax
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
Function at 0x404695
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
test eax, eax
js 0x4046d5
add eax, dword [0x41d198]
xor edx, edx
mov dword [0x431258], eax
mov dword [esp + 0xc], edx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [0x40e010]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
sub esp, 0x10
mov dword [esp], 4
call fcn.004044c3
push edi
test eax, eax
mov edi, eax
js 0x4047e9
mov dword [esp + 8], 4
lea eax, [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [0x40e010]
mov dword [esp], eax
call fcn.0040997b
sub esp, 0xc
test eax, eax
jne 0x404719
mov edi, 0xfffffffd
jmp 0x4047e9
mov eax, dword [ebp - 0x1c]
add dword [0x431258], 4
mov dword [esp], eax
call fcn.004044c3
test eax, eax
mov edi, eax
push ecx
js 0x4047e9
test ebx, ebx
mov eax, dword [ebp - 0x1c]
jne 0x4047a6
mov eax, dword [ebp - 0x1c]
test eax, eax
jle 0x4047e9
mov edx, 0x4000
cmp eax, edx
cmovg eax, edx
mov dword [ebp - 0x20], eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0x42d1c0
mov eax, dword [0x40e010]
mov dword [esp], eax
call fcn.0040997b
sub esp, 0xc
test eax, eax
je 0x40470f
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], 0x42d1c0
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.004099bf
sub esp, 0xc
test eax, eax
je 0x4047e4
mov eax, dword [ebp - 0x20]
sub dword [ebp - 0x1c], eax
add dword [0x431258], eax
add edi, eax
jmp 0x40473d
mov dword [esp + 4], ebx
xor edx, edx
cmp eax, esi
mov dword [esp + 0x10], edx
lea edx, [ebp - 0x20]
cmovg eax, esi
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [0x40e010]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
sub esp, 0x14
test eax, eax
je 0x40470f
mov edi, dword [ebp - 0x20]
add dword [0x431258], edi
jmp 0x4047e9
mov edi, 0xfffffffe
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
Function at 0x40869c
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00408439
mov edx, ebx
mov esi, eax
shl eax, 2
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp - 0x1c]
sub edi, eax
cmp edi, eax
jge 0x40870e
mov edi, dword [edx]
add edx, 0x10
mov ecx, dword [ebx + eax*4]
mov dword [edx - 0x10], ecx
mov dword [ebx + eax*4], edi
mov ecx, dword [ebx + eax*4 + 4]
mov edi, dword [edx - 0xc]
mov dword [edx - 0xc], ecx
mov dword [ebx + eax*4 + 4], edi
mov ecx, dword [ebx + eax*4 + 8]
mov edi, dword [edx - 8]
mov dword [edx - 8], ecx
mov dword [ebx + eax*4 + 8], edi
mov ecx, dword [ebx + eax*4 + 0xc]
mov edi, dword [edx - 4]
mov dword [edx - 4], ecx
mov dword [ebx + eax*4 + 0xc], edi
sub eax, 4
jmp 0x4086c8
mov edx, 1
cmp edx, esi
jge 0x408887
mov eax, dword [ebx + 0x10]
add ebx, 0x10
inc edx
mov ecx, eax
movzx edi, al
shr ecx, 0x18
movzx edi, byte [edi*4 + 0x412420]
movzx ecx, byte [ecx*4 + 0x412420]
mov ecx, dword [ecx*4 + 0x411820]
xor ecx, dword [edi*4 + 0x410c20]
mov edi, ecx
mov ecx, eax
shr ecx, 0x10
movzx eax, ah
movzx ecx, cl
movzx eax, byte [eax*4 + 0x412420]
movzx ecx, byte [ecx*4 + 0x412420]
xor edi, dword [ecx*4 + 0x411420]
mov ecx, edi
xor ecx, dword [eax*4 + 0x411020]
mov eax, dword [ebx + 4]
mov dword [ebx], ecx
mov ecx, eax
movzx edi, al
shr ecx, 0x18
movzx edi, byte [edi*4 + 0x412420]
movzx ecx, byte [ecx*4 + 0x412420]
mov ecx, dword [ecx*4 + 0x411820]
xor ecx, dword [edi*4 + 0x410c20]
mov edi, ecx
mov ecx, eax
shr ecx, 0x10
movzx eax, ah
movzx ecx, cl
movzx eax, byte [eax*4 + 0x412420]
movzx ecx, byte [ecx*4 + 0x412420]
xor edi, dword [ecx*4 + 0x411420]
mov ecx, edi
xor ecx, dword [eax*4 + 0x411020]
mov eax, dword [ebx + 8]
mov dword [ebx + 4], ecx
mov ecx, eax
movzx edi, al
shr ecx, 0x18
movzx edi, byte [edi*4 + 0x412420]
movzx ecx, byte [ecx*4 + 0x412420]
mov ecx, dword [ecx*4 + 0x411820]
xor ecx, dword [edi*4 + 0x410c20]
mov edi, ecx
mov ecx, eax
shr ecx, 0x10
movzx eax, ah
movzx ecx, cl
movzx eax, byte [eax*4 + 0x412420]
movzx ecx, byte [ecx*4 + 0x412420]
xor edi, dword [ecx*4 + 0x411420]
mov ecx, edi
xor ecx, dword [eax*4 + 0x411020]
mov eax, dword [ebx + 0xc]
mov dword [ebx + 8], ecx
mov ecx, eax
movzx edi, al
shr ecx, 0x18
movzx ecx, byte [ecx*4 + 0x412420]
movzx edi, byte [edi*4 + 0x412420]
mov ecx, dword [ecx*4 + 0x411820]
xor ecx, dword [edi*4 + 0x410c20]
mov edi, ecx
mov ecx, eax
shr ecx, 0x10
movzx eax, ah
movzx ecx, cl
movzx eax, byte [eax*4 + 0x412420]
movzx ecx, byte [ecx*4 + 0x412420]
xor edi, dword [ecx*4 + 0x411420]
mov ecx, edi
xor ecx, dword [eax*4 + 0x411020]
mov dword [ebx + 0xc], ecx
jmp 0x408713
add esp, 0x2c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x409542
Capabilities:
Create process on windows

Disassembly:
push ebp
xor edx, edx
mov ebp, esp
xor ecx, ecx
lea eax, [ebp - 0x18]
sub esp, 0x48
mov dword [0x450200], 0x44
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 0x450200
mov dword [esp + 0x14], 0x4000000
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ecx
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edx, eax
sub esp, 0x28
xor eax, eax
test edx, edx
je 0x4095ae
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
mov eax, dword [ebp - 0x18]
leave
ret 4

Function at 0x4095b2
Capabilities:
Create process on windows

Disassembly:
push ebp
xor edx, edx
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x3c
mov dword [eax + 0x24], edx
pop ebp
jmp dword [sym.imp.SHELL32.dll_ShellExecuteExW]

Function at 0x409824
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push edx
mov ebx, eax
inc eax
je 0x409852
mov dword [esp], esi
mov eax, ebx
and eax, 0xfffffffe
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push eax
push eax
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret 4

Function at 0x40985d
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call fcn.00409824
push ecx
cmp eax, 0xffffffff
je 0x4098b2
test byte [ebp + 0xc], 1
mov esi, eax
mov dword [esp], ebx
je 0x4098aa
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
push edx
jne 0x4098a3
test byte [ebp + 0xc], 4
jne 0x4098b2
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push eax
push eax
jmp 0x4098b2
mov eax, 1
jmp 0x4098b4
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x409887
xor eax, eax
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push edx
cmp eax, 0xffffffff
jne 0x4098d8
xor eax, eax
mov dword [esp + 0x14], eax
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x18], edx
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 1
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, dword [ebp - 4]
sub esp, 0x1c
leave
ret 0xc
Function at 0x409911
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, 0x64
push ebx
sub esp, 0x20
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], 0x73006e
mov dword [ebp - 0xc], 0x61
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x1a
xor edx, edx
div ecx
xor eax, eax
add word [ebp - 0xc], dx
mov dword [esp + 8], eax
lea eax, [ebp - 0x10]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
sub esp, 0x10
test eax, eax
jne 0x409970
dec esi
jne 0x409921
mov word [ebx], 0
xor ebx, ebx
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret 8

Function at 0x40997b
Capabilities:
Read file on windows

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
push ebx
sub esp, 0x34
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
sub esp, 0x14
test eax, eax
je 0x4099b8
xor eax, eax
cmp dword [ebp - 0xc], ebx
sete al
mov ebx, dword [ebp - 4]
leave
ret 0xc

Function at 0x4099bf
Capabilities:
Write file on windows

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
push ebx
sub esp, 0x34
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
sub esp, 0x14
test eax, eax
je 0x4099fc
xor eax, eax
cmp dword [ebp - 0xc], ebx
sete al
mov ebx, dword [ebp - 4]
leave
ret 0xc

Function at 0x409c00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
lea eax, [ebp - 0x14]
sub esp, 0x30
mov dword [ebp - 0x10], 0x2000
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
xor eax, eax
cmp dword [ebp + 0x18], 0
setne al
shl eax, 8
or eax, 0x20019
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00409b4c
sub esp, 0x10
test eax, eax
je 0x409c4e
mov word [ebx], 0
jmp 0x409ca1
mov dword [esp + 0x10], ebx
lea eax, [ebp - 0x10]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0xc]
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov eax, dword [ebp - 0x14]
sub esp, 0x18
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
push edx
mov word [ebx + 0x1ffe], 0
jne 0x409c47
mov eax, dword [ebp - 0xc]
dec eax
cmp eax, 1
ja 0x409c47
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret 0x14
Function at 0x40a32c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov eax, dword [ebp + 8]
mov dword [esp], 0x44c200
mov dword [esp + 4], eax
call fcn.00409d7a
push ebx
push ebx
mov dword [esp], 0x44c200
call fcn.0040970a
push edx
test eax, eax
jne 0x40a35d
xor eax, eax
jmp 0x40a3d7
mov dword [esp], eax
mov ebx, eax
call fcn.00409eb9
push ecx
test byte [0x41d14c], 0x80
je 0x40a37d
movzx eax, word [ebx]
test eax, eax
je 0x40a359
cmp eax, 0x5c
je 0x40a359
sub ebx, 0x44c200
sar ebx, 1
mov dword [esp], 0x44c200
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ecx
cmp ebx, eax
mov dword [esp], 0x44c200
jge 0x40a3bc
call fcn.0040a2f4
push edx
test eax, eax
je 0x40a3ad
test byte [eax], 0x10
je 0x40a359
mov dword [esp], 0x44c200
call fcn.00409699
push eax
jmp 0x40a385
call fcn.00409dae
push eax
mov dword [esp], 0x44c200
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push edx
inc eax
setne al
movzx eax, al
mov ebx, dword [ebp - 4]
leave
ret 4

Function at 0x40a3de
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
lea ebx, [ebp - 0x244]
sub esp, 0x254
mov dword [esp + 4], 0x104
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push edx
push edx
lea edx, [eax - 1]
cmp edx, 0x103
ja 0x40a41c
xor edx, edx
cmp word [ebp + eax*2 - 0x246], 0x5c
sete dl
jmp 0x40a423
xor eax, eax
mov edx, 1
mov ecx, dword [ebp + 8]
add edx, edx
add eax, eax
mov dword [esp + 4], str._s_S.dll
add edx, 0x410460
add eax, ebx
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 0xc], ecx
call dword [sym.imp.USER32.dll_wsprintfW]
xor eax, eax
mov dword [esp], ebx
mov dword [esp + 8], 8
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, dword [ebp - 4]
sub esp, 0xc
leave
ret 4
Function at 0x40ae48
Capabilities:
Hash data with crc32

Disassembly:
push ebp
cmp dword [0x450264], 0
mov ebp, esp
push esi
push ebx
mov edx, dword [ebp + 0xc]
jne 0x40ae85
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
shr esi, 1
and eax, 1
je 0x40ae70
mov eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x40ae62
mov dword [ecx*4 + 0x450260], eax
inc ecx
cmp ecx, 0x100
jne 0x40ae5b
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
cmp edx, ebx
je 0x40aea7
mov cl, byte [edx]
inc edx
xor cl, al
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x450260]
jmp 0x40ae8f
pop ebx
not eax
pop esi
pop ebp
ret 0xc
Function at 0x40246b
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [esp + 0x14]
lea eax, [esp + 0x18]
mov edi, ecx
push eax
call fcn.0040273f
xor ebp, ebp
pop ecx
pop ecx
mov ebx, dword [eax]
mov dword [eax], ebp
cmp dword [esp + 0x14], ebp
je 0x40249a
push 4
push dword [esp + 0x18]
call fcn.0040b2cf
pop ecx
pop ecx
lea esi, [edi + 4]
push esi
push ebp
push ebx
push 0x4020b4
push ebp
push ebp
call fcn.00412cfb
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x4024bc
pop edi
pop esi
pop ebp
pop ebx
ret 4
push 6
mov dword [esi], ebp
call fcn.00407df1
int3

Function at 0x4098b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x4098d1
jl 0x4098c8
test edi, edi
jne 0x4098d1
xor eax, eax
xor edx, edx
jmp 0x409992
cmp dword [ebx + 0x38], 0
je 0x4098e6
push eax
push edi
push dword [ebp + 8]
call fcn.00409998
jmp 0x409992
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x40992d
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x40992d
cmp eax, edi
jb 0x409907
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.0040c230
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x409933
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x409987
mov ecx, ebx
call fcn.0040914a
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x409972
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.00414363
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x409987
jmp 0x409945
test edx, edx
je 0x409987
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.00414363
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x40bd7f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40bdbe
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40bdbe
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40bdbe
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40bdbe
cmp dword [ecx + 0x74], 0xe
jbe 0x40bdbe
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41b823
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42e734
push 0x42e72c
push str.FlsAlloc
push 0x1e
call fcn.0041b650
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41b857
push dword [ebp + 8]
mov ecx, esi
call dword [0x42a17c]
call esi
jmp 0x41b85d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x41b8a1
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42e744
push 0x42e73c
push str.FlsGetValue
push 0x20
call fcn.0041b650
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41b8d8
push dword [ebp + 8]
mov ecx, esi
call dword [0x42a17c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x41df9b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041dc3d

Function at 0x41dfa6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041ddcc

Function at 0x41e3a0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040c1e0
mov eax, dword [0x504200]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041b05c
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41e3e2
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41e53e
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00427b30
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x506978]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041f13f
mov ecx, dword [esi*4 + 0x506978]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41e537
cmp eax, dword [edi + ecx + 0x24]
jne 0x41e537
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41e537
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041f13f
add esp, 0x14
test edx, edx
jl 0x41e537
jg 0x41e4ad
test eax, eax
jb 0x41e537
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41e537
jl 0x41e4c7
cmp dword [ebp - 0x1008], eax
ja 0x41e537
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41e4e5
test ebx, ebx
je 0x41e51e
cmp ecx, edi
jae 0x41e51e
mov al, byte [ecx]
cmp al, 0xd
jne 0x41e4ff
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41e50b
cmp byte [ecx + 1], 0xa
jne 0x41e50b
inc ecx
jmp 0x41e50b
movzx eax, al
movsx eax, byte [eax + 0x5044d8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41e4e5
cmp edx, ebx
jne 0x41e4e5
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41e53c
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040b5e8
leave
ret