joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415f6d
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0xc]
imul eax, eax, 0x228
lea ecx, [eax + ecx + 0xd8]
pop ebp
jmp fcn.0042e819

Function at 0x416808
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x30
mov eax, 0x47267e
call fcn.00461bf0
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x3c], vtable.CRecordVector_unsigned_int_.0
mov eax, dword [esi + 0xc]
imul eax, eax, 0x228
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [eax + esi + 0xd8]
mov dword [ebp - 4], edi
call fcn.00428b04
cmp dword [ebp - 0x34], edi
jne 0x41689a
push 0x7000002
lea eax, [ebp - 0x28]
push eax
call fcn.00449f35
mov esi, eax
push 0x7000001
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 1
call fcn.00449f35
mov esi, dword [esi]
mov eax, dword [eax]
push 0x30
push esi
push eax
push dword [0x4a1394]
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp - 0x1c]
call fcn.0044c2e3
push dword [ebp - 0x28]
call fcn.0044c2e3
pop ecx
pop ecx
jmp 0x4168b5
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, esi
shr eax, 0xf
and al, 1
sete al
movzx eax, al
push eax
call fcn.00415f6d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0044c2ad
call fcn.00461cc8
ret

Function at 0x417c52
Capabilities:
Create process on windows

Disassembly:
push 0x24c
mov eax, 0x472adf
call fcn.00461c59
push 0x47eb98
lea ecx, [ebp - 0x248]
call fcn.0040d236
xor ebx, ebx
push 3
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
call fcn.0040ce36
push 0xb
pop ecx
push 0x1dc
lea eax, [ebp - 0x1ec]
push ebx
mov esi, 0x47eb6c
lea edi, [ebp - 0x218]
push eax
mov byte [ebp - 4], 1
rep movsd dword es:[edi], dword [esi]
call fcn.00461d00
add esp, 0xc
push 3
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], ebx
call fcn.0040ce36
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x230]
mov byte [ebp - 4], 2
push dword [ebp - 0x248]
push dword [0x4a1394]
call fcn.00431315
test al, al
je 0x417d6c
or dword [ebp - 0x258], 0xffffffff
push dword [ebp - 0x224]
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 3
call fcn.004349a0
push 0x47ce68
lea ecx, [ebp - 0x23c]
call fcn.0040d236
push 1
push ebx
push dword [ebp - 0x23c]
push dword [ebp - 0x224]
push 0x47eb60
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp - 0x23c]
call fcn.0044c2e3
pop ecx
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 2
call fcn.00434618
push dword [ebp - 0x224]
call fcn.0044c2e3
push dword [ebp - 0x230]
call fcn.0044c2e3
push dword [ebp - 0x248]
call fcn.0044c2e3
add esp, 0xc
call fcn.00461cdc
ret
Function at 0x41b2d0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x49dd70]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
xor ecx, ecx
test al, al
sete cl
lea eax, [ebp - 0x164]
dec ecx
and ecx, 0xffffff01
add ecx, 0x100
or ecx, 0x4010
push ecx
push 0x160
push eax
push 0x90
push 0x47c7e8
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460f48
leave
ret 4
Function at 0x41c6d4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4735c6
mov eax, dword fs:[0]
push eax
mov eax, 0x1034
call fcn.00461d80
mov eax, dword [0x49dd70]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 3
lea ecx, [ebp - 0x1028]
mov dword [ebp - 0x1028], ebx
mov dword [ebp - 0x1024], ebx
mov dword [ebp - 0x1020], ebx
call fcn.0040ce36
mov dword [ebp - 4], ebx
cmp byte [0x4a138e], bl
je 0x41c7a6
call fcn.004423bf
call fcn.00459c08
push 3
lea ecx, [ebp - 0x101c]
mov dword [ebp - 0x101c], ebx
mov dword [ebp - 0x1018], ebx
mov dword [ebp - 0x1014], ebx
call fcn.0040ce36
push str.false
lea ecx, [ebp - 0x101c]
mov byte [ebp - 4], 1
call fcn.0040e692
sub esp, 0xc
lea eax, [ebp - 0x101c]
mov ecx, esp
mov dword [ebp - 0x1034], esp
push eax
call fcn.0040d273
call fcn.0041519b
push dword [ebp - 0x101c]
call fcn.00462159
push dword [ebp - 0x1028]
call fcn.00462159
pop ecx
jmp 0x41c922
lea eax, [ebp - 0x1028]
push eax
call fcn.00414de2
mov esi, str.true
push esi
lea eax, [ebp - 0x1028]
push eax
call fcn.00411e8f
test al, al
jne 0x41c917
cmp byte [0x4a138f], bl
je 0x41c8bf
push 3
lea ecx, [ebp - 0x101c]
mov dword [ebp - 0x101c], ebx
mov dword [ebp - 0x1018], ebx
mov dword [ebp - 0x1014], ebx
call fcn.0040ce36
lea eax, [ebp - 0x101c]
push eax
mov byte [ebp - 4], 2
call fcn.0044a55a
push str.BianYa.exe
lea eax, [ebp - 0x101c]
push eax
lea eax, [ebp - 0x1040]
push eax
call fcn.0040d606
push eax
lea ecx, [ebp - 0x101c]
mov byte [ebp - 4], 3
call fcn.0040d2a6
push dword [ebp - 0x1040]
mov byte [ebp - 4], 2
call fcn.00462159
mov esi, 0x1000
push esi
lea eax, [ebp - 0x1010]
push ebx
push eax
call fcn.00461d00
mov eax, dword [ebp - 0x1018]
add esp, 0x10
cmp eax, dword [ebp - 0x1014]
jl 0x41c86e
push eax
lea ecx, [ebp - 0x101c]
call fcn.0040ce36
push esi
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x101c]
call fcn.00438cb7
push 1
push ebx
push 0x47ef8c
lea eax, [ebp - 0x1010]
push eax
push str.RunAs
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [0x4a1394]
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
push eax
push ebx
push 6
push eax
call esi
push ebx
push ebx
push 0x10
push dword [0x4a1394]
call esi
jmp 0x41c78a
push esi
lea ecx, [ebp - 0x1028]
call fcn.0040e692
sub esp, 0xc
lea eax, [ebp - 0x1028]
mov ecx, esp
mov dword [ebp - 0x1034], esp
push eax
call fcn.0040d273
call fcn.0041519b
lea ecx, [ebp - 0x1030]
call fcn.00454378
call fcn.004423b4
call fcn.00459e83
lea ecx, [ebp - 0x1030]
mov byte [ebp - 0x1030], bl
mov dword [ebp - 0x102c], 0xf127
call fcn.00454304
push dword [ebp - 0x1028]
call fcn.00462159
pop ecx
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.00460f48
leave
ret
Function at 0x4267c9
Capabilities:
Create process on windows

Disassembly:
push 0x60
mov eax, 0x474c28
call fcn.00461bf0
mov eax, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x6c], 0x3c
mov dword [ebp - 0x68], 0x140
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
cmp byte [0x4a139c], bl
je 0x426847
mov eax, dword [eax]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], ebx
cmp dword [esi + 4], ebx
jne 0x426809
xor esi, esi
jmp 0x42680b
mov esi, dword [esi]
push 0x47f6d4
push str.shell32.dll
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x34], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4268db
lea ecx, [ebp - 0x6c]
push ecx
call eax
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x4c]
mov dword [edi], eax
jmp 0x4268a6
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040cfbe
push esi
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], ebx
call fcn.0040cfbe
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x14]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x18]
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x34], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov eax, dword [ebp - 0x34]
push dword [ebp - 0x18]
mov esi, dword [ebp - 0x4c]
mov dword [edi], eax
call fcn.0044c2e3
push dword [ebp - 0x24]
or dword [ebp - 4], 0xffffffff
call fcn.0044c2e3
pop ecx
pop ecx
cmp esi, 0x20
ja 0x4268db
cmp esi, 0x1f
jne 0x4268db
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00410385
push 0x10
push 0x47e52c
push dword [eax]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp - 0x30]
call fcn.0044c2e3
pop ecx
xor eax, eax
call fcn.00461cc8
ret 8

Function at 0x42a829
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
call fcn.0042a7db
mov ecx, esi
pop esi
jmp fcn.0042b73f
Function at 0x42da43
Capabilities:
Create process on windows

Disassembly:
push 0x54
mov eax, 0x475ca5
call fcn.00461bf0
xor esi, esi
push str.HKEY_CURRENT_USERSoftwareBianYa
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], esi
call fcn.0040d236
push 3
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
call fcn.0040ce36
push 3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call fcn.0040ce36
push str._e__
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0040e692
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040d2e0
push 0x47f964
lea ecx, [ebp - 0x18]
call fcn.0040cf83
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040d2e0
push 0x47efe4
lea ecx, [ebp - 0x18]
call fcn.0040cf83
push 1
push esi
push dword [ebp - 0x18]
push 0x47f94c
push 0x47eb60
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x7000042
lea eax, [ebp - 0x60]
push eax
call fcn.00449f35
mov edi, eax
push 0x7000040
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 4
call fcn.00449f35
lea ecx, [ebp + 8]
push ecx
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 5
call fcn.0040d5c6
push edi
push eax
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 6
call fcn.0040d5c6
push esi
push 0x47e52c
push dword [eax]
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp - 0x3c]
call fcn.0044c2e3
push dword [ebp - 0x48]
call fcn.0044c2e3
push dword [ebp - 0x54]
call fcn.0044c2e3
push dword [ebp - 0x60]
call fcn.0044c2e3
push dword [ebp - 0x18]
call fcn.0044c2e3
push dword [ebp - 0x24]
call fcn.0044c2e3
push dword [ebp - 0x30]
call fcn.0044c2e3
push dword [ebp + 8]
call fcn.0044c2e3
add esp, 0x20
call fcn.00461cc8
ret 0xc
Function at 0x431048
Capabilities:
Write clipboard data

Disassembly:
push 0xc
mov eax, 0x476579
call fcn.00461bf0
xor ebx, ebx
mov dword [ebp - 0x10], ebx
push dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
push 0x2002
mov dword [ebp - 4], ebx
call fcn.00434e10
test al, al
jne 0x431086
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00434e33
xor al, al
call fcn.00461cc8
ret 0xc
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
je 0x431070
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.004638e0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x10]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x4310ca
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00434e33
mov al, bl
jmp 0x43107e
mov dword [ebp - 0x10], ebx
mov bl, 1
jmp 0x4310ba

Function at 0x432120
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
setne al
pop ebp
ret 8

Function at 0x432470
Capabilities:
Set file attributes

Disassembly:
push 0x18
mov eax, 0x47722c
call fcn.00461bf0
xor ebx, ebx
cmp byte [0x4a139c], bl
jne 0x4324ab
push dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
call fcn.00432223
push dword [ebp + 0xc]
mov eax, dword [eax]
push eax
call fcn.00432120
push dword [ebp - 0x24]
mov bl, al
call fcn.0044c2e3
mov al, bl
jmp 0x43250a
push dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp + 8]
call esi
test eax, eax
je 0x4324c1
mov al, 1
jmp 0x43250b
push 3
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.0040ce36
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.0043482c
test al, al
je 0x432500
push dword [ebp + 0xc]
push dword [ebp - 0x18]
call esi
push dword [ebp - 0x18]
mov esi, eax
call fcn.0044c2e3
cmp esi, ebx
setne al
jmp 0x43250a
push dword [ebp - 0x18]
call fcn.0044c2e3
xor al, al
pop ecx
call fcn.00461cc8
ret 8
Function at 0x4325a6
Capabilities:
Move file

