joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403f00
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436adb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x440480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], 0x43c4b4
call fcn.00420095
push 4
mov dword [ebp - 4], 0
call fcn.00420b47
mov edi, eax
add esp, 4
test edi, edi
je 0x403f7c
call fcn.0041ff6d
mov dword [edi], eax
call fcn.0041fd2c
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00420056
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x403f72
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0042007e
jmp 0x403f7e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4047e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x440480]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
lea ecx, [ebp - 0x414]
push ecx
mov dword [ebp - 0x408], eax
mov ebx, edx
mov dword [ebp - 0x414], edi
call dword [0x438274]
test eax, eax
jne 0x40482e
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004204c6
mov esp, ebp
pop ebp
ret
push ebx
mov dword [ebp - 0x40c], edi
call fcn.00422143
add esp, 4
cmp byte [0x443b40], 0
jne 0x404852
call fcn.00401040
mov byte [0x443b40], 1
mov edx, dword [0x443b78]
mov eax, dword [edx + 0x8c]
push edi
push edi
push edi
push edi
push eax
call dword [0x438288]
mov edi, eax
mov dword [ebp - 0x418], edi
test edi, edi
je 0x40496b
push 1
push 0
push 3
push 0
push 0
push 0x50
push esi
push edi
call dword [0x438278]
mov esi, eax
mov dword [ebp - 0x410], esi
test esi, esi
je 0x404964
mov eax, dword [ebp - 0x408]
push 1
push 0x400000
push 0
push 0
push 0
push eax
push 0x43c5b4
push esi
call dword [0x438280]
mov edi, eax
test edi, edi
je 0x404957
push 0
push 0
push 0
push 0
push edi
call dword [0x438284]
test eax, eax
je 0x404950
push 0x43c44c
push ebx
mov dword [ebp - 0x40c], 1
call fcn.004217a9
mov esi, eax
add esp, 8
test esi, esi
je 0x40494a
mov ebx, dword [0x43827c]
mov edi, edi
lea ecx, [ebp - 0x408]
push ecx
push 0x3ff
lea edx, [ebp - 0x404]
push edx
push edi
call ebx
test eax, eax
je 0x404941
mov eax, dword [ebp - 0x408]
test eax, eax
je 0x404941
push esi
push eax
mov byte [ebp + eax - 0x404], 0
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.00421ce9
add esp, 0x10
jmp 0x404900
push esi
call fcn.004220cf
add esp, 4
mov esi, dword [ebp - 0x410]
push edi
call dword [0x43828c]
push esi
call dword [0x43828c]
mov edi, dword [ebp - 0x418]
push edi
call dword [0x43828c]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x40c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004204c6
mov esp, ebp
pop ebp
ret
Function at 0x405240
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push eax
lea ebx, [ebp - 4]
mov esi, ecx
mov dword [ebp - 4], 0
call fcn.00402280
mov ecx, dword [ebp - 4]
add esp, 4
mov edi, eax
push 1
push edi
mov ebx, esi
call fcn.004054c0
mov ebx, eax
add esp, 8
test ebx, ebx
jns 0x405292
mov eax, esi
lea edx, [eax + 1]
jmp 0x405280
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405280
mov ecx, dword [ebp - 4]
sub eax, edx
sub ecx, eax
cmp ebx, ecx
jge 0x405304
mov edx, dword [ebp + 8]
push 0x43c44c
push edx
call fcn.004217a9
mov edx, eax
add esp, 8
mov dword [ebp - 8], edx
test edx, edx
je 0x405304
cmp byte [ebp + 0xc], 0
jne 0x4052c8
mov eax, esi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4052b7
sub eax, esi
lea esi, [eax + ebx]
mov ebx, dword [ebp - 4]
jmp 0x4052ca
xor esi, esi
cmp esi, ebx
jge 0x4052e9
mov edi, edi
push edx
push 1
lea eax, [esi + edi]
push 1
push eax
call fcn.00421ce9
mov edx, dword [ebp - 8]
inc esi
add esp, 0x10
cmp esi, ebx
jl 0x4052d0
push edx
call fcn.004220cf
add esp, 4
push edi
call fcn.00420c4b
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call fcn.00420c4b
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4062c0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x43c448
push eax
call fcn.004217a9
mov esi, eax
add esp, 8
test esi, esi
je 0x4063a1
push ebx
push edi
push 2
push 0
push esi
call fcn.00421fe6
push esi
call fcn.00421ef7
mov edi, eax
push edi
call fcn.0041f974
push 0
push 0
push esi
mov dword [ebp - 4], eax
call fcn.00421fe6
add esp, 0x20
xor ebx, ebx
test edi, edi
jle 0x406336
lea ecx, [ecx]
push esi
call fcn.00420ed7
add esp, 4
test eax, eax
jne 0x406336
mov ecx, dword [ebp - 4]
push esi
push 1
lea edx, [ebx + ecx]
push 1
push edx
call fcn.00421b00
inc ebx
add esp, 0x10
cmp ebx, edi
jl 0x406310
push esi
call fcn.004220cf
add esp, 4
xor eax, eax
xor ecx, ecx
test edi, edi
jle 0x406362
cmp ecx, dword [ebp + 0x10]
jl 0x40634e
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov dl, byte [ecx + edx]
mov esi, dword [ebp - 4]
neg dl
xor byte [eax + esi], dl
inc eax
inc ecx
cmp eax, edi
jl 0x406347
mov eax, dword [ebp + 8]
push 0x43c44c
push eax
call fcn.004217a9
mov esi, eax
add esp, 8
test esi, esi
je 0x406398
mov ecx, dword [ebp - 4]
push esi
push edi
push 1
push ecx
call fcn.00421ce9
push esi
call fcn.004220cf
add esp, 0x14
pop edi
pop ebx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
pop edi
pop ebx
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x407b90
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
mov eax, dword [0x440480]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
call fcn.00420d8a
add esp, 4
push eax
call fcn.00420c56
add esp, 4
call fcn.00401300
mov edi, eax
push edi
mov dword [ebp - 0x1ac], edi
call dword [0x43821c]
mov ebx, dword [0x438054]
test eax, eax
jne 0x407bf9
push edi
call fcn.00422afd
add esp, 4
push edi
call fcn.004020e0
add esp, 4
push 0
push edi
call fcn.00407880
add esp, 8
push 6
push edi
call ebx
push edi
call dword [0x438068]
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0
call dword [0x43806c]
call fcn.00401420
mov esi, eax
push esi
call dword [0x43821c]
test eax, eax
je 0x407c2f
push esi
call fcn.00422143
add esp, 4
cmp byte [0x443b40], 0
jne 0x407c44
call fcn.00401040
mov byte [0x443b40], 1
mov ecx, dword [0x443b78]
mov eax, dword [ecx + 0x98]
push eax
lea eax, [ebp - 0x110]
call fcn.00404f70
add esp, 4
test al, al
je 0x407c97
cmp byte [0x443b40], 0
jne 0x407c78
call fcn.00401040
mov byte [0x443b40], 1
mov edx, dword [0x443b78]
mov ecx, dword [edx + 0x98]
push 1
push esi
lea eax, [ebp - 0x110]
call fcn.00405240
add esp, 8
jmp 0x407ca6
push esi
lea eax, [ebp - 0x110]
call fcn.00402050
add esp, 4
push esi
call fcn.00404c80
add esp, 4
push esi
call fcn.004020e0
add esp, 4
push 6
push esi
call ebx
lea eax, [ebp - 0x1a8]
push eax
mov dword [ebp - 0x1a8], 0x94
call dword [0x438044]
cmp dword [ebp - 0x1a4], 6
jb 0x407cf4
push 0
push 0
push 0
push 0x407b60
push 0
push 0
call dword [0x438070]
jmp 0x407d63
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407d00
sub eax, edx
mov edi, eax
call fcn.00401840
push 0
lea ecx, [ebp - 0x1b0]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
mov ebx, eax
call dword [section..rdata]
mov eax, dword [ebp - 0x1b0]
test eax, eax
je 0x407d5d
push edi
push esi
push 1
push 0
push ebx
push eax
call dword [0x438004]
mov edx, dword [ebp - 0x1b0]
push edx
call dword [0x438008]
mov edi, dword [ebp - 0x1ac]
mov ecx, esi
lea eax, [ebp - 0x110]
jmp 0x407d70
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407d90
test dl, dl
je 0x407d8c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407d90
add eax, 2
add ecx, 2
test dl, dl
jne 0x407d70
xor eax, eax
jmp 0x407d95
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x407de4
push esi
call dword [0x43821c]
test eax, eax
je 0x407de4
mov eax, dword [0x443b1c]
test eax, eax
je 0x407db4
push eax
call dword [0x43810c]
push 5
push 0
push 0x43c5b8
push esi
push 0x43c948
push 0
call dword [0x438214]
push edi
call fcn.00420c4b
add esp, 4
push esi
call fcn.00420c4b
add esp, 4
push 0
call fcn.00422a95
push edi
call fcn.00420c4b
add esp, 4
push esi
call fcn.00420c4b
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004204c6
mov esp, ebp
pop ebp
ret
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43100c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219

