joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453b84
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4e457c]
cmp dword [eax + 0x30], 0
je 0x453c2e
cmp dword [ebx + 0x94], 0
jne 0x453c28
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x453b14
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x453c28
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x453bee
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x453c28
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041433c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x453bfd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x454948
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45497d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004047c8
jmp 0x45498a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040472c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x455cec
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x455d5a
mov eax, esi
call fcn.0044057c
test al, al
je 0x455d5a
mov eax, dword [ebx + 0x84]
call fcn.004401dc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x455d5a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x455d4e
push 0
mov eax, dword [ebx + 0x84]
call fcn.004401dc
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00438608
jmp 0x455d5a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00455b28
pop esi
pop ebx
ret
Function at 0x4598d0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4598fe
mov eax, ebx
call fcn.0045a384
cmp dword [ebx + 0x40], 0
je 0x4598f7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45996f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x459961
cmp dword [ebx + 8], 0
je 0x459920
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x459932
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x459961
cmp dword [ebx + 8], 0
je 0x459913
cmp eax, 3
je 0x459945
dec eax
jne 0x459913
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x459913
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x459913
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45998d
cmp dword [ebx + 0x14], 0xcc
je 0x45998d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00459998
pop ebx
ret
Function at 0x1001aeb3
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001dc0c
push ebx
push esi
call fcn.1001db38
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1001dacc
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001dbb9
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001dc0b
push edi
push eax
call fcn.1001eb2a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001dbd9
call fcn.1001c614
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001dc0a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001dacc
add esp, 0x20
test eax, eax
jne 0x1001dbf8
push edi
call fcn.1001c614
jmp 0x1001dc00
push ebx
call fcn.1001c614
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1001de79
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025cc8
push 0x10025cc0
push str.FlsAlloc
push 0x1f
call fcn.1001dd95
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001dead
push dword [ebp + 8]
mov ecx, esi
call dword [0x10024150]
call esi
jmp 0x1001deb3
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1001def7
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025cd8
push 0x10025cd0
push str.FlsGetValue
push 0x21
call fcn.1001dd95
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001df2e
push dword [ebp + 8]
mov ecx, esi
call dword [0x10024150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1001df36
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025ce0
push 0x10025cd8
push str.FlsSetValue
push 0x22
call fcn.1001dd95
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001df70
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10024150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x100235f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002361d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002361d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x402c40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x455d96
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov ecx, dword [esp + 0x30]
mov eax, dword [0x486554]
push ecx
push 1
xor ebx, ebx
push eax
push 0xeb
mov ecx, esi
mov dword [esp + 0x28], ebx
call fcn.00412d00
lea edi, [esi + 0xbc]
mov byte [esp + 0x18], 1
mov ecx, edi
call fcn.0044acc8
mov dword [edi], vtable.CComboBoxEx.0
lea edi, [esi + 0xf8]
mov byte [esp + 0x18], 2
mov ecx, edi
call fcn.0044acc8
mov dword [edi], vtable.CListCtrl.0
mov edx, dword [0x471ff8]
lea ecx, [esi + 0x134]
mov dword [ecx], edx
mov dword [esi + method.CArray_struct__TComboBoxItemInfo__struct__TComboBoxItemInfo__.virtual_0], vtable.CArray_struct__TComboBoxItemInfo__struct__TComboBoxItemInfo__.0
mov dword [esi + 0x13c], ebx
mov dword [esi + 0x148], ebx
mov dword [esi + 0x144], ebx
mov dword [esi + 0x140], ebx
mov eax, dword [0x471ff8]
mov dword [esi + 0x150], eax
mov edi, dword [esp + 0x24]
mov byte [esp + 0x18], 6
cmp edi, ebx
mov dword [esi], vtable.CChangeFolderDlg.0
mov eax, 0x45a50c
je 0x402d03
mov eax, edi
push eax
call fcn.0044e3f0
cmp edi, ebx
mov dword [esi + 0x14c], ebx
mov dword [esi + 0x154], ebx
mov dword [esi + 0x158], ebx
je 0x402d3b
mov al, byte [edi - 1]
cmp al, bl
je 0x402d31
cmp al, 0xff
je 0x402d31
dec al
mov byte [edi - 1], al
jmp 0x402d3b
dec edi
push edi
call fcn.0044a2a3
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14
Function at 0x405500
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x456054
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov ebx, ecx
push eax
mov dword [esp + 0x14], ebx
call fcn.00417ac0
mov cl, byte [esp + 0x24]
xor ebp, ebp
lea esi, [ebx + 0x34]
mov dword [ebx + 0x2c], ebp
mov dword [ebx + 0x30], ebp
mov edi, 0x476654
mov byte [esi], cl
or ecx, 0xffffffff
xor eax, eax
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov edi, ecx
mov ecx, esi
push edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], edi
call fcn.00404ce0
test al, al
je 0x405590
mov eax, dword [esi + 4]
mov ecx, edi
mov edx, ecx
mov esi, 0x476654
mov edi, eax
mov eax, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebx + 0x34]
call fcn.00404cc0
mov cl, byte [esp + 0x24]
lea edx, [ebx + 0x44]
mov edi, 0x476654
xor eax, eax
mov byte [edx], cl
or ecx, 0xffffffff
mov dword [edx + 4], ebp
mov dword [edx + 8], ebp
mov dword [edx + 0xc], ebp
mov byte [esp + 0x1c], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x476654
mov ecx, edx
call fcn.00402970
mov dl, byte [esp + 0x24]
lea esi, [ebx + 0x54]
mov edi, 0x476654
or ecx, 0xffffffff
xor eax, eax
mov byte [esi], dl
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x20], 2
mov edi, ecx
mov ecx, esi
push edi
mov dword [esp + 0x2c], edi
call fcn.00404ce0
test al, al
je 0x405622
mov eax, dword [esi + 4]
mov ecx, edi
mov edi, eax
mov eax, ecx
mov esi, 0x476654
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
push ecx
lea ecx, [ebx + 0x54]
call fcn.00404cc0
mov al, byte [esp + 0x24]
lea edx, [ebx + 0x64]
mov edi, 0x476654
or ecx, 0xffffffff
mov byte [edx], al
xor eax, eax
mov dword [edx + 4], ebp
mov dword [edx + 8], ebp
mov dword [edx + 0xc], ebp
mov byte [esp + 0x1c], 3
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x476654
mov ecx, edx
call fcn.00402970
lea ecx, [ebx + 0x184]
mov byte [esp + 0x1c], 4
mov dword [ebx + 0x74], ebp
mov dword [ebx + 0x17c], ebp
mov dword [ebx + 0x180], ebp
call fcn.004236d2
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword [ebx], vtable.CCPURequirements.0
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4115a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x456940
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x471ff8]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
mov cl, byte [esp + 0x30]
xor ebx, ebx
mov byte [esp + 0x10], cl
push ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], ebx
call fcn.00402a10
push 0xbc6
mov ecx, esi
mov dword [esp + 0x2c], 1
call fcn.0044d7ad
mov edi, eax
cmp edi, ebx
je 0x411615
mov edx, dword [esp + 0x30]
lea eax, [esp + 0xc]
push edx
push eax
mov ecx, esi
call fcn.004120a0
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, edi
call fcn.0044d8c4
push 0xbc8
mov ecx, esi
call fcn.0044d7ad
mov edi, eax
cmp edi, ebx
je 0x411644
mov edx, dword [esp + 0x34]
lea eax, [esp + 0xc]
push edx
push eax
mov ecx, esi
call fcn.004120a0
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, edi
call fcn.0044d8c4
push 0xbc7
mov ecx, esi
call fcn.0044d7ad
mov edi, eax
cmp edi, ebx
je 0x411673
mov edx, dword [esp + 0x38]
lea eax, [esp + 0xc]
push edx
push eax
mov ecx, esi
call fcn.004120a0
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, edi
call fcn.0044d8c4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
cmp eax, ebx
je 0x4116a0
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x411697
cmp al, 0xff
je 0x411697
dec al
mov byte [ecx], al
jmp 0x4116a0
push ecx
call fcn.0044a2a3
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.0044e267
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x41b720
Capabilities:
Get disk information

