joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4056c0
Capabilities:
Get common file path
Get file size

Disassembly:
push ebx
push ebp
push esi
push edi
push str.KERNEL32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
mov esi, dword [esp + 0x18]
je 0x4056f8
push str.MoveFileExA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4056f8
push 5
push esi
push dword [esp + 0x1c]
call eax
test eax, eax
jne 0x40583d
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov dword [0x42c620], 0x4c554e
test esi, esi
mov edi, 0x400
mov ebp, 0x42c620
je 0x40573c
push 1
push 0
push esi
call fcn.00405649
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x405843
cmp eax, edi
jg 0x405843
mov esi, 0x42c220
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x405843
cmp eax, edi
jg 0x405843
push esi
push ebp
push str._s_s_r_n
push 0x42be20
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ebp, eax
push 0x3f0
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.wininit.ini
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
xor edi, edi
push edi
push 0x8000080
push 4
push edi
push edi
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40583d
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push edi
lea eax, [esi + ebp + 0xa]
push eax
push edi
push 4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, edi
mov dword [esp + 0x14], eax
je 0x405825
push edi
push edi
push edi
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
je 0x405819
push str._Rename__r_n
push edi
call fcn.004055dd
test eax, eax
jne 0x40584a
lea eax, [edi + esi]
push str._Rename__r_n
push eax
call sub.KERNEL32.dll_lstrcpyA
add esi, 0xa
mov eax, esi
push ebp
add eax, edi
push 0x42be20
push eax
call fcn.00405629
push edi
add esi, ebp
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
push edi
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [0x42f0b0]
pop edi
pop esi
pop ebp
pop ebx
ret 8
add eax, 0xa
push 0x4092f8
push eax
call fcn.004055dd
test eax, eax
je 0x405800
inc eax
lea edx, [edi + esi]
cmp eax, edx
mov ecx, eax
jae 0x405873
mov dl, byte [ecx]
mov byte [ecx + ebp], dl
inc ecx
lea edx, [edi + esi]
cmp ecx, edx
jb 0x405866
sub eax, edi
jmp 0x405802
Function at 0x405ca3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42ca24], 0
push esi
jne 0x405cda
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 0x405cb4
mov dword [ecx*4 + 0x42ca20], eax
inc ecx
cmp ecx, 0x100
jl 0x405caf
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405d0b
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 + 0x42ca20]
xor eax, esi
inc ecx
dec edx
jne 0x405ced
pop edi
not eax
pop esi
ret 0xc
Function at 0x635f40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section....1
lea edi, [esi - 0x18a000]
mov dword [edi + 0x19a0c8], 0x6de84745
push edi
jmp 0x635f6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x635f71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x635f60
mov eax, 1
add ebx, ebx
jne 0x635f83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x635f94
jne 0x635fb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x635fb3
dec eax
add ebx, ebx
jne 0x635fa0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x635f78
add ebx, ebx
jne 0x635faf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x636005
xor ecx, ecx
sub eax, 3
jb 0x635fcb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x63603a
sar eax, 1
mov ebp, eax
jmp 0x635fd6
add ebx, ebx
jne 0x635fd6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x635fa4
inc ecx
add ebx, ebx
jne 0x635fe4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x635fa4
add ebx, ebx
jne 0x635ff1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x635fe6
jne 0x636002
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x635fe6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x636024
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x636016
jmp 0x635f66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x636024
add edi, ecx
jmp 0x635f66
pop esi
mov edi, esi
mov ecx, 0x9a21
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x636042
cmp byte [edi], 0x5c
jne 0x636042
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x636047
lea edi, [esi + 0x231000]
mov eax, dword [edi]
or eax, eax
je 0x6360bf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x25f24c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x25f3b4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x636074
mov ecx, edi
jns 0x6360a3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x25f3b8]
or eax, eax
je 0x6360b9
mov dword [ebx], eax
add ebx, 4
jmp 0x636091
call dword [esi + 0x25f3c8]
mov ebp, dword [esi + 0x25f3bc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x31f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x6360f3
sub esp, 0xffffff80
jmp 0x401630
Function at 0x100138cc
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100138f5
push 0x16a2
push 0x6bb
push 0x1dfc
push 0x1112
push 0
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
jmp 0x1001390e
push 0xf43
push 0x7ed
push 0
push 0x6a8
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
pop ebp
ret
Function at 0x1001f367
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1001f380
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
jmp 0x1001f440
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0xe649
jne 0x1001f3dd
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x1001f3dd
and dword [ebp - 8], 0
jmp 0x1001f3e4
mov dword [ebp - 8], 1
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
imul ecx, dword [ebp - 8]
push 5
pop edx
sub edx, ecx
cmp edx, dword [eax]
je 0x1001f40a
mov dword [ebp - 0xc], 1
jmp 0x1001f40e
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
imul eax, dword [ebp - 0xc]
test eax, eax
jne 0x1001f431
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x1001f431
and dword [ebp - 0x10], 0
jmp 0x1001f438
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1001ffd0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10020099
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x1002003f
mov dword [ebp - 8], 1
jmp 0x10020043
and dword [ebp - 8], 0
cmp dword [ebp - 8], 0x58e1
jge 0x1002005a
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x1002005a
and dword [ebp - 0xc], 0
jmp 0x10020061
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.1001675e
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.1001675e
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
add ecx, dword [eax]
mov eax, dword [ebp - 0x38]
mov dword [eax], ecx
jmp 0x100200b9
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x100200b9
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esp, ebp
pop ebp
ret
Function at 0x100219bc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x100219e0
xor eax, eax
jmp 0x10021b2e
push 0xb52
push 1
push 0x4b75
push 0x7cff
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x5598
push 0x509
call fcn.1002115a
add esp, 0x24
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x10021a21
xor eax, eax
jmp 0x10021b2e
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 1
call fcn.1002185d
add esp, 0xc
cmp dword [ebp - 0xc], 0
jne 0x10021a40
xor eax, eax
jmp 0x10021b2e
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x251d
lea eax, [ebp - 0xc]
push eax
push 0x6b9e
push 1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100218c1
add esp, 0x20
push 0x401b
push dword [ebp - 8]
push dword [ebp - 4]
push dword [ebp + 8]
push 0
push 0x2f53
call fcn.1001ca08
add esp, 0x18
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x14], ecx
je 0x10021aa3
push dword [ebp - 0x14]
push dword [ebp - 4]
push 1
call fcn.1001b4df
add esp, 0xc
push dword [ebp - 4]
call fcn.10020cd5
pop ecx
test eax, eax
jne 0x10021ab4
xor eax, eax
jmp 0x10021b2e
push 0
push dword [ebp - 4]
push 0x1a3a
push 0x1d52
call fcn.10019696
add esp, 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x10021b16
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x10021aea
xor eax, eax
jmp 0x10021b2e
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10021b03
xor eax, eax
jmp 0x10021b2e
push 0x1156
lea eax, [ebp - 4]
push eax
push 1
call fcn.10021979
add esp, 0xc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x10021b27
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x10021b2b
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x10036fc7
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10036fed
push 0xf43
push 0x7ed
push 0
push 0x6a8
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
jmp 0x10036ffa
push 0
push 0x192e
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
pop ebp
ret

