joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100016f0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x898
push ebx
push esi
push edi
mov ecx, 5
mov esi, str.no_monitor
lea edi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x10007284]
mov eax, dword [str.Enable]
mov edx, dword [0x10007288]
mov dword [esp + 0x18], ecx
mov ecx, dword [str.Disable]
mov ebx, dword [esp + 0x8ac]
mov dword [esp + 0x24], ecx
mov ecx, dword [0x1000727c]
movsw word es:[edi], word [esi]
mov dword [esp + 0x14], eax
mov ax, word [0x1000728c]
mov dword [esp + 0x30], ecx
mov ecx, 0x16
mov esi, 0x10007178
lea edi, [esp + 0x4c]
mov dword [esp + 0x1c], edx
mov edx, dword [0x10007274]
mov word [esp + 0x20], ax
mov eax, dword [0x10007278]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x8a8]
mov dword [esp + 0x28], edx
test ebx, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
jne 0x1000179c
lea edx, [esp + 0x34]
lea ebx, [esp + 0x34]
test edx, edx
je 0x10001884
mov edi, dword [esp + 0x8b0]
test edi, edi
je 0x10001884
test esi, esi
je 0x10001884
mov eax, dword [str.hppamon0.dll]
push eax
push ebx
call fcn.10002331
add esp, 8
test eax, eax
je 0x100017f1
mov ecx, dword [str.hpzmin12.dll]
push ecx
push ebx
call fcn.10002331
add esp, 8
test eax, eax
jne 0x100017f1
lea edx, [esp + 0x24]
lea eax, [esp + 0xa4]
push edx
push ebx
push edi
push esi
push str._s__s__s__s_
push eax
jmp 0x10001806
lea ecx, [esp + 0x14]
lea edx, [esp + 0xa4]
push ecx
push ebx
push edi
push esi
push str._s__s__s__s_
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
mov edi, eax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x4c]
push eax
push 0xf003f
push 0
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10001884
mov ecx, dword [esp + 0xc]
lea edx, [edi + edi + 2]
lea eax, [esp + 0xa4]
push edx
push eax
push 1
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10001879
push 0
lea edx, [esp + 0x14]
push 0
push edx
push 0x400
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push ebx
call fcn.100015a0
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x898
ret
Function at 0x10001ec0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
xor esi, esi
push eax
push 1
push esi
push str.SOFTWAREHewlett_PackardSan_Diego_Shared_IO
push 0x80000002
mov dword [esp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10001f36
mov eax, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
lea edx, [esp + 8]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x14]
push edx
push eax
push esi
push str.DirectConnectBidiSupported
push ecx
mov dword [esp + 0x20], 0x63
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10001f2b
cmp dword [esp + 8], 1
jne 0x10001f2b
mov esi, 1
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x10001f80
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x10
push esi
lea eax, [esp + 4]
push edi
xor esi, esi
push eax
push 0x20007
push esi
mov edi, 4
push str.SOFTWAREHewlett_PackardSan_Diego_Shared_IO
push 0x80000002
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], 0x63
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000206b
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push esi
push edx
push eax
mov eax, dword [esp + 0x18]
push str.OSVersionAtInstall
push eax
mov dword [esi], 0x63
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10002008
cmp dword [esi], 0
je 0x10002008
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
add esp, 0x10
ret
mov dword [esp + 0xc], edi
call fcn.10001f60
mov ecx, dword [esp + 8]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edi
push edx
push eax
push 0
push str.OSVersionAtInstall
push ecx
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x10002058
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov dword [esi], edx
push eax
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
add esp, 0x10
ret
mov eax, dword [esp + 8]
mov dword [esi], 0
push eax
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
add esp, 0x10
ret
Function at 0x1000318a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x10007620
cmp edx, dword [eax]
je 0x100031ac
add eax, 8
inc ecx
cmp eax, 0x100076b0
jl 0x1000319d
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x10007620]
jne 0x100032da
mov eax, dword [0x10007e44]
cmp eax, 1
je 0x100032b4
test eax, eax
jne 0x100031dd
cmp dword [0x10007e48], 1
je 0x100032b4
cmp edx, 0xfc
je 0x100032da
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10003214
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.100039a0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.100038a0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x10003257
lea eax, [ebp - 0x1a4]
push eax
call fcn.100038a0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x100063d4
push edi
call fcn.10003760
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.100039a0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.100039b0
lea eax, [ebp - 0xa0]
push 0x100063b4
push eax
call fcn.100039b0
push dword [esi + 0x10007624]
lea eax, [ebp - 0xa0]
push eax
call fcn.100039b0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.10004a65
add esp, 0x2c
pop edi
jmp 0x100032da
lea eax, [ebp + 8]
lea esi, [esi + 0x10007624]
push 0
push eax
push dword [esi]
call fcn.100038a0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401460
Capabilities:
Create process on windows

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
sub esp, 0x34
call fcn.00401a30
mov dword [ebp - 0xc], str.update.bat
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov eax, dword [ebp - 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], str.open
mov dword [esp], 0
call sub.SHELL32.DLL_ShellExecuteA
sub esp, 0x18
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0x20
jle 0x4014d3
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov dword [esp], str.Successfully_launched__s_n
call sub.msvcrt.dll_printf
jmp 0x4014e6
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov dword [esp], str.Error_launching__s_n
call sub.msvcrt.dll_printf
mov eax, 0
mov ecx, dword [ebp - 4]
leave
lea esp, [ecx - 4]
ret
Function at 0x401b40
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x407044
call sub.KERNEL32.dll_EnterCriticalSection
mov ebx, dword [0x40703c]
sub esp, 4
test ebx, ebx
je 0x401b8b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sub.KERNEL32.dll_TlsGetValue
sub esp, 4
mov esi, eax
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x401b84
test esi, esi
je 0x401b84
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401b60
mov dword [esp], 0x407044
call sub.KERNEL32.dll_LeaveCriticalSection
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401d70
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x401dc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.KERNEL32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
je 0x401e98
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x401dfe
cmp eax, 4
jne 0x401e20
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x401e0e
cmp edx, 4
je 0x401e0e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401d70
Function at 0x405c49
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ebx
and eax, 4
push edi
mov dword [ebp - 4], eax
call fcn.00405f14
test bl, 8
mov dword [ebp - 8], eax
je 0x405c88
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x47af88], eax
jmp 0x405e05
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
je 0x405ca2
test eax, eax
je 0x405db3
test bl, 2
je 0x405db3
mov esi, 0x460270
push edi
push esi
call fcn.0040653d
cmp dword [ebp + 8], 0
je 0x405cc1
push 0x40a56c
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x405cc7
push edi
call fcn.00405e58
cmp word [edi], 0
jne 0x405cd7
cmp word [0x460270], 0x5c
jne 0x405ce2
push 0x40a014
push edi
call sub.KERNEL32.dll_lstrcatW
push edi
call sub.KERNEL32.dll_lstrlenW
lea ebx, [edi + eax*2]
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405da8
cmp word [ebp - 0x22c], 0x2e
jne 0x405d2c
cmp word [ebp - 0x22a], 0
je 0x405d8b
cmp word [ebp - 0x22a], 0x2e
jne 0x405d2c
cmp word [ebp - 0x228], 0
je 0x405d8b
lea eax, [ebp - 0x22c]
push eax
push ebx
call fcn.0040653d
test byte [ebp - 0x258], 0x10
je 0x405d57
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405d8b
push dword [ebp + 0xc]
push edi
call fcn.00405c49
jmp 0x405d8b
push dword [ebp - 4]
push edi
call fcn.00405c01
test eax, eax
jne 0x405d83
cmp dword [ebp - 4], eax
je 0x405d7b
push edi
push 0xfffffffffffffff1
call fcn.0040559f
push 0
push edi
call fcn.004062fd
jmp 0x405d8b
inc dword [0x47af88]
jmp 0x405d8b
push edi
push 0xfffffffffffffff2
call fcn.0040559f
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x405d04
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x405db3
and word [ebx - 2], 0
xor esi, esi
cmp dword [ebp + 8], esi
je 0x405e05
cmp dword [ebp - 8], esi
jne 0x405dc7
inc dword [0x47af88]
jmp 0x405e05
push edi
call fcn.00406873
test eax, eax
je 0x405e05
push edi
call fcn.00405e0c
mov eax, dword [ebp - 4]
or al, 1
push eax
push edi
call fcn.00405c01
test eax, eax
jne 0x405dfd
cmp dword [ebp - 4], esi
je 0x405dbf
push edi
push 0xfffffffffffffff1
call fcn.0040559f
push esi
push edi
call fcn.004062fd
jmp 0x405e05
push edi
push 0xffffffffffffffe5
call fcn.0040559f
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x40689a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068be
xor eax, eax
test eax, eax
je 0x4068d1
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4068d1
xor ecx, ecx
jmp 0x4068d4
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x4069f7
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x46990c], 0
push esi
jne 0x406a2e
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a08
mov dword [ecx*4 + 0x469908], eax
inc ecx
cmp ecx, 0x100
jl 0x406a03
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406a5f
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x469908]
xor eax, esi
inc ecx
dec edx
jne 0x406a41
pop edi
not eax
pop esi
ret 0xc

Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x14d330bc
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x28f3445f
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x1000125c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0
call sub.KERNEL32.DLL_GetEnvironmentStringsA
mov ebx, eax
mov dword [ebp - 0x10], ebx
jmp 0x10001299
cmp byte [ebx], 0x3d
je 0x10001285
inc dword [ebp - 0xc]
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
lea ebx, [ebx + edi]
cmp byte [ebx], 0
jne 0x10001278
mov edi, dword [ebp - 0xc]
inc edi
lea edi, [edi*4]
mov dword [ebp - 0x14], edi
push dword [ebp - 0x14]
call sub.CRTDLL.DLL_malloc
pop ecx
mov dword [ebp - 8], eax
mov dword [0x10003010], eax
cmp dword [ebp - 8], 0
jne 0x100012cc
xor eax, eax
jmp 0x10001342
mov ebx, dword [ebp - 0x10]
jmp 0x10001325
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
mov dword [ebp - 4], edi
cmp byte [ebx], 0x3d
je 0x1000131f
push dword [ebp - 4]
call sub.CRTDLL.DLL_malloc
pop ecx
mov esi, dword [ebp - 8]
mov dword [esi], eax
or eax, eax
jne 0x10001308
jmp 0x10001342
push ebx
mov edi, dword [ebp - 8]
push dword [edi]
call sub.CRTDLL.DLL_strcpy
add esp, 8
add dword [ebp - 8], 4
mov edx, dword [ebp - 4]
lea ebx, [ebx + edx]
cmp byte [ebx], 0
jne 0x100012d1
mov edx, dword [ebp - 8]
mov dword [edx], 0
mov eax, 1
pop edi
pop esi
pop ebx
leave
ret