Disassembly:
push 0x30
mov eax, 0x476725
call fcn.00461bf0
push dword [ebp + 0xc]
xor ebx, ebx
cmp byte [0x4a139c], bl
jne 0x4325fd
lea eax, [ebp - 0x3c]
push eax
call fcn.00432223
mov esi, eax
push dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 4], ebx
call fcn.00432223
mov esi, dword [esi]
mov eax, dword [eax]
push esi
push eax
call fcn.0043214d
push dword [ebp - 0x30]
mov bl, al
call fcn.0044c2e3
push dword [ebp - 0x3c]
call fcn.0044c2e3
mov al, bl
jmp 0x432688
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileW]
call esi
test eax, eax
je 0x432610
mov al, 1
jmp 0x43268a
push 3
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.0040ce36
push 3
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.0040ce36
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 0xc]
mov byte [ebp - 4], 2
push dword [ebp + 8]
call fcn.00432415
push dword [ebp - 0x18]
test al, al
je 0x432679
push dword [ebp - 0x24]
call esi
push dword [ebp - 0x18]
mov esi, eax
call fcn.0044c2e3
push dword [ebp - 0x24]
call fcn.0044c2e3
cmp esi, ebx
setne al
jmp 0x432688
call fcn.0044c2e3
push dword [ebp - 0x24]
call fcn.0044c2e3
xor al, al
pop ecx
pop ecx
call fcn.00461cc8
ret 8

Function at 0x432692
Capabilities:
Create directory

Disassembly:
push 0x18
mov eax, 0x47722c
call fcn.00461bf0
xor ebx, ebx
cmp byte [0x4a139c], bl
jne 0x4326ca
push dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
call fcn.00432223
push dword [eax]
call fcn.00432165
push dword [ebp - 0x24]
mov bl, al
call fcn.0044c2e3
pop ecx
mov al, bl
jmp 0x432734
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ebx
push dword [ebp + 8]
call esi
test eax, eax
je 0x4326de
mov al, 1
jmp 0x432734
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x432732
push 3
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.0040ce36
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.0043482c
test al, al
je 0x432729
push ebx
push dword [ebp - 0x18]
call esi
push dword [ebp - 0x18]
mov esi, eax
call fcn.0044c2e3
cmp esi, ebx
pop ecx
setne al
jmp 0x432734
push dword [ebp - 0x18]
call fcn.0044c2e3
pop ecx
xor al, al
call fcn.00461cc8
ret 4

Function at 0x432858
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x4a139c], 0
je 0x432878
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
jmp 0x43289e
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.00432223
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.0044c2e3
test esi, esi
pop ecx
setne al
pop esi
leave
ret 4
Function at 0x4329ca
Capabilities:
Get common file path

Disassembly:
push 0x28
mov eax, 0x476782
call fcn.00461bf0
xor edi, edi
mov dword [ebp - 0x10], edi
cmp byte [0x4a139c], 0
je 0x432a18
mov esi, dword [ebp + 0x10]
mov eax, 0x104
cmp dword [esi + 8], eax
jg 0x4329f9
push eax
mov ecx, esi
call fcn.0040ce36
push dword [esi]
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov ecx, esi
mov edi, eax
call fcn.004321c5
mov eax, edi
jmp 0x432ad2
push 3
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.0040e571
mov dword [ebp - 4], edi
cmp dword [ebp + 0xc], edi
je 0x432a4e
push dword [ebp + 0xc]
lea eax, [ebp - 0x34]
push eax
call fcn.00432223
mov esi, dword [eax]
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], 1
jmp 0x432a50
xor esi, esi
cmp dword [ebp + 8], edi
je 0x432a70
push dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
call fcn.00432223
or dword [ebp - 0x10], 2
mov eax, dword [eax]
mov dword [ebp - 4], 2
jmp 0x432a72
xor eax, eax
lea ecx, [ebp - 0x1c]
push ecx
push esi
push eax
call fcn.0043298f
test byte [ebp - 0x10], 2
mov esi, eax
je 0x432a92
push dword [ebp - 0x28]
and dword [ebp - 0x10], 0xfffffffd
call fcn.0044c2e3
pop ecx
test byte [ebp - 0x10], 1
mov dword [ebp - 4], edi
je 0x432aa4
push dword [ebp - 0x34]
call fcn.0044c2e3
pop ecx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0043219f
mov ecx, dword [ebp + 0x10]
push eax
mov byte [ebp - 4], 3
call fcn.0040d2a6
push dword [ebp - 0x34]
call fcn.0044c2e3
push dword [ebp - 0x1c]
call fcn.0044c2e3
pop ecx
pop ecx
mov eax, esi
call fcn.00461cc8
ret 0xc
Function at 0x433c0b
Capabilities:
Get disk information