Function at 0x401037
Capabilities:
Delete file
Extract resource via kernel32 functions
Get common file path

Disassembly:
call 0x401037
push 0
call sub.kernel32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffbf4
push esi
push edi
push ebx
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x403030], eax
mov dword [ebp - 8], 0
push 0xa
push section..data
push 0
call sub.kernel32.dll_FindResourceA
or eax, eax
je 0x401089
mov dword [ebp - 4], eax
push dword [ebp - 4]
push 0
call sub.kernel32.dll_SizeofResource
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
push 0
call sub.kernel32.dll_LoadResource
or eax, eax
je 0x401089
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4010c1
push 4
push 0x1000
push dword [ebp - 0xc]
push 0
call sub.kernel32.dll_VirtualAlloc
mov edi, eax
push dword [ebp - 0xc]
push dword [ebp - 8]
push edi
call sub.kernel32.dll_RtlMoveMemory
mov dword [ebp - 8], edi
push 0xdeadbeef
push dword [ebp - 0xc]
push dword [ebp - 8]
call section..text
cmp dword [ebp - 8], 0
je 0x4010fb
lea eax, [ebp - 0x40c]
push eax
push 0x400
call sub.kernel32.dll_GetTempPathA
push str.dup2patcher.dll
lea eax, [ebp - 0x40c]
push eax
call sub.kernel32.dll_lstrcatA
push dword [ebp - 0xc]
push dword [ebp - 8]
lea eax, [ebp - 0x40c]
push eax
call fcn.00401184
lea eax, [ebp - 0x40c]
push eax
call sub.kernel32.dll_LoadLibraryA
or eax, eax
je 0x401130
mov ebx, eax
push str.load_patcher
push ebx
call sub.kernel32.dll_GetProcAddress
or eax, eax
je 0x40111e
call eax
push ebx
call sub.kernel32.dll_FreeLibrary
lea eax, [ebp - 0x40c]
push eax
call sub.kernel32.dll_DeleteFileA
pop ebx
pop edi
pop esi
leave
ret