Function at 0xdbc488
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdbc492
pushal
call 0xdbc498
pop ebp
sub ebp, 0x10
sub ebp, 0x9bc488
jmp 0xdbc4ae
mov eax, 0x9bc488
add eax, ebp
add eax, 0x4c
mov ecx, 0x5cf
mov edx, 0xfacfef67
xor byte [eax], dl
inc eax
dec ecx
jne 0xdbc4c5
jmp 0xdbc4d8
in al, dx
stosb byte es:[edi], al
in al, dx
out dx, al
pop ebx
out 0xa6, al
lahf
stosb byte es:[di], al
fbld tbyte [eax + 0x67]
fisttp qword [bx + 0x67]
nop
test dword [edi + ebp*4 - 0x14], esp
out 0x6b, al
mov byte fs:[0x3737], al
invalid
Function at 0x40bde0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571ab0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5c1068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
mov edi, dword [ebp + 8]
test eax, eax
je 0x40bf20
cmp byte [eax + 0x54], 0
je 0x40bf20
add eax, 0x1c
lea ecx, [ebp - 0x1c]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x1c], xmm0
call fcn.0040ac80
mov dword [ebp - 4], 0
mov ecx, dword [esi + 4]
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
call fcn.00402ca0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40bef4
push 0
mov edx, edi
lea ecx, [ebp - 0x34]
call fcn.00460590
add esp, 4
mov byte [ebp - 4], 1
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x38]
push 0
push ecx
push dword [ebp - 0x24]
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x40bee2
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bed8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bf3d
push edx
push ecx
call fcn.00534a0b
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x40bf19
cmp byte [ebp - 0x18], 0
je 0x40bf19
mov eax, dword [esi]
test eax, eax
je 0x40bf15
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esi + 4], 0
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005349ca
mov esp, ebp
pop ebp
ret 4
call fcn.005502fb
int3
Function at 0x40cf00
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571d11
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5c1068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x138
call fcn.005349db
mov edi, eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
push 0x18
mov dword [ebp - 0x14], edi
mov byte [edi], 0
call fcn.005349db
add esp, 8
mov dword [edi + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 1
lea esi, [edi + 8]
push 0
mov dword [ebp - 0x18], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004158e0
mov dword [esi], eax
mov byte [ebp - 4], 4
lea esi, [edi + 0x10]
push 0
mov dword [ebp - 0x18], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004158e0
mov dword [esi], eax
mov byte [ebp - 4], 7
lea ecx, [edi + 0x20]
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
call fcn.00402380
mov byte [ebp - 4], 8
lea ecx, [edi + 0x38]
call fcn.00405ce0
mov byte [ebp - 4], 9
lea esi, [edi + 0xb8]
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.00402380
mov byte [ebp - 4], 0xa
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0x30], 0
mov byte [ebp - 4], 0xb
lea ecx, [edi + 0xf0]
call fcn.00402380
mov byte [ebp - 4], 0xc
mov dword [edi + 0x118], 0
mov dword [edi + 0x11c], 0xf
mov byte [edi + 0x108], 0
mov byte [ebp - 4], 0xd
mov dword [edi + 0x130], 0
mov dword [edi + 0x134], 0xf
mov byte [edi + 0x120], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebx], edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ae00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573f98
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5c1068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
mov dword [esi + 0x10], eax
call fcn.00554ffe
mov ecx, dword [esi]
add esp, 4
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
test ecx, ecx
je 0x41aeda
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x1c], edx
call fcn.00415480
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.00402c90
test al, al
jne 0x41aecb
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x38]
call fcn.00402ca0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x41aecb
test esi, esi
je 0x41aecb
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 8
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.004022b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005349ca
mov esp, ebp
pop ebp
ret 4
Function at 0x420b30
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574be3
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5c1068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0
push 0
mov dword [ebp - 0x14], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.004158e0
mov dword [edi], eax
mov dword [ebp - 4], 2
lea esi, [edi + 8]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00424b70
mov dword [esi], eax
mov byte [ebp - 4], 5
lea esi, [edi + 0x10]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00424ad0
mov dword [esi], eax
mov byte [ebp - 4], 8
lea esi, [edi + 0x18]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00424b70
mov dword [esi], eax
mov byte [ebp - 4], 0xb
lea esi, [edi + 0x20]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00424a30
mov dword [esi], eax
mov byte [ebp - 4], 0xe
lea esi, [edi + 0x28]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00424990
mov dword [esi], eax
mov byte [ebp - 4], 0x11
lea esi, [edi + 0x30]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00424990
mov dword [esi], eax
mov byte [ebp - 4], 0x14
lea esi, [edi + 0x38]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
push 0
push 0
call fcn.00424990
mov dword [esi], eax
mov byte [ebp - 4], 0x17
lea esi, [edi + 0x40]
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.00402380
mov byte [ebp - 4], 0x18
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0x30], 0
mov byte [ebp - 4], 0x19
lea ecx, [edi + 0x78]
call fcn.00402380
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret