joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413333
Capabilities:
Read .ini file

Disassembly:
push 0x82c
mov eax, 0x596b3f
call fcn.004103bb
mov edi, ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0x10]
push 0x800
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x810]
push ecx
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x838], esi
mov dword [ebp - 0x834], ecx
call fcn.00430680
lea eax, [edi + 0x8c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x413390
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push ebx
push dword [ebp - 0x82c]
push dword [ebp - 0x830]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.00401680
and dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x834], 1
jb 0x4133d6
mov eax, dword [esi]
jmp 0x4133d8
mov eax, esi
push ebx
push eax
call fcn.00433f11
pop ecx
pop ecx
test eax, eax
jne 0x413424
cmp byte [edi + 5], 0
lea eax, [ebp - 0x828]
push ebx
push dword [ebp - 0x82c]
mov ecx, edi
push dword [ebp - 0x830]
push eax
je 0x413408
call fcn.0041313c
jmp 0x41340d
call fcn.004131f6
push eax
mov ecx, esi
call fcn.004038c3
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.00401b31
mov eax, esi
call fcn.00410376
ret 0x10
Function at 0x413fd6
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa44
mov eax, dword [0x61e088]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
xor esi, esi
lea eax, [ebp - 0x20c]
push esi
push eax
mov edi, ecx
call fcn.00430680
lea eax, [edi + 0x2c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x41400f
mov eax, dword [eax]
push str.Config
push eax
lea eax, [ebp - 0x20c]
push 0x59c67c
push eax
call fcn.0040351f
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x414047
lea eax, [ebp - 0x20c]
push eax
call fcn.00415e88
pop ecx
push 0x208
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00430680
push str.UseVestige.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x59a6c0
push eax
call fcn.0040351f
add esp, 0x1c
cmp word [ebp - 0x414], si
jne 0x414086
mov eax, esi
jmp 0x414093
lea eax, [ebp - 0x414]
push eax
call fcn.00433f51
pop ecx
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [edi + 0x8c]
call fcn.00401c7b
push 0x208
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.00430680
push str.UseCache.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push 0x59a6c0
push eax
call fcn.0040351f
add esp, 0x1c
cmp word [ebp - 0x61c], si
jne 0x4140e5
mov eax, esi
jmp 0x4140f2
lea eax, [ebp - 0x61c]
push eax
call fcn.00433f51
pop ecx
push eax
lea eax, [ebp - 0x61c]
push eax
lea ecx, [edi + 0xa4]
call fcn.00401c7b
push 0x208
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.00430680
lea eax, [ebp - 0xa44]
push str.WSRT
push eax
call fcn.00416b00
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x414133
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x824]
push 0x59a6ac
push eax
call fcn.0040351f
add esp, 0xc
lea ecx, [ebp - 0xa44]
push esi
push 1
call fcn.00401b31
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x414174
lea eax, [ebp - 0x824]
push eax
call fcn.00415e88
pop ecx
push 0x208
lea eax, [ebp - 0xa2c]
push esi
push eax
call fcn.00430680
push str.UseCache.ini
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0xa2c]
push 0x59a6c0
push eax
call fcn.0040351f
add esp, 0x1c
cmp word [ebp - 0xa2c], si
je 0x4141be
lea eax, [ebp - 0xa2c]
push eax
call fcn.00433f51
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0xa2c]
push eax
lea ecx, [edi + 0xbc]
call fcn.00401c7b
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00410350
mov esp, ebp
pop ebp
ret
Function at 0x4147d2
Capabilities:
Read .ini file