Function at 0x401184
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [ebp + 8]
call sub.kernel32.dll_CreateFileA
cmp eax, 0xffffffff
jne 0x4011af
xor eax, eax
leave
ret 0xc
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 4]
call sub.kernel32.dll_WriteFile
push dword [ebp - 4]
call sub.kernel32.dll_FlushFileBuffers
push dword [ebp - 4]
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 8]
leave
ret 0xc
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, 0xe473b93
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x42e024
nop
nop
nop
nop
nop
mov eax, str..KG
mov ebx, 0x42cd70
nop
mov ecx, 0x4b6e01df
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
or eax, 0xffffffff
test esi, esi
je 0x40102c
xor edx, edx
mov dl, byte [ecx]
xor edx, eax
and edx, 0xff
mov edx, dword [edx*4 + 0x406010]
shr eax, 8
inc ecx
xor eax, edx
dec esi
jne 0x401010
not eax
pop esi
ret

Function at 0x401150
Capabilities:
Create directory
Get common file path

Disassembly:
sub esp, 0x208
push ebx
push esi
push edi
call fcn.00401030
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x104
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.004010d0
mov ebx, dword [sym.imp.MSVCRT.dll_wcslen]
lea edx, [esp + 0x18]
push edx
call ebx
push eax
lea eax, [esp + 0x20]
push eax
call section..text
add esp, 0x18
mov edi, eax
call fcn.00401290
test al, al
mov esi, dword [esp + 0x21c]
push esi
je 0x4011e6
mov ecx, dword [esp + 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x401232
push edi
push str.mProjector
push esi
push str._s_s_u_
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
push esi
call ebx
add esp, 0x18
push 0
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x208
ret
mov edx, dword [esp + 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x401232
push edi
push 0x4050e0
push esi
push 0x4050d8
push esi
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, esi
add esp, 0x14
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401213
push 0
sub eax, edx
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push esi
call fcn.00401120
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x208
ret
Function at 0x401300
Capabilities:
Extract resource via kernel32 functions
Get file attributes
Set file attributes
Write file on windows

Disassembly:
sub esp, 0x210
push ebx
push ebp
lea eax, [esp + 0x10]
push eax
push 0x104
xor bl, bl
call fcn.00401150
add esp, 8
test eax, eax
jbe 0x401428
mov ecx, dword [esp + 0x21c]
push ecx
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
jbe 0x401358
and eax, 0xfffffffe
push eax
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push 0x80
push 2
push 0
push 0
lea edx, [esp + 0x24]
push 0x40000000
push edx
call fcn.00401040
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x40141d
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.BINARY
mov esi, eax
push 0x66
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x4013fa
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4013fa
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4013fa
push 0
lea ecx, [esp + 0x14]
push ecx
push eax
call fcn.00401680
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4013fa
mov eax, dword [esp + 0x10]
push 0
lea edx, [esp + 0x18]
push edx
push eax
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4013f1
mov bl, 1
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
pop edi
pop esi
je 0x401428
lea ecx, [esp + 0x10]
push ecx
call fcn.00401240
add esp, 4
pop ebp
pop ebx
add esp, 0x210
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
je 0x401407
pop ebp
xor eax, eax
pop ebx
add esp, 0x210
ret
Function at 0x401a60
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5045ce
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3c
mov eax, dword [0x52d324]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x30], esi
push 0x51e7c0
lea edx, [ebx + 8]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00402ac0
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 2
lea eax, [ebx + 0x20]
cmp dword [ebx + 0x34], 8
push dword [ebx + 0x30]
cmovae eax, dword [ebx + 0x20]
push eax
call fcn.004029e0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, 0x52dcb0
movq qword [ebp - 0x38], xmm0
call fcn.00402480
movups xmm0, xmmword [ebp - 0x48]
movups xmmword [0x52dcb0], xmm0
movq xmm0, qword [ebp - 0x38]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x18]
movq qword [0x52dcc0], xmm0
cmp edx, 8
jb 0x401b5d
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401b53
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401c24
push edx
push ecx
call fcn.004dc783
add esp, 8
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0x401800
push 0x400
push 0
call fcn.004e1c3c
add esp, 0x18
mov ecx, esi
push 0x52dcb0
call fcn.00402570
mov edx, dword [ebx + 0x1c]
cmp edx, 8
jb 0x401bbb
mov ecx, dword [ebx + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401bb1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401c29
push edx
push ecx
call fcn.004dc783
add esp, 8
mov edx, dword [ebx + 0x34]
xor eax, eax
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 7
mov word [ebx + 8], ax
cmp edx, 8
jb 0x401c05
mov ecx, dword [ebx + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401bfb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401c2e
push edx
push ecx
call fcn.004dc783
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004dc214
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004e2bf9
call fcn.004e2bf9
call fcn.004e2bf9
int3
Function at 0x4031a0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504656
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x52d324]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x84], esi
cmp dword [edi + 0x10], 0
jne 0x403206
push 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
push 0x51e9f6
mov byte [esi], 0
call fcn.00402850
jmp 0x40338f
push ecx
lea ecx, [ebp - 0x140]
call fcn.004054e0
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 8
jb 0x403221
mov edi, dword [edi]
cmp dword [ebp - 0xe4], 0
jne 0x4032e9
push 0x40
push 0x21
push edi
call fcn.0049507f
add esp, 0xc
test eax, eax
je 0x4032e9
push 1
push eax
lea ecx, [ebp - 0x130]
call fcn.00406990
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xfc]
mov edi, dword [eax + 4]
mov ecx, edi
mov dword [ebp - 0x84], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 2
push eax
call fcn.00407090
mov ebx, eax
add esp, 4
mov ecx, ebx
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
call edx
test al, al
je 0x403299
mov dword [ebp - 0xf8], 0
jmp 0x4032aa
lea ecx, [ebp - 0x130]
mov dword [ebp - 0xf8], ebx
call fcn.00406be0
mov byte [ebp - 4], 3
test edi, edi
je 0x4032c5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x4032c5
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x140]
mov eax, dword [ebp - 0x140]
xor edx, edx
mov eax, dword [eax + 4]
add ecx, eax
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
jmp 0x40330c
mov eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x140]
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push 0
push eax
call fcn.004081b0
cmp dword [ebp - 0xe4], 0
jne 0x40333e
push 0
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 0xf
push 0x51e9f6
mov byte [esi], 0
call fcn.00402850
jmp 0x403384
lea eax, [ebp - 0x140]
mov byte [ebp - 0x18], 0
push eax
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x80], 0x67452301
mov dword [ebp - 0x7c], 0xefcdab89
mov dword [ebp - 0x78], 0x98badcfe
mov dword [ebp - 0x74], 0x10325476
call fcn.0040c990
push esi
lea ecx, [ebp - 0x80]
call fcn.0040d210
lea ecx, [ebp - 0x140]
call fcn.004033b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dc214
mov esp, ebp
pop ebp
ret
Function at 0x403440
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5046a8
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x52d324]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x10], 0
jne 0x40347c
xor al, al
jmp 0x40356f
push esi
lea ecx, [ebp - 0x28]
call fcn.00402570
mov edx, 0x2f
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040c050
mov edx, 0x5c
lea ecx, [ebp - 0x28]
call fcn.0040c050
cmp dword [ebp - 0x18], 3
ja case.default.0x4034c3
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
ja case.default.0x4034c3
jmp dword [eax*4 + 0x403594]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x278]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x40351b
mov eax, dword [esi + 0x10]
lea edx, [eax - 1]
cmp eax, edx
jbe 0x40358a
mov eax, dword [esi + 0x14]
mov ecx, esi
cmp eax, 8
jb 0x403502
mov ecx, dword [esi]
cmp word [ecx + edx*2], 0x5c
je case.0x4034c3.3
cmp eax, 8
jb 0x403510
mov esi, dword [esi]
cmp word [esi + edx*2], 0x2f
jne case.0x4034c3.0
mov bl, 1
jmp 0x403537
test byte [ebp - 0x278], 0x10
push eax
je 0x40352f
call dword [sym.imp.KERNEL32.dll_FindClose]
mov bl, 1
jmp 0x403537
call dword [sym.imp.KERNEL32.dll_FindClose]
xor bl, bl
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40356d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403563
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40358f
push edx
push ecx
call fcn.004dc783
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dc214
mov esp, ebp
pop ebp
ret
call fcn.00406bd0
call fcn.004e2bf9
xor eax, 0x35004035
xor eax, 892665920
inc eax
add byte [ebx], ch
xor eax, 0x352b0040
inc eax
add ah, cl
int3