joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403bc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], edx
push esi
push str.ReadWholeFile2Buf___s_
mov dword [ebp - 0x14], eax
mov ebx, 1
call fcn.00403880
add esp, 8
push 0
push 0
push 3
push 0
push 3
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x403c36
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.Could_not_open_the_file__s___error:_u
call fcn.00403880
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004059f4
mov esp, ebp
pop ebp
ret
push 2
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, eax
push esi
call fcn.00405cce
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x403c65
push esi
push str.Failed_to_alloc_memory_size:_u
call fcn.00403880
add esp, 8
jmp 0x403cbd
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x403ca0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 8]
push str.ReadFile_failed__dwSize:_u__error:_u
call fcn.00403880
add esp, 0xc
jmp 0x403cbd
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
push esi
push str.Success_read_file_size:_u
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
call fcn.00403880
add esp, 8
xor ebx, ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004059f4
mov esp, ebp
pop ebp
ret

Function at 0x403d60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push dword [ebp + 8]
mov esi, ecx
mov ebx, edx
push esi
push str.SaveBuffer2File___s__len:_u
call fcn.00403880
add esp, 0xc
push 0
push 0
push 1
push 0
push 3
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x403dcd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Could_not_create_new_file__error:_u
call fcn.00403880
add esp, 8
mov eax, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004059f4
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.004059f4
mov esp, ebp
pop ebp
ret
Function at 0x403e00
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x108]
push 0x104
push 0x104
push eax
call fcn.004079f0
add esp, 0x14
lea eax, [ebp - 0x108]
push 0
push 0
push 3
push 0
push 1
push 8
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x403e6f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp dword [ebp + 8], 0
je 0x403e7f
test al, 0x10
jne 0x403e83
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004059f4
mov esp, ebp
pop ebp
ret
test al, 0x10
jne 0x403e6f
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.004059f4
mov esp, ebp
pop ebp
ret
Function at 0x403ea0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
movsx ebx, cl
push ebx
push str.GetPhyDiskUUID__C
mov dword [ebp - 0x2b8], edx
mov dword [ebp - 0x2bc], eax
call fcn.00403880
push ebx
push str.._C:
lea eax, [ebp - 0x8c]
push 0x80
push eax
call fcn.00405c7a
add esp, 0x18
lea eax, [ebp - 0x8c]
push 0
push 0
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x403f30
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x8c]
push eax
push str.Could_not_open_the_disk__s___error:_u
call fcn.00403880
add esp, 0xc
jmp 0x404055
push 0
lea eax, [ebp - 0x290]
push eax
push 0x20
lea eax, [ebp - 0x2b4]
push eax
push 0
push 0
push 0x560000
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x40403a
cmp dword [ebp - 0x2b4], 0
je 0x40403a
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
mov eax, dword [ebp - 0x2ac]
mov ecx, dword [ebp - 0x2bc]
push eax
push ebx
push str._C:_is_in_PhysicalDrive_d
mov dword [ecx], eax
call fcn.00403880
add esp, 0xc
lea eax, [ebp - 0x8c]
push dword [ebp - 0x2ac]
push str..PhysicalDrive_d
push 0x80
push eax
call fcn.00405c7a
add esp, 0x10
lea eax, [ebp - 0x8c]
push 0
push 0
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x403f10
push 0
lea eax, [ebp - 0x290]
push eax
push 0x200
lea eax, [ebp - 0x28c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x404012
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x290]
push str.ReadFile_failed__dwSize:_u__error:_u
call fcn.00403880
add esp, 0xc
push esi
call edi
jmp 0x404055
mov eax, dword [ebp - 0x2b8]
movdqu xmm0, xmmword [ebp - 0x10c]
push esi
movdqu xmmword [eax], xmm0
call edi
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004059f4
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.DeviceIoControl_IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS_failed__error:_u
call fcn.00403880
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004059f4
mov esp, ebp
pop ebp
ret
Function at 0x404410
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 0
mov edi, ecx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 8]
push eax
push 0x200
lea eax, [ebp - 0x208]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call ebx
push eax
push dword [ebp - 8]
push esi
push str.Read_MBR_Ret:_u_Size:_u_code:_u
call fcn.00403880
add esp, 0x10
cmp byte [ebp - 0x46], 0xee
jne 0x404503
push str.GPT_partition_style
call fcn.00403880
add esp, 4
push 0x4400
call fcn.00405cce
mov esi, eax
add esp, 4
test esi, esi
je 0x4044ee
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 8]
push eax
push 0x4400
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
test edi, edi
je 0x4044da
cmp dword [ebp - 8], 0x4400
jne 0x4044da
mov edi, dword [esi + 0x4a0]
mov ebx, dword [esi + 0x4a4]
push esi
call fcn.00405c96
add esp, 4
jmp 0x404515
call ebx
push eax
push dword [ebp - 8]
push edi
push str.Failed_to_read_gpt_info__d__u__d
call fcn.00403880
add esp, 0x10
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004059f4
mov esp, ebp
pop ebp
ret
push str.MBR_partition_style
call fcn.00403880
mov edi, dword [ebp - 0x32]
add esp, 4
xor ebx, ebx
push ebx
push edi
push str.GetVentoyEfiPart_StartSector:__llu
call fcn.00403880
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, edi
mov edx, ebx
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004059f4
mov esp, ebp
pop ebp
ret
Function at 0x404980
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ecx
push str.DeleteVentoyPart2MountPoint_Phy_u_...
mov dword [ebp - 0xbc], ecx
mov byte [ebp - 0xb5], 0x41
mov dword [ebp - 0x8c], 0x5c3a3f
call fcn.00403880
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, eax
test ebx, ebx
je 0x404b1f
mov al, byte [ebp - 0xb5]
test bl, 1
je 0x404b0f
movsx edi, al
push edi
push str._C:_ventoy_ventoy.cpio
push 0
call fcn.00403e00
add esp, 0xc
test eax, eax
je 0x404b09
push edi
push str.File__C:_ventoy_ventoy.cpio_exist
call fcn.00403880
push edi
push str.._C:
lea eax, [ebp - 0x88]
push 0x80
push eax
call fcn.00405c7a
add esp, 0x18
lea eax, [ebp - 0x88]
push 0
push 0
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x404a5d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x88]
push eax
push str.Could_not_open_the_disk__s___error:_u
call fcn.00403880
add esp, 0xc
jmp 0x404aef
push 0
lea eax, [ebp - 0xb4]
push eax
push 0x20
lea eax, [ebp - 0xb0]
push eax
push 0
push 0
push 0x560000
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x404acd
cmp dword [ebp - 0xb0], 0
je 0x404acd
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x94]
lea eax, [ebp - 0x88]
push dword [ebp - 0x98]
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
push dword [ebp - 0xa8]
push eax
push str.LogicalDrive:_s_PhyDrive:_d_Offset:_llu_ExtentLength:_llu
call fcn.00403880
mov esi, dword [ebp - 0xa8]
add esp, 0x1c
jmp 0x404af2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x88]
push eax
push str.DeviceIoControl_IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS_failed__s__error:_u
call fcn.00403880
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or esi, 0xffffffff
push edi
push esi
push str.PhyDisk_u_for__C
call fcn.00403880
add esp, 0xc
cmp esi, dword [ebp - 0xbc]
je 0x404b35
mov al, byte [ebp - 0xb5]
inc al
shr ebx, 1
mov byte [ebp - 0xb5], al
jne 0x4049d1
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004059f4
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 0xb5]
mov byte [ebp - 0x8c], al
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointA]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004059f4
mov esp, ebp
pop ebp
ret
Function at 0x404f90
Capabilities:
Copy file
Get common file path
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push str.Copy_unattended_XML_...
mov esi, ecx
call fcn.00403880
add esp, 4
lea eax, [ebp - 0x110]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov bl, byte [ebp - 0x110]
cmp bl, 0x41
jl 0x404fd6
cmp bl, 0x5a
jle 0x404fdd
lea eax, [ebx - 0x61]
cmp al, 0x19
ja 0x404ff0
movsx eax, bl
push eax
push str.Current_Drive_Letter:__C
call fcn.00403880
add esp, 8
jmp 0x404ff2
mov bl, 0x58
movsx eax, bl
push eax
push str._C:Autounattend.xml
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.00405c7a
lea eax, [ebp - 0x110]
push eax
push esi
push str.Copy_file___s________s_
call fcn.00403880
add esp, 0x1c
lea eax, [ebp - 0x110]
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x118]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SystemSetup
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x405099
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405070
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x110]
push eax
push 1
push 0
push str.UnattendFile
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.004059f4
mov esp, ebp
pop ebp
ret
Function at 0x4057b0
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x270
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x26c], eax
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
mov eax, dword [edi]
test eax, eax
je 0x405874
cmp byte [eax], 0
je 0x405874
cmp byte [eax + 1], 0x3a
jne 0x405874
lea eax, [esp + 0x168]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push dword [edi]
lea eax, [esp + 0x64]
push 0x104
push eax
call fcn.00405a88
add esp, 0xc
lea ecx, [esp + 0x60]
call fcn.004053a0
push 0x418b10
mov esi, eax
lea eax, [esp + 0x16c]
push 0x104
push eax
call fcn.004062a7
add esp, 0xc
lea eax, [esp + 0x168]
push esi
push 0x104
push eax
call fcn.004062a7
add esp, 0xc
lea eax, [esp + 0x168]
push eax
push dword [edi]
call fcn.00405b9e
add esp, 8
test eax, eax
je 0x405874
lea eax, [esp + 0x60]
mov byte [esi], 0
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push str._VentoyJump_
call fcn.00403880
add esp, 4
push dword [edi]
push dword [ebp + 8]
push str.argc___d_argv_0_____s_
call fcn.00403880
add esp, 0xc
test esi, esi
je 0x4058c2
cmp byte [esi], 0
jne 0x4058c2
lea eax, [esp + 0x168]
push eax
push str.Old_current_directory____s_
call fcn.00403880
lea eax, [esp + 0x68]
push eax
push str.New_current_directory____s_
call fcn.00403880
add esp, 0x10
jmp 0x4058ea
lea eax, [esp + 0x168]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp + 0x168]
push eax
push str.Current_directory____s_
call fcn.00403880
add esp, 8
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
push 0x104
lea eax, [esp + 0x64]
push 0
push eax
call fcn.0040aca0
add esp, 0xc
lea eax, [esp + 0x60]
mov edx, edi
push eax
call fcn.004053f0
add esp, 4
mov esi, eax
cmp byte [0x41d088], 3
jne 0x40594e
push str.Open_log_for_debug_...
call fcn.00403880
add esp, 4
lea eax, [esp + 0x60]
push str.notepad.exe_ventoy.log
push 0x417ef4
push 0x104
push eax
call fcn.00405c7a
add esp, 0x10
jmp 0x405977
or dword [esp + 0x44], 1
xor eax, eax
mov word [esp + 0x48], ax
mov ecx, str.failed
test esi, esi
mov eax, str.success
cmovne eax, ecx
push eax
push str.Ventoy_jump__s_...
call fcn.00403880
add esp, 8
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x80]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test esi, esi
je 0x4059d2
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4059b0
push str.Ventoy_hook_failed__now_wait_and_retry_...
call fcn.00403880
add esp, 4
push 0x3e8
call esi
mov ecx, 0x41d0b0
call fcn.004050b0
test eax, eax
jne 0x4059b0
push 0xffffffffffffffff
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x274]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.004059f4
mov esp, ebp
pop ebp
ret
Function at 0x409ac7
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x409b02
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x409ae9
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x409afa
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x409b04
inc edi
add eax, 0x28
cmp edi, esi
jb 0x409adf
xor eax, eax
pop edi
pop esi
ret

Function at 0x40b9e8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ebp + eax - 0x230]
push eax
call fcn.004099f8
add esp, 0xc
jmp 0x40b9ff

Function at 0x40bc2c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esp
call fcn.00409a87
or dword [ecx - 0x5e9b17ef], ecx
xor byte [eax], al
add byte [eax], al
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x1c]
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x40bc4b
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.00409a87
cmp eax, 0x8b831e04
clc
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.00409a87
test esp, eax
fidivr dword [ecx + 0x49]
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x40bc74
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x40bc74
call fcn.00409a87
lahf
or byte [ebx], 0x90
mov ebx, dword [edx + 0x24]
add ebx, edi
mov cx, word [ebx + ecx*2]
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.00409a87
int3
Function at 0x403b3c
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x403b6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x403b6b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x403b76
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x403b74
mov dword [eax], esi
mov al, 1
pop esi
pop ebp
ret

Function at 0x404870
Capabilities:
Create process on windows

Disassembly:
push 0x60
mov eax, 0x4662ac
call fcn.0043dbc4
push 0x10
xor ebx, ebx
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.00440cf0
push 0x44
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.00440cf0
mov edi, dword [ebp + 0x14]
add esp, 0x18
test edi, edi
je 0x4048a2
mov dword [edi], ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.004147f4
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.004147f4
mov esi, dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
test esi, esi
mov byte [ebp - 4], 1
mov eax, 0x46b5a3
cmovne eax, esi
push eax
call fcn.004147f4
xor eax, eax
mov dword [ebp - 0x6c], 0x44
lea ecx, [ebp - 0x28]
test esi, esi
push ecx
cmovne eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x6c]
push ecx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40491f
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x404913
mov eax, dword [ebp - 0x28]
mov dword [edi], eax
jmp 0x404918
push dword [ebp - 0x28]
call esi
push dword [ebp - 0x24]
call esi
mov bl, 1
lea ecx, [ebp - 0x10]
call fcn.00414857
lea ecx, [ebp - 0x14]
call fcn.00414857
lea ecx, [ebp - 0x18]
call fcn.00414857
invalid
Function at 0x43d26f
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.0044ae3e
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x43d2ae
sub eax, 1
je 0x43d2a9
sub eax, 1
je 0x43d2a5
xor eax, eax
leave
ret
push 3
jmp 0x43d2b0
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x43ebfb
Capabilities:
Parse pe header

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

Function at 0x456663
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4cede8
push 0x4cede0
push str.FlsAlloc
push 0x1f
call fcn.004564ce
mov esi, eax
add esp, 0x10
test esi, esi
je 0x456697
push dword [ebp + 8]
mov ecx, esi
call dword [0x46b2fc]
call esi
jmp 0x45669d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4566e1
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4cedf8
push 0x4cedf0
push str.FlsGetValue
push 0x21
call fcn.004564ce
mov esi, eax
add esp, 0x10
test esi, esi
je 0x456718
push dword [ebp + 8]
mov ecx, esi
call dword [0x46b2fc]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x456720
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4cee00
push 0x4cedf8
push str.FlsSetValue
push 0x22
call fcn.004564ce
mov esi, eax
add esp, 0x10
test esi, esi
je 0x45675a
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x46b2fc]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x100066c0
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ecx, ecx
mov dword [ebp - 4], ecx
nop
xor eax, eax
test cl, 1
je 0x100066db
bts eax, 7
shr ecx, 1
test cl, 1
je 0x100066e6
bts eax, 6
shr ecx, 1
test cl, 1
je 0x100066f1
bts eax, 5
shr ecx, 1
test cl, 1
je 0x100066fc
bts eax, 4
shr ecx, 1
test cl, 1
je 0x10006707
bts eax, 3
shr ecx, 1
test cl, 1
je 0x10006712
bts eax, 2
shr ecx, 1
test cl, 1
je 0x1000671d
bts eax, 1
test cl, 2
je 0x10006726
bts eax, 0
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov ebx, ecx
sar ebx, 0x1f
and ebx, 0x4c11db7
lea eax, [ecx + ecx]
xor ebx, eax
mov eax, dword [ebp - 4]
xor edx, edx
lea esi, [edi + eax*4]
lea ecx, [edx + 1]
test bl, 1
je 0x100067c2
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x100067b3
mov ecx, dword [ebp - 4]
inc ecx
mov dword [esi], edx
mov dword [ebp - 4], ecx
cmp ecx, 0xff
jle 0x100066d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100067f0
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10138018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x1012938c
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ecx
push eax
mov dword [edi], 0xffffffff
mov dword [ebp - 8], 0
call fcn.100dc4ad
add esp, 0xc
test eax, eax
je 0x10006840
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008500c
mov esp, ebp
pop ebp
ret 0xc
push ebx
push 0x400
call fcn.100dc823
add esp, 4
mov ebx, eax
mov dword [ebp - 0x10], ebx
push dword [ebp - 8]
test ebx, ebx
jne 0x10006876
call fcn.100dc3af
add esp, 4
xor al, al
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008500c
mov esp, ebp
pop ebp
ret 0xc
push 0x400
push 1
push ebx
call fcn.100dc6e8
add esp, 0x10
test eax, eax
je 0x100068cb
push esi
nop dword [eax + eax]
mov esi, ebx
mov ebx, dword [edi]
lea esi, [esi + 1]
movzx ecx, byte [esi - 1]
movzx edx, bl
xor edx, ecx
shr ebx, 8
mov ecx, dword [ebp - 0xc]
xor ebx, dword [ecx + edx*4]
mov dword [edi], ebx
sub eax, 1
jne 0x10006892
push dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
push 0x400
push 1
push ebx
call fcn.100dc6e8
add esp, 0x10
test eax, eax
jne 0x10006890
pop esi
push ebx
call fcn.100dc4f4
push dword [ebp - 8]
call fcn.100dc3af
mov ecx, dword [ebp - 4]
add esp, 8
not dword [edi]
xor ecx, ebp
mov al, 1
pop ebx
pop edi
call fcn.1008500c
mov esp, ebp
pop ebp
ret 0xc