joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417780
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0040f4a0
add esp, 4
push esi
test eax, eax
jne 0x4177b4
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4177af
push 1
push 0x47c0b0
push esi
call fcn.00417630
add esp, 0xc
xor eax, eax
pop esi
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop esi
pop ebp
ret

Function at 0x4177c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x47e4f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4807bc]
test eax, eax
je 0x4177e9
cmp dword [0x4807b8], 0
jne 0x4178c2
mov ecx, dword [0x4807b4]
push esi
push edi
push 0x400
lea eax, [ebp - 0x804]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [ebp - 0x804]
push edx
call edi
xor esi, esi
cmp dword [0x4807b0], esi
jle 0x417832
lea ecx, [ecx]
lea eax, [ebp - 0x804]
push eax
call edi
inc esi
cmp esi, dword [0x4807b0]
jl 0x417820
push 0x469ab4
lea ecx, [ebp - 0x804]
push ecx
mov edx, ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x804]
push eax
call fcn.0040f4a0
add esp, 4
pop edi
pop esi
test eax, eax
jne 0x417887
lea ecx, [ebp - 0x804]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x417883
push 1
lea edx, [ebp - 0x804]
push 0x47c0b0
push edx
call fcn.00417630
add esp, 0xc
xor eax, eax
jmp 0x417894
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x4807b8], eax
test eax, eax
jne 0x4178ad
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445a92
mov esp, ebp
pop ebp
ret
push str.GetMiniUI4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4807bc], eax
test eax, eax
je 0x41789d
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445a92
mov esp, ebp
pop ebp
ret

Function at 0x418bf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x47e4f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x410
push eax
lea ecx, [ebp - 0x416]
push ecx
mov dword [ebp - 0x41c], 0
mov word [ebp - 0x418], ax
call fcn.00446080
add esp, 0xc
push 0
push 0x1a
lea edx, [ebp - 0x418]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x469aec
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x418]
push ecx
mov ecx, esi
call fcn.0040fbb0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00445a92
mov esp, ebp
pop ebp
ret
Function at 0x418c80
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x47e4f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x410
push eax
lea ecx, [ebp - 0x416]
push ecx
mov dword [ebp - 0x41c], 0
mov word [ebp - 0x418], ax
call fcn.00446080
add esp, 0xc
push 0
push 0x26
lea edx, [ebp - 0x418]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x418]
push eax
mov ecx, esi
call fcn.0040fbb0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00445a92
mov esp, ebp
pop ebp
ret

Function at 0x418d00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x47e4f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x410
push eax
lea ecx, [ebp - 0x416]
push ecx
mov dword [ebp - 0x41c], 0
mov word [ebp - 0x418], ax
call fcn.00446080
add esp, 0xc
push 0
push 0
lea edx, [ebp - 0x418]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x418]
push eax
mov ecx, esi
call fcn.0040fbb0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00445a92
mov esp, ebp
pop ebp
ret

Function at 0x418d80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x47e4f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x410
push eax
lea ecx, [ebp - 0x416]
push ecx
mov dword [ebp - 0x41c], 0
mov word [ebp - 0x418], ax
call fcn.00446080
add esp, 0xc
push 0
push 6
lea edx, [ebp - 0x418]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x418]
push eax
mov ecx, esi
call fcn.0040fbb0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00445a92
mov esp, ebp
pop ebp
ret
Function at 0x418e00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462238
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x47e4f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
test esi, esi
je 0x418f2b
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x418e4e
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push esi
lea ecx, [ebp + 8]
call fcn.0040fbb0
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 1
mov dword [ebp - 4], 0
jle 0x418e76
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp + 8]
call fcn.0040f1c0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00448e74
add esp, 8
test eax, eax
jl 0x418f3d
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx - 8]
jg 0x418f3d
mov dword [ecx - 0xc], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 8]
push eax
call fcn.00418e00
add esp, 4
test eax, eax
je 0x418f05
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov esi, eax
mov eax, dword [ebp + 8]
neg esi
sbb esi, esi
add eax, 0xfffffff0
inc esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418ef3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418f2b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00403db0
int3
Function at 0x4191e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4622a8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x47e4f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x18], esi
cmp dword [ebp + 0xc], esi
je 0x419393
cmp dword [ebp + 0x10], esi
je 0x419393
mov ebx, dword [ebp + 0x14]
cmp ebx, esi
je 0x419393
push 0x472350
lea ecx, [ebp - 0x14]
call fcn.0040fbb0
xor ecx, ecx
mov eax, 0x105
mov edx, 2
mul edx
seto cl
push 0x481e06
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 0x18], 1
neg ecx
or ecx, eax
push ecx
call fcn.00449454
mov esi, eax
add esp, 8
test esi, esi
je 0x419342
mov eax, dword [ebp - 0x10]
lea ecx, [eax + eax + 2]
push ecx
push 0
push esi
call fcn.00446080
mov edx, dword [ebp - 0x10]
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
lea eax, [edx + edx]
push esi
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
push ebx
push eax
push ecx
call edi
cmp eax, 0xea
jne 0x419310
push esi
call fcn.004465a0
mov eax, dword [ebp - 0x10]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
push 0x481e06
neg ecx
or ecx, eax
push ecx
call fcn.00449454
mov esi, eax
add esp, 0xc
test esi, esi
je 0x419342
mov eax, dword [ebp - 0x10]
lea ecx, [eax + eax + 2]
push ecx
push 0
push esi
call fcn.00446080
mov edx, dword [ebp - 0x10]
add esp, 0xc
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
lea eax, [edx + edx]
push esi
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
push ebx
push eax
push ecx
call edi
test eax, eax
jne 0x419339
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419320
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.0040f6c0
push esi
call fcn.004465a0
add esp, 4
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.0040f250
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4193a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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
mov esi, dword [ebp + 8]
push 0x472350
mov ecx, esi
call fcn.0040fbb0
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
Function at 0x4193f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4622db
mov eax, dword fs:[0]
push eax
sub esp, 0x348
mov eax, dword [0x47e4f0]
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 ebx, dword [ebp + 8]
lea eax, [ebp - 0x300]
push eax
lea ecx, [ebp - 0x2e0]
push ecx
push str.open
push 0x469b94
push 1
xor edi, edi
push edi
mov dword [ebp - 0x300], 0x168
call dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
test eax, eax
jl 0x4195d8
xor edx, edx
lea eax, [ebp - 0x2e0]
mov word [ebp - 0x2f8], dx
mov dword [ebp - 0x2e4], 7
mov dword [ebp - 0x2e8], edi
lea edx, [eax + 2]
jmp 0x419480
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x419480
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x2e0]
push eax
lea ecx, [ebp - 0x2fc]
call fcn.00417ee0
push 2
push edi
push 0x469b8c
lea ecx, [ebp - 0x2fc]
mov dword [ebp - 4], edi
call fcn.00416960
cmp eax, 0xffffffff
je 0x4194e3
mov ecx, ebx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x4194c2
sub ecx, esi
sar ecx, 1
push ecx
push ebx
push 2
push eax
lea ecx, [ebp - 0x2fc]
call fcn.00418570
jmp 0x41951c
push 1
push 0x469b88
lea ecx, [ebp - 0x2fc]
call fcn.00417db0
mov eax, ebx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x419500
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [ebp - 0x2fc]
call fcn.00417db0
mov ecx, 0x44
lea eax, [ebp - 0x354]
mov byte [eax], 0
inc eax
sub ecx, 1
jne 0x419527
mov ecx, 0x10
lea eax, [ebp - 0x310]
jmp 0x419540
mov byte [eax], 0
inc eax
sub ecx, 1
jne 0x419540
mov eax, dword [ebp - 0x2f8]
mov edi, 8
mov dword [ebp - 0x354], 0x44
cmp dword [ebp - 0x2e4], edi
jae 0x41956c
lea eax, [ebp - 0x2f8]
lea ecx, [ebp - 0x310]
push ecx
lea edx, [ebp - 0x354]
push edx
push 0
push eax
push 0
call fcn.00416370
add esp, 0x14
test eax, eax
je 0x4195c1
mov eax, dword [ebp - 0x310]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [ebp - 0x30c]
push ecx
call esi
cmp dword [ebp - 0x2e4], edi
jb 0x4195ba
mov edx, dword [ebp - 0x2f8]
push edx
call fcn.004459ea
add esp, 4
mov eax, 1
jmp 0x4195f7
cmp dword [ebp - 0x2e4], edi
jb 0x4195d8
mov eax, dword [ebp - 0x2f8]
push eax
call fcn.004459ea
add esp, 4
push 0xa
push 0
push 0
push ebx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, 0x20
cmp ecx, eax
sbb eax, eax
neg eax
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.00445a92
mov esp, ebp
pop ebp
ret
Function at 0x419620
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462318
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x47e4f0]
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
push 0x469ba4
lea ecx, [ebp - 0x20]
xor ebx, ebx
call fcn.0040fbb0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.00417960
push 1
push 0x469ba0
lea ecx, [ebp - 0x20]
call fcn.004179c0
mov ecx, dword [ebp - 0x20]
push ebx
push ebx
push 3
push ebx
push 3
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4196f0
push 0x228
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], ebx
call fcn.004488b5
add esp, 4
push ebx
lea edx, [ebp - 0x24]
push edx
push 0x227
mov edi, eax
push edi
push 0xc
lea eax, [ebp - 0x1c]
push eax
push 0x2d1400
push esi
mov dword [edi + 4], 0x227
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4196e0
cmp dword [edi + 0x1c], 7
jne 0x4196e0
mov ebx, 1
push edi
call fcn.004465ab
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419716
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
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.00445a92
mov esp, ebp
pop ebp
ret
Function at 0x41a2f0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46241b
mov eax, dword fs:[0]
push eax
sub esp, 0x410
mov eax, dword [0x47e4f0]
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, dword [ebp + 8]
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x414], eax
cmp dword [edi + 0xc], eax
jbe 0x41a334
call fcn.00446257
mov esi, dword [edi + 0xc]
mov ebx, dword [edi]
cmp esi, dword [edi + 0x10]
jbe 0x41a343
call fcn.00446257
mov ecx, dword [ebp - 0x414]
mov eax, dword [edi]
push ecx
push ebx
push esi
push eax
lea edx, [ebp - 0x41c]
push edx
mov ecx, edi
call fcn.00419d90
push 0x3fe
xor esi, esi
lea ecx, [ebp - 0x40e]
xor eax, eax
push esi
push ecx
mov word [ebp - 0x410], ax
call fcn.00446080
add esp, 0xc
lea edx, [ebp - 0x410]
push edx
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp eax, esi
je 0x41a43b
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x414]
call fcn.0040fbb0
mov eax, dword [ebp - 0x414]
mov ecx, dword [eax - 0xc]
or ebx, 0xffffffff
mov dword [ebp - 4], esi
test ecx, ecx
je 0x41a41f
lea esp, [esp]
lea ecx, [ebp - 0x414]
push ecx
mov ecx, edi
call fcn.0041a270
mov eax, dword [ebp - 0x414]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff0
lea esi, [esi + ecx + 1]
mov dword [ebp - 4], ebx
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41a3f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + esi*2 - 0x410]
push ecx
lea ecx, [ebp - 0x414]
call fcn.0040fbb0
mov eax, dword [ebp - 0x414]
cmp dword [eax - 0xc], 0
mov dword [ebp - 4], 0
jne 0x41a3c0
add eax, 0xfffffff0
mov dword [ebp - 4], ebx
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jg 0x41a43b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.00445a92
mov esp, ebp
pop ebp
ret
Function at 0x41a460
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462458
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x47e4f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x10]
mov dword [ebp + 8], eax
cmp dword [ebx + 0xc], eax
jbe 0x41a49b
call fcn.00446257
mov esi, dword [ebx + 0xc]
mov edi, dword [ebx]
cmp esi, dword [ebx + 0x10]
jbe 0x41a4aa
call fcn.00446257
mov ecx, dword [ebp + 8]
mov eax, dword [ebx]
push ecx
push edi
push esi
push eax
lea edx, [ebp - 0x14]
push edx
mov ecx, ebx
call fcn.00419d90
lea ecx, [ebp - 0x2c]
call fcn.00420560
lea eax, [ebp - 0x2c]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.0041a2f0
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
add esp, 4
sar eax, 2
cmp esi, eax
jae 0x41a54f
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + esi*4]
push eax
call edi
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x20]
sar edx, 2
cmp esi, edx
jb 0x41a505
call fcn.00446257
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + esi*4]
cmp dword [eax - 0xc], 0
jl 0x41a570
movzx eax, word [eax]
push eax
call fcn.00419620
add esp, 4
test eax, eax
je 0x41a541
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x20]
sar ecx, 2
cmp esi, ecx
jb 0x41a533
call fcn.00446257
mov edx, dword [ebp - 0x20]
lea eax, [edx + esi*4]
push eax
mov ecx, ebx
call fcn.0041a270
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
inc esi
sar eax, 2
cmp esi, eax
jb 0x41a4ea
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.00419e80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00403db0
int3
Function at 0x41a840
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x47e4f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4807c4]
test eax, eax
je 0x41a869
cmp dword [0x4807b8], 0
jne 0x41a959
mov ecx, dword [0x4807b4]
push esi
push edi
push 0x400
lea eax, [ebp - 0x804]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [ebp - 0x804]
push edx
call edi
xor esi, esi
cmp dword [0x4807b0], esi
jle 0x41a8b2
lea ecx, [ecx]
lea eax, [ebp - 0x804]
push eax
call edi
inc esi
cmp esi, dword [0x4807b0]
jl 0x41a8a0
push 0x469ab4
lea ecx, [ebp - 0x804]
push ecx
mov edx, ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x804]
push eax
call fcn.0040f4a0
add esp, 4
pop edi
pop esi
test eax, eax
jne 0x41a907
lea ecx, [ebp - 0x804]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41a903
push 1
lea edx, [ebp - 0x804]
push 0x47c0b0
push edx
call fcn.00417630
add esp, 0xc
xor eax, eax
jmp 0x41a914
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x4807b8], eax
test eax, eax
je 0x41a949
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4807c4], eax
test eax, eax
jne 0x41a959
mov ecx, dword [0x4807b8]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4807b8], 0
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445a92
mov esp, ebp
pop ebp
ret
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445a92
mov esp, ebp
pop ebp
ret
Function at 0x41d450
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462763
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x47e4f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], eax
mov dword [ebp - 4], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x24], vtable.IDynamicScrollBarCallback.0
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 1
mov dword [esi], vtable.CDynamicListViewEx.1.0
mov dword [esi + 0x24], vtable.CDynamicListViewEx.0
call fcn.00420560
push str.32770
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], 6
mov dword [esi + 0x70], 0x70
mov dword [esi + 0x74], 0xf9f5f0
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov ecx, dword [0x48136c]
push 0x469f1c
push ecx
call fcn.0041c7f0
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
add esp, 0xc
mov dword [esi + 0x5c], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41d6f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x47e4f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4807c8]
test eax, eax
je 0x41d719
cmp dword [0x4807b8], 0
jne 0x41d7f2
mov ecx, dword [0x4807b4]
push esi
push edi
push 0x400
lea eax, [ebp - 0x804]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [ebp - 0x804]
push edx
call edi
xor esi, esi
cmp dword [0x4807b0], esi
jle 0x41d762
lea ecx, [ecx]
lea eax, [ebp - 0x804]
push eax
call edi
inc esi
cmp esi, dword [0x4807b0]
jl 0x41d750
push 0x469ab4
lea ecx, [ebp - 0x804]
push ecx
mov edx, ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x804]
push eax
call fcn.0040f4a0
add esp, 4
pop edi
pop esi
test eax, eax
jne 0x41d7b7
lea ecx, [ebp - 0x804]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41d7b3
push 1
lea edx, [ebp - 0x804]
push 0x47c0b0
push edx
call fcn.00417630
add esp, 0xc
xor eax, eax
jmp 0x41d7c4
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x4807b8], eax
test eax, eax
jne 0x41d7dd
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445a92
mov esp, ebp
pop ebp
ret
push str.GetMiniUI2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4807c8], eax
test eax, eax
je 0x41d7cd
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445a92
mov esp, ebp
pop ebp
ret