Disassembly:
push 0x30
mov eax, 0x4769ed
call fcn.00461bf0
mov ecx, dword [ebp + 8]
call fcn.0044c23f
xor ebx, ebx
cmp byte [0x4a139c], bl
je 0x433ced
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push ebx
push ebx
call esi
mov edi, eax
cmp edi, ebx
jne 0x433c44
xor al, al
jmp 0x433d5c
push 3
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.0040ce36
mov dword [ebp - 4], ebx
cmp edi, dword [ebp - 0x14]
jl 0x433c68
push edi
lea ecx, [ebp - 0x1c]
call fcn.0040ce36
push dword [ebp - 0x1c]
push edi
call esi
mov esi, eax
cmp esi, ebx
jne 0x433c7f
push dword [ebp - 0x1c]
call fcn.0044c2e3
pop ecx
jmp 0x433c3d
cmp esi, edi
ja 0x433c74
push 3
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call fcn.0040ce36
xor edi, edi
mov byte [ebp - 4], 1
cmp esi, ebx
jbe 0x433cd3
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + edi*2]
cmp ax, bx
jne 0x433cc5
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
call fcn.00416914
mov ecx, dword [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x24], ebx
mov word [ecx], ax
jmp 0x433cce
push eax
lea ecx, [ebp - 0x28]
call fcn.0040e843
inc edi
cmp edi, esi
jb 0x433ca0
push dword [ebp - 0x28]
call fcn.0044c2e3
push dword [ebp - 0x1c]
call fcn.0044c2e3
cmp dword [ebp - 0x24], ebx
pop ecx
pop ecx
sete al
jmp 0x433d5c
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x3c], vtable.CObjectVector_class_CStringBase_char__.0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 4], 2
call fcn.00433b2a
xor esi, esi
mov byte [ebp - 0xd], al
cmp dword [ebp - 0x34], ebx
jle 0x433d4d
mov eax, dword [ebp - 0x30]
push dword [eax + esi*4]
lea eax, [ebp - 0x28]
push eax
call fcn.00411d40
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], 3
call fcn.00416914
push dword [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0044c2e3
inc esi
pop ecx
cmp esi, dword [ebp - 0x34]
jl 0x433d1e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004128c3
mov al, byte [ebp - 0xd]
call fcn.00461cc8
ret 4
Function at 0x4342b4
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [ecx + 4], 0
je 0x4342d6
cmp byte [ecx + 5], 0
je 0x4342d6
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 4], ecx
mov al, 1
jmp 0x43430e
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4342f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4342f8
xor al, al
jmp 0x43430d
mov edx, dword [ebp - 4]
xor eax, eax
xor ecx, ecx
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4

Function at 0x4346c7
Capabilities:
Get common file path