Disassembly:
push 0x23c
mov eax, 0x596c39
call fcn.004103bb
mov ebx, ecx
call fcn.00413013
lea edi, [ebx + 0xd4]
push eax
mov ecx, edi
call fcn.00401c54
mov esi, str.WindowsResetMaster.ini
push esi
call fcn.00433f51
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00402595
push str.resetgf
push 0x59b688
push str.AppInfo
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.00413333
lea esi, [ebx + 0xec]
push eax
mov ecx, esi
call fcn.004038c3
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00401b31
push str.resetgf
mov ecx, esi
call fcn.0040533d
test eax, eax
jne 0x4148c1
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00430680
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x414872
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
mov edi, str.resetgf
push eax
push edi
push 0x59b688
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x4148a3
xor eax, eax
jmp 0x4148b0
lea eax, [ebp - 0x218]
push eax
call fcn.00433f51
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00401c7b
jmp 0x4148c6
mov edi, str.resetgf
push edi
mov ecx, esi
call fcn.0040533d
test eax, eax
jne 0x414989
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00430680
add esp, 0xc
lea eax, [ebx + 0x5c]
lea ecx, [ebp - 0x230]
push eax
call fcn.00401658
and dword [ebp - 4], 0
push str.WindowsResetMaster.ini
call fcn.00433f51
pop ecx
push eax
push str.WindowsResetMaster.ini
lea ecx, [ebp - 0x230]
call fcn.00402595
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
push 0x59b688
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x41495a
xor eax, eax
jmp 0x414967
lea eax, [ebp - 0x218]
push eax
call fcn.00433f51
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00401c7b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
push 0
push 1
call fcn.00401b31
push edi
mov ecx, esi
call fcn.0040533d
test eax, eax
jne 0x4149c5
push edi
push 0x59b688
push str.AppInfo
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.004131cc
push eax
mov ecx, esi
call fcn.004038c3
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.00401b31
call fcn.00410376
ret
Function at 0x415e88
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.00433f51
mov dword [ebp - 8], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00410461
push dword [ebp + 8]
mov dword [ebp - 4], eax
push eax
call fcn.0043eb48
add esp, 0x10
call fcn.0041149d
test al, al
je 0x415ee9
pop edx
push esi
pop edx
push esi
push ebp
push esp
pop edi
push eax
pop edi
push edx
pop esi
pop esi
push ecx
pop ebx
pop ebx
push ebp
pop esp
push esi
pop ebp
pop eax
pop ecx
push ecx
push eax
pop edi
push esi
pop ebp
push esi
pop ebx
pop ecx
push eax
pop ebp
push edi
call fcn.004114e2
test al, al
je 0x415f03
pop esi
push esp
push ecx
pop edx
push ebp
pop edx
push eax
pop eax
push esp
pop ebx
push ebp
push eax
pop esi
pop eax
pop ebx
push edi
push esp
call fcn.004117d9
test al, al
je 0x415f2c
push edx
push esp
pop esp
pop esi
push ebx
pop eax
pop edi
push eax
push ecx
pop esp
pop edi
push edi
pop esp
pop ebp
pop ecx
pop ecx
push eax
push eax
push ecx
pop edi
pop ebp
pop ebp
push esp
pop ebx
push ebp
push eax
push ecx
push ebx
pop ebp
pop esp
pop eax
pop ecx
mov eax, dword [ebp - 8]
xor esi, esi
xor ebx, ebx
inc esi
mov dword [ebp - 0xc], ebx
test eax, eax
js 0x415fe9
mov esi, dword [ebp - 4]
cmp word [esi + ebx*2], 0x5c
jne 0x415fda
call fcn.004114e2
test al, al
je 0x415f73
push eax
pop esi
pop edi
pop esp
push esi
pop edi
pop ecx
pop ebp
push ebx
pop ebp
push ecx
push ecx
push eax
push edi
push ebx
pop esi
pop eax
pop edx
push esi
push esp
push edi
pop ecx
pop ebx
push ecx
pop ebx
push edx
pop edx
pop esp
pop edx
call fcn.0041111c
test al, al
je 0x415f92
push ebp
pop ecx
push esp
pop edx
push ecx
push ebx
push edi
push esp
pop ebx
pop eax
pop edx
pop edx
push ebx
pop esi
pop ecx
push ebx
push esi
pop ecx
push ebx
push edx
push ebp
pop edi
call fcn.004112ff
test al, al
je 0x415fac
push edi
pop esp
pop edx
push eax
push edx
pop ebp
push ebx
push esp
push esp
pop esi
pop esp
pop eax
push ebx
push ecx
push esp
push esp
pop ecx
mov esi, dword [ebp - 4]
xor eax, eax
mov ebx, dword [ebp - 0xc]
push esi
movzx edi, word [esi + ebx*2]
mov word [esi + ebx*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x415fd3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x415ffb
mov eax, dword [ebp - 8]
mov word [esi + ebx*2], di
inc ebx
mov dword [ebp - 0xc], ebx
cmp ebx, eax
jle 0x415f42
xor esi, esi
inc esi
push dword [ebp - 4]
call fcn.0041046a
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
jmp 0x415fe9
Function at 0x416310
Capabilities:
Get common file path
Get disk information

Disassembly:
push 0x22c
mov eax, 0x596dd8
call fcn.004103bb
mov eax, dword [ebp + 8]
xor esi, esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push esi
push esi
mov dword [ebp - 0x238], eax
call ebx
mov edi, eax
test edi, edi
je 0x416436
push 0x208
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00430680
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor ecx, ecx
lea esi, [edi + 1]
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00410461
push esi
xor ecx, ecx
mov dword [ebp - 0x234], eax
push ecx
push eax
call fcn.00430680
add esp, 0x10
push dword [ebp - 0x234]
push edi
call ebx
mov ebx, dword [ebp - 0x234]
xor eax, eax
mov esi, ebx
cmp word [ebx], ax
je 0x41642f
mov bh, byte [ebp + 0xc]
mov bl, byte [ebp + 0x10]
mov edi, dword [ebp - 0x238]
test bh, bh
je 0x4163d0
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.004307da
pop ecx
pop ecx
test eax, eax
jne 0x416415
test bl, bl
je 0x4163e2
movzx eax, byte [esi]
push eax
call fcn.004171ff
pop ecx
test al, al
jne 0x416415
push esi
lea ecx, [ebp - 0x230]
call fcn.00401680
xor ecx, ecx
lea eax, [ebp - 0x230]
mov dword [ebp - 4], ecx
mov ecx, edi
push eax
call fcn.00406eed
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
xor eax, eax
push eax
push 1
call fcn.00401b31
push esi
call fcn.00433f51
pop ecx
lea esi, [esi + eax*2]
xor eax, eax
add esi, 2
cmp word [esi], ax
jne 0x4163b9
mov ebx, dword [ebp - 0x234]
push ebx
call fcn.0041046a
pop ecx
call fcn.00410376
ret
Function at 0x41643c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x61e088]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20c]
push ebx
push esi
mov dword [ebp - 0x218], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x214], eax
xor eax, eax
push eax
push 0x1a
push ecx
push eax
call fcn.00416f98
lea eax, [ebp - 0x20c]
push eax
call fcn.00433f51
add esp, 0x14
mov dword [ebp - 0x210], eax
call fcn.004111eb
test al, al
je 0x4164ae
pop edi
pop edi
push esp
pop esp
pop edx
pop esi
pop ebx
pop ebx
push edi
push eax
pop esi
pop edx
pop ebx
pop ecx
push ebx
pop edi
pop ebx
pop esi
pop esi
push ebx
pop edx
pop ecx
push ecx
push esi
pop ebp
push eax
call fcn.004118a8
test al, al
je 0x4164c8
pop ebx
pop ebp
push esi
push eax
pop edi
push ecx
pop esi
pop edx
pop edx
push ebx
pop esi
push ebp
pop ebp
pop ebx
pop esi
pop ebx
pop edi
cmp dword [ebp - 0x210], 0
je 0x4165c4
mov esi, 0x59a69c
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00433f6c
push dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push eax
call fcn.00433f6c
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00433f6c
add esp, 0x18
call fcn.004113ce
test al, al
je 0x41652e
pop eax
pop ebp
pop edi
push ebx
push esi
pop edx
pop esp
push edx
pop esi
pop edx
push esp
pop edx
push ebx
pop edi
push esp
push ebp
push edx
pop esp
push edx
push edi
push esp
pop esp
pop ecx
pop ecx
pop ebx
push edi
push ebp
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41654c
lea eax, [ebp - 0x20c]
push eax
call fcn.00415e88
pop ecx
call fcn.004111a6
test al, al
je 0x416570
pop esi
pop eax
push edx
push edx
push esi
pop esp
pop eax
pop edi
pop esi
pop esp
push esi
pop eax
push esp
push eax
push ebp
push ebx
pop ebp
push edx
push esp
pop edx
push edx
pop edx
push edx
push eax
pop eax
pop ecx
push esp
call fcn.0041170a
test al, al
je 0x416596
push edx
pop ebp
pop ebx
pop ecx
pop ebx
push ebx
pop ebx
push edi
pop esi
push edx
push ebx
pop ebp
push ecx
push ecx
pop esp
pop edi
pop edx
push eax
pop ebp
pop esi
pop edi
push edx
pop ebp
push ebp
pop eax
push ebx
push edx
push eax
pop eax
cmp word [ebp - 0x20c], 0
jne 0x4165a4
xor eax, eax
jmp 0x4165b1
lea eax, [ebp - 0x20c]
push eax
call fcn.00433f51
pop ecx
mov ecx, dword [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00401c7b
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410350
mov esp, ebp
pop ebp
ret
Function at 0x4165d5
Capabilities:
Get disk information
Get disk size

Disassembly:
push 0x4c
mov eax, 0x596e29
call fcn.004103bb
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
xor eax, eax
inc eax
push eax
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.00416310
mov dword [edi + 0x14], 7
add esp, 0xc
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], ebx
jb 0x41661d
mov eax, dword [edi]
jmp 0x41661f
mov eax, edi
xor ecx, ecx
mov word [eax], cx
mov esi, dword [ebp - 0x40]
xorps xmm0, xmm0
mov dword [ebp - 0x44], 1
movlpd qword [ebp - 0x30], xmm0
cmp esi, dword [ebp - 0x3c]
je 0x4166e0
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00401658
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
je 0x4166c4
cmp eax, 5
je 0x4166c4
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x4166c4
mov ecx, dword [ebp - 0x2c]
cmp ecx, ebx
jb 0x4166c4
mov eax, dword [ebp - 0x30]
ja 0x4166a4
cmp eax, dword [ebp - 0x34]
jbe 0x4166c4
lea edx, [ebp - 0x28]
cmp edi, edx
je 0x4166bf
push 0xffffffffffffffff
push 0
mov eax, edx
mov ecx, edi
push eax
call fcn.00401bbf
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov ebx, ecx
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00401b31
add esi, 0x18
cmp esi, dword [ebp - 0x3c]
jne 0x416648
lea ecx, [ebp - 0x40]
call fcn.00406def
mov eax, edi
call fcn.00410376
ret
Function at 0x416982
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x61e088]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x623420], 0
push ebx
push esi
push edi
je 0x4169f4
call fcn.004111a6
test al, al
je 0x4169c5
pop esi
pop eax
push edx
push edx
push esi
pop esp
pop eax
pop edi
pop esi
pop esp
push esi
pop eax
push esp
push eax
push ebp
push ebx
pop ebp
push edx
push esp
pop edx
push edx
pop edx
push edx
push eax
pop eax
pop ecx
push esp
call fcn.0041170a
test al, al
je 0x416aea
push edx
pop ebp
pop ebx
pop ecx
pop ebx
push ebx
pop ebx
push edi
pop esi
push edx
push ebx
pop ebp
push ecx
push ecx
pop esp
pop edi
pop edx
push eax
pop ebp
pop esi
pop edi
push edx
pop ebp
push ebp
pop eax
push ebx
push edx
push eax
pop eax
jmp 0x416aea
call fcn.004111a6
test al, al
je 0x416a0f
pop edi
pop esi
push ebp
push esi
pop edi
push eax
pop eax
push esi
pop edx
pop edi
push ecx
pop eax
push edx
pop ecx
push ebp
pop ecx
push ebx
pop edx
call fcn.0041174f
test al, al
je 0x416a36
pop esp
push eax
pop esi
pop esi
push eax
push eax
push edi
push ecx
pop ebx
push eax
push edi
push ebp
pop esp
push eax
push esi
push ebp
push ecx
pop esi
push eax
pop edx
pop edi
push ecx
pop eax
push esp
push esi
pop edx
pop esp
pop ebx
push eax
push esi
call fcn.004112ba
test al, al
je 0x416a51
push eax
pop edi
pop ecx
push ebp
pop edi
pop ecx
push ecx
push ecx
push edi
pop ebp
pop ebx
pop ecx
push eax
push edi
push ebx
push edi
push ebx
push esp
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00430680
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x416ac1
lea eax, [ebp - 0x20c]
push eax
call fcn.0043ffb1
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.004307da
pop ecx
pop ecx
test eax, eax
jne 0x416aba
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.004307da
pop ecx
pop ecx
test eax, eax
je 0x416ac1
mov byte [0x623420], 1
call fcn.00411413
test al, al
je 0x416aea
pop esp
push edi
pop esi
pop esp
pop edx
push ebp
push ebp
pop edx
pop edx
pop ebp
pop edi
push edi
pop edx
pop eax
pop ecx
push esp
push ebp
push ebp
push ebp
push edx
pop esi
pop edi
push eax
pop ebp
pop edi
pop ebx
push ebx
pop edx
push eax
pop esi
pop edx
pop esi
mov ecx, dword [ebp - 4]
mov al, byte [0x623420]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00410350
mov esp, ebp
pop ebp
ret
Function at 0x41ce48
Capabilities:
Get disk information
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa38
mov eax, dword [0x61e088]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push ebx
push 0x59a528
mov dword [ebp - 0xa38], eax
call fcn.00401c7b
push 0x20a
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.00430680
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x105
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jne 0x41ceaa
xor al, al
jmp 0x41d068
push ebx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
call ebx
mov esi, eax
test esi, esi
je 0x41cea3
push edi
xor ecx, ecx
lea eax, [esi + 1]
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00410461
mov edi, eax
pop ecx
test edi, edi
je 0x41cf1f
lea eax, [esi*2 + 2]
push eax
push 0
push edi
call fcn.00430680
add esp, 0xc
push edi
push esi
call ebx
test eax, eax
je 0x41cf18
mov eax, dword [0x59df38]
mov ebx, 0x208
mov dword [ebp - 0xc], eax
mov ax, word [0x59df3c]
push ebx
mov word [ebp - 8], ax
call fcn.00410461
mov esi, eax
pop ecx
test esi, esi
jne 0x41cf26
push edi
call fcn.0041046a
pop ecx
xor al, al
jmp 0x41d067
push ebx
push 0
push esi
call fcn.00430680
add esp, 0xc
mov ebx, edi
mov ax, word [ebx]
push 0x104
mov word [ebp - 0xc], ax
lea eax, [ebp - 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x41cfab
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x41d053
push esi
call fcn.0041046a
xor eax, eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00410461
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x41d053
push 2
pop eax
push eax
push 0
push esi
call fcn.00430680
add esp, 0xc
lea eax, [ebp - 0xc]
push 1
push esi
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x41d053
push esi
call fcn.00433f51
push eax
mov dword [ebp - 0xa34], eax
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00445221
add esp, 0x10
test eax, eax
je 0x41cfe6
push 2
pop ecx
mov ax, word [ebx]
add ebx, ecx
test ax, ax
jne 0x41cfcf
xor eax, eax
cmp word [ebx], ax
jne 0x41cf34
jmp 0x41d053
push 0x800
xor ebx, ebx
lea eax, [ebp - 0xa18]
push ebx
push eax
call fcn.00430680
mov eax, dword [ebp - 0xa34]
lea ecx, [ebp - 0x218]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x59a6c0
lea eax, [ebp - 0xa18]
push 0x400
push eax
call fcn.0041dabc
add esp, 0x20
lea eax, [ebp - 0xa18]
lea ecx, [ebp - 0xa30]
push eax
call fcn.00401680
mov ecx, dword [ebp - 0xa38]
push eax
call fcn.004038c3
push ebx
push 1
lea ecx, [ebp - 0xa30]
call fcn.00401b31
push edi
call fcn.0041046a
pop ecx
test esi, esi
je 0x41d065
push esi
call fcn.0041046a
pop ecx
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00410350
mov esp, ebp
pop ebp
ret
Function at 0x41d078
Capabilities:
Enumerate processes

Disassembly:
push 0x46c
mov eax, 0x5977c0
call fcn.004103bb
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x230]
xor ebx, ebx
mov dword [ebp - 0x21c], 7
push ebx
xor eax, eax
mov dword [ebp - 0x478], ebx
push 0x59a528
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x230], ax
call fcn.00401c7b
mov esi, 0x22c
mov dword [ebp - 4], ebx
push esi
lea eax, [ebp - 0x474]
push ebx
push eax
call fcn.00430680
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41d0f5
push 0x59a528
mov ecx, edi
call fcn.00401680
jmp 0x41d28b
lea eax, [ebp - 0x474]
mov dword [ebp - 0x474], esi
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41d276
mov esi, dword [ebp + 0xc]
and dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp word [ebp - 0x450], ax
je 0x41d143
lea eax, [ebp - 0x450]
push eax
call fcn.00433f51
pop ecx
push eax
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x248]
call fcn.00401c7b
mov byte [ebp - 4], 1
cmp dword [ebp - 0x46c], esi
je 0x41d18b
push 0
push 1
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0
call fcn.00401b31
lea eax, [ebp - 0x474]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41d113
jmp 0x41d276
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00430680
add esp, 0xc
push dword [ebp - 0x46c]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41d267
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
cmp word [ebp - 0x218], 0
jne 0x41d1e0
xor eax, eax
jmp 0x41d1ed
lea eax, [ebp - 0x218]
push eax
call fcn.00433f51
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00401c7b
push 0x59a528
lea ecx, [ebp - 0x230]
call fcn.0040533d
test eax, eax
jne 0x41d260
lea eax, [ebp - 0x230]
push eax
push esi
call fcn.0041ce48
pop ecx
pop ecx
push 0x59a528
lea ecx, [ebp - 0x230]
call fcn.0040533d
test eax, eax
jne 0x41d260
cmp word [ebp - 0x450], ax
je 0x41d24d
lea eax, [ebp - 0x450]
push eax
call fcn.00433f51
pop ecx
push eax
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x230]
call fcn.00401c7b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.00401b31
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x230]
mov ecx, edi
push eax
call fcn.004050da
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00401b31
mov eax, edi
call fcn.00410376
ret