Disassembly:
sub esp, 0x10c
mov eax, dword [0x46b788]
push esi
mov esi, ecx
lea edx, [esp + 4]
mov cl, byte [esp + 0x114]
push edi
mov dword [esp + 8], eax
push edx
mov byte [esp + 0xc], cl
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x41b7f3
mov al, byte [esp + 8]
mov cl, byte [esp + 9]
mov dl, byte [0x476654]
mov byte [esp + 0xc], al
mov byte [esp + 0xd], cl
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], dl
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
mov byte [esp + 0x1a], 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
lea edx, [esp + 0x10]
push 0x46b780
push edx
call fcn.00435f1b
add esp, 8
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0xc], eax
je 0x41b7f3
lea eax, [esp + 8]
push eax
call fcn.0041dd13
add esp, 4
mov ecx, 0x14
call fcn.00435fa0
push 0
mov ecx, esi
mov edi, eax
call fcn.0040c770
mov ecx, dword [esi + 0x320]
cmp eax, ecx
jbe 0x41b7e1
xor eax, eax
sub ecx, eax
cmp edi, ecx
pop edi
sbb eax, eax
pop esi
inc eax
add esp, 0x10c
ret 4
pop edi
xor eax, eax
pop esi
add esp, 0x10c
ret 4

Function at 0x41c150
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x28
xor eax, eax
push esi
mov esi, ecx
push edi
mov ecx, 9
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x41c1eb
mov eax, dword [0x48677c]
test eax, eax
je 0x41c1eb
lea ecx, [esp + 8]
push ecx
call eax
push str.GetNativeSystemInfo:
push 0x10
push 0x476888
call fcn.004011d0
mov edx, dword [esp + 0x14]
add esp, 0xc
and edx, 0xffff
push edx
push str._____wProcessorArchitecture___d
push 0x10
push 0x476888
call fcn.004011d0
mov eax, dword [esp + 0x30]
add esp, 0x10
push eax
push str._____dwProcessorType__________d
push 0x10
push 0x476888
call fcn.004011d0
mov ecx, dword [esp + 0x3a]
add esp, 0x10
and ecx, 0xffff
push ecx
push str._____wProcessorRevision_______d
push 0x10
push 0x476888
call fcn.004011d0
add esp, 0x10
jmp 0x41c1f6
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xc8], eax
mov eax, dword [esp + 8]
and eax, 0xffff
je 0x41c255
cmp eax, 6
je 0x41c244
cmp eax, 9
je 0x41c233
push eax
push str.Unsupported_architecture_found___d_
push 0x400
push 0x476888
call fcn.004011d0
add esp, 0x10
pop edi
pop esi
add esp, 0x28
ret
mov dword [esi + 0xb4], 9
push str.AMD64_architecture_found.
jmp 0x41c264
mov dword [esi + 0xb4], 7
push str.Intel64_architecture_found.
jmp 0x41c264
mov dword [esi + 0xb4], 0
push str.Intel32_architecture_found.
push 0x10
push 0x476888
call fcn.004011d0
add esp, 0xc
pop edi
pop esi
add esp, 0x28
ret

Function at 0x41c280
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
push 0x100
lea eax, [esi + 0x350]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
add esi, 0x450
push 0x100
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
pop esi
ret
Function at 0x41c2b0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x20
push ebp
push str.CSysInfo::GetDrives__
push 2
mov ebp, ecx
push 0x476888
call fcn.004011d0
mov eax, dword [ebp + 0xa8]
add esp, 0xc
test eax, eax
jne 0x41c3be
push ebx
push esi
push edi
mov dword [ebp + 0xa8], 1
mov ebx, 0x63
mov al, byte [0x476654]
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x21], ecx
mov dword [esp + 0x11], edx
mov dword [esp + 0x25], ecx
mov dword [esp + 0x15], edx
mov byte [esp + 0x20], al
mov dword [esp + 0x29], ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x19], edx
push ebx
lea eax, [esp + 0x24]
mov word [esp + 0x31], cx
mov word [esp + 0x21], dx
push str._c:_
push eax
mov byte [esp + 0x3b], cl
mov byte [esp + 0x2b], dl
call fcn.00435e2f
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
sub eax, 3
je 0x41c36c
sub eax, 2
jne 0x41c3ae
push ebx
lea edx, [esp + 0x14]
push 0x46e388
push edx
call fcn.00435e2f
add esp, 0xc
lea edi, [esp + 0x10]
lea edx, [ebp + 0xcc]
jmp 0x41c389
push ebx
lea eax, [esp + 0x14]
push 0x46e388
push eax
call fcn.00435e2f
add esp, 0xc
lea edi, [esp + 0x10]
lea edx, [ebp + 0x10c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
inc ebx
lea eax, [ebx - 0x63]
cmp eax, 0x18
jl 0x41c2ea
pop edi
pop esi
pop ebx
push str.CSysInfo::GetDrives__
push 4
push 0x476888
call fcn.004011d0
add esp, 0xc
pop ebp
add esp, 0x20
ret

Function at 0x41c6c0
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x20
push esi
mov esi, ecx
mov eax, dword [esi + 0xac]
test eax, eax
jne 0x41c6ef
lea eax, [esp + 4]
mov dword [esi + 0xac], 1
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0xb8], ecx
mov eax, dword [esi + 0xb8]
pop esi
add esp, 0x20
ret
Function at 0x41c750
Capabilities:
Get disk information
Get disk size