Function at 0x10037c7f
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10037cda
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10037cbb
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jge 0x10037cd8
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.1001675e
mov dword [eax], 0x9ff6
jmp 0x10037cb0
jmp 0x10037cf3
push 0xf43
push 0x7ed
push 0
push 0x6a8
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esp, ebp
pop ebp
ret

Function at 0x10037e45
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10037e5f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x10037e8c
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret
Function at 0x10046a9d
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10046ac3
push 0xf43
push 0x7ed
push 0
push 0x6a8
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
jmp 0x10046ace
push 0x2217
call dword [sym.imp.USER32.dll_BeginDeferWindowPos]
pop ebp
ret

Function at 0x10047e95
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10047eba
push 0
push 0x5fd
push 0x8d4
push 0x1809
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10047edf
push 0xf43
push 0x7ed
push 0
push 0x6a8
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esp, ebp
pop ebp
ret
Function at 0x1007ad6f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1008438c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1006a604
mov dword [ebp - 0x14], eax
cmp dword [0x10670eec], esi
jne 0x1007ae62
push 0x800
push esi
push 0x10007a44
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1007adef
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1007af42
push esi
push esi
push 0x10007a44
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1007af42
push 0x10007a5c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1007af42
push eax
call ebx
push 0x10007a68
push edi
mov dword [0x10670eec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007a78
push edi
mov dword [0x10670ef0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007a8c
push edi
mov dword [0x10670ef4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10670efc], eax
test eax, eax
je 0x1007ae5f
push 0x10007aa8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10670ef8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007ae87
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1007ae7a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1007ae9c
push 4
pop eax
jmp 0x1007af44
cmp dword [ebp - 0x14], esi
je 0x1007ae9c
push dword [0x10670eec]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1007ae81
mov eax, dword [0x10670ef8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1007aefa
cmp dword [0x10670efc], edi
je 0x1007aefa
push eax
call ebx
push dword [0x10670efc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1007aefa
test eax, eax
je 0x1007aefa
call ecx
test eax, eax
je 0x1007aeef
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1007aeef
test byte [ebp - 8], 1
jne 0x1007aefa
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1007af2a
mov eax, dword [0x10670ef0]
cmp eax, edi
je 0x1007af27
push eax
call ebx
test eax, eax
je 0x1007af27
call eax
mov esi, eax
test esi, esi
je 0x1007af27
mov eax, dword [0x10670ef4]
cmp eax, edi
je 0x1007af27
push eax
call ebx
test eax, eax
je 0x1007af27
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10670eec]
call ebx
test eax, eax
je 0x1007af42
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1007af44
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x407f00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57cb58
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x5c9440]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
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 dword [esi + 0xc], 0
call fcn.0045dba6
mov edi, eax
add esp, 4
test edi, edi
je 0x407fa3
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00433e2c
add esp, 4
mov dword [edi + 4], eax
jmp 0x407fa5
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov ecx, dword [edi + 4]
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
call fcn.00403980
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
call dword [edx + 0x30]
movzx edi, ax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x408005
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x408005
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov word [esi + 0x40], di
jne 0x408029
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x40804b
cmp byte [ebp + 0xc], 0
je 0x408038
push esi
call fcn.004343b3
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x408057
mov esi, str.ios_base::badbit_set
jmp 0x408067
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.00409ca0
add esp, 8
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.004045e0
push 0x5b833c
lea eax, [ebp - 0x30]
push eax
call fcn.00548b79
int3
Function at 0x40abd0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ce32
mov eax, dword fs:[0]
push eax
sub esp, 0x62c
mov eax, dword [0x5c9440]
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 esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x638], esi
mov dword [ebp - 0x634], 0
mov dword [ebp - 0x630], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov dword [ebp - 0x62c], esi
mov word [esi], ax
push 0x208
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x628]
push eax
mov dword [ebp - 0x634], 1
call fcn.00549aa0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00549aa0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00549aa0
add esp, 0x24
lea eax, [ebp - 0x628]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x40ad70
xor ebx, ebx
lea edi, [ebp - 0x628]
nop dword [eax]
xor eax, eax
mov word [edi + 4], ax
lea eax, [ebp - 0x420]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x40ad08
lea esi, [ebp - 0x420]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x40acc6
sub esi, ecx
mov ecx, dword [ebp - 0x630]
sar esi, 1
mov eax, ecx
cmp dword [ecx + 0x14], 8
jb 0x40ace5
mov eax, dword [ecx]
push esi
lea ecx, [ebp - 0x420]
push ecx
push eax
call fcn.00556554
add esp, 0xc
test eax, eax
je 0x40ad10
add ebx, 4
add edi, 8
cmp ebx, 0x104
jb 0x40aca0
mov eax, dword [ebp - 0x62c]
jmp 0x40ad72
push edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 0x630]
cmp dword [eax + 0x14], 8
jb 0x40ad2c
mov eax, dword [eax]
lea eax, [eax + esi*2]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ad46
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x62c]
push eax
call fcn.00407040
mov eax, dword [ebp - 0x62c]
jmp 0x40ad72
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.0045de7e
mov esp, ebp
pop ebp
ret
Function at 0x40bda0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov edx, ecx
mov ebx, dword [ebp + 8]
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor ecx, eax
movzx eax, byte [edi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edx + 0x18]
and ecx, eax
lea esi, [ecx*8]
mov ecx, dword [edx + 0xc]
add ecx, esi
mov eax, dword [ecx]
cmp dword [ecx + 4], edi
jne 0x40be16
cmp eax, edi
jne 0x40be0e
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [esi + ecx + 4], eax
jmp 0x40be1e
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x40be1e
cmp eax, edi
jne 0x40be1e
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 0x10]
dec dword [edx + 8]
call fcn.0040c110
push 0x50
push edi
call fcn.0045dbd6
add esp, 8
mov dword [ebx], esi
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 8