Disassembly:
push 0x30
mov eax, 0x476b41
call fcn.00461bf0
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 4], ecx
mov eax, dword [eax]
xor edx, edx
mov word [eax], dx
movzx eax, word [edi]
xor esi, esi
cmp ax, cx
je 0x4346f6
inc esi
cmp word [edi + esi*2], cx
jne 0x4346ef
mov ebx, eax
cmp esi, 1
jl 0x434815
cmp ebx, 0x5c
je 0x434815
cmp ebx, 0x2e
jne 0x434727
cmp esi, 1
je 0x434815
cmp esi, 2
jne 0x434727
cmp word [edi + 2], ax
je 0x434815
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
push 3
lea ecx, [ebp - 0x18]
call fcn.0040ce36
and dword [ebp - 4], 0
cmp esi, 3
jle 0x434764
cmp word [edi + 2], 0x3a
jne 0x434764
cmp word [edi + 4], 0x5c
jne 0x434764
cmp ebx, 0x61
jb 0x43475b
cmp ebx, 0x7a
jbe 0x4347b7
add ebx, 0xffffffbf
cmp bx, 0x19
jbe 0x4347b7
mov esi, 0x105
cmp dword [ebp - 0x10], esi
jg 0x434777
push esi
lea ecx, [ebp - 0x18]
call fcn.0040ce36
push dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.004321c5
test esi, esi
je 0x43481f
cmp esi, 0x104
ja 0x43481f
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x4347b7
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.0040e843
push str.__
lea ecx, [ebp - 0x3c]
call fcn.0040d236
lea ecx, [ebp - 0x18]
push ecx
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.0040d5c6
push edi
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 2
call fcn.0040d606
mov ecx, dword [ebp + 0xc]
push eax
mov byte [ebp - 4], 3
call fcn.0040d2a6
push dword [ebp - 0x24]
call fcn.0044c2e3
push dword [ebp - 0x30]
call fcn.0044c2e3
push dword [ebp - 0x3c]
call fcn.0044c2e3
push dword [ebp - 0x18]
call fcn.0044c2e3
add esp, 0x10
mov al, 1
call fcn.00461cc8
ret 8
push dword [ebp - 0x18]
call fcn.0044c2e3
pop ecx
xor al, al
jmp 0x434817
Function at 0x434c55
Capabilities:
Get disk information

Disassembly:
push 0x34
mov eax, 0x476be2
call fcn.00461bf0
xor ebx, ebx
cmp byte [0x4a139c], bl
je 0x434cca
mov edi, dword [ebp + 0x1c]
mov esi, 0x104
cmp dword [edi + 8], esi
jg 0x434c80
push esi
mov ecx, edi
call fcn.0040ce36
mov eax, dword [edi]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
cmp dword [edi + 8], esi
jg 0x434c95
push esi
mov ecx, edi
call fcn.0040ce36
mov eax, dword [edi]
push esi
push dword [ebp - 0x10]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov ecx, edi
mov esi, eax
call fcn.004321c5
mov ecx, dword [ebp + 0x1c]
call fcn.004321c5
cmp esi, ebx
setne al
jmp 0x434dad
push 3
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call fcn.0040e571
push 3
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.0040e571
push dword [ebp + 8]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.0040d236
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 2
call fcn.0040cfbe
mov eax, dword [eax]
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp + 0x18]
lea ecx, [ebp - 0x28]
push dword [ebp + 0x14]
mov byte [ebp - 4], 3
push dword [ebp + 0x10]
push ecx
push eax
call fcn.00434bef
push dword [ebp - 0x40]
mov byte [ebp + 0xb], al
call fcn.0044c2e3
push dword [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.0044c2e3
pop ecx
pop ecx
cmp byte [ebp + 0xb], bl
je 0x434d98
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00411d40
mov ecx, dword [ebp + 0xc]
push eax
mov byte [ebp - 4], 4
call fcn.0040d2a6
push dword [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0044c2e3
pop ecx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00411d40
mov ecx, dword [ebp + 0x1c]
push eax
mov byte [ebp - 4], 5
call fcn.0040d2a6
push dword [ebp - 0x40]
call fcn.0044c2e3
pop ecx
push dword [ebp - 0x1c]
call fcn.0044c2e3
push dword [ebp - 0x28]
call fcn.0044c2e3
mov al, byte [ebp + 0xb]
pop ecx
pop ecx
call fcn.00461cc8
ret 0x18