Disassembly:
sub esp, 0x138
mov edx, dword [esp + 0x13c]
push ebx
xor ebx, ebx
push edi
cmp edx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x41c901
mov al, byte [0x476654]
xor ecx, ecx
mov dword [esp + 0xd], ecx
mov byte [esp + 0xc], al
mov dword [esp + 0x11], ecx
mov edi, 0x476654
mov byte [esp + 0x15], cl
or ecx, 0xffffffff
xor eax, eax
push ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push esi
lea ebp, [esp + 0x14]
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 1
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push ecx
call fcn.004369be
mov edi, 0x46b780
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
pop esi
cmp eax, 3
pop ebp
jne 0x41c901
mov cl, byte [esp + 0xc]
mov al, byte [0x476654]
mov byte [esp + 8], cl
mov dl, byte [esp + 0xd]
mov byte [esp + 0x3c], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x3d]
rep stosd dword es:[edi], eax
mov byte [esp + 9], dl
lea ecx, [esp + 0x3c]
stosw word es:[edi], ax
push 0x104
lea edx, [esp + 0xc]
push ecx
push edx
mov byte [esp + 0x16], bl
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
lea eax, [esp + 0x3c]
push 0x46b780
push eax
call fcn.00435f1b
add esp, 8
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x1c], eax
je 0x41c901
call fcn.0041f47b
test eax, eax
jne 0x41c8b7
call fcn.0042bda5
mov eax, dword [0x486d78]
cmp eax, ebx
je 0x41c8a4
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x14]
push ecx
push edx
call eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
pop edi
pop ebx
add esp, 0x138
ret 4
lea eax, [esp + 0x1c]
lea ecx, [esp + 8]
push eax
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov eax, dword [esp + 8]
pop edi
imul eax, dword [esp + 0x1c]
imul eax, dword [esp + 0x14]
xor edx, edx
pop ebx
add esp, 0x138
ret 4
xor eax, eax
pop edi
xor edx, edx
pop ebx
add esp, 0x138
ret 4
Function at 0x41dc36
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov al, byte [0x476654]
push edi
push 0x40
mov byte [ebp - 0x104], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x103]
push 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x104]
push eax
push 0x104
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
leave
ret

Function at 0x41dd13
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push edi
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
stosd dword es:[edi], eax
lea edi, [ebp - 0x20]
mov dword [ebp - 0x24], ebx
stosd dword es:[edi], eax
lea edi, [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x41dd46
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
jmp 0x41ddde
mov al, byte [eax]
lea edi, [ebp - 0x2e]
mov byte [ebp - 0x30], al
xor eax, eax
mov byte [ebp - 0x2f], bl
push 0x46b780
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x30]
push eax
call fcn.00437460
pop ecx
lea eax, [ebp - 0x30]
pop ecx
push eax
push str.Checking_space_of_drive_:__s_n
push 0x80
push 0x476888
call fcn.004011d0
add esp, 0x10
call fcn.0041f47b
test eax, eax
jne 0x41ddab
call fcn.0042bda5
mov eax, dword [0x486d78]
cmp eax, ebx
je 0x41dd3b
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x30]
push ecx
call eax
jmp 0x41dd3b
lea eax, [ebp - 0xc]
mov dword [ebp - 8], ebx
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov eax, dword [ebp + 8]
imul eax, dword [ebp - 4]
imul eax, dword [ebp - 8]
xor edx, edx
pop edi
pop ebx
leave
ret

Function at 0x41de1b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov al, byte [0x476654]
push esi
push edi
push 0x40
mov byte [ebp - 0x104], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
mov esi, dword [ebp + 8]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 4]
test eax, eax
jne 0x41de50
mov eax, 0x45a50c
lea ecx, [ebp - 0x104]
push 0
push ecx
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea eax, [ebp - 0x104]
push eax
call fcn.004373b0
pop ecx
push eax
lea eax, [ebp - 0x104]
push eax
mov ecx, esi
call fcn.00402970
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
pop edi
mov eax, ecx
pop esi
leave
ret
Function at 0x41e003
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov al, byte [0x476654]
push esi
push edi
push 0x40
mov byte [ebp - 0x104], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x104]
push 0
mov esi, 0x104
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov edi, eax
test edi, edi
je 0x41e069
cmp edi, esi
ja 0x41e069
push dword [ebp + 8]
call fcn.004373b0
cmp edi, eax
pop ecx
jae 0x41e069
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call fcn.00437450
pop ecx
pop ecx
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
pop edi
mov eax, ecx
pop esi
leave
ret