joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42cada
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x34b]
push ebx
push eax
mov byte [ebp - 0x34c], bl
call fcn.004670a0
push esi
lea eax, [ebp - 0x143]
push ebx
push eax
mov byte [ebp - 0x144], bl
call fcn.004670a0
push esi
lea eax, [ebp - 0x247]
push ebx
push eax
mov byte [ebp - 0x248], bl
call fcn.004670a0
add esp, 0x24
push 5
pop ecx
mov esi, 0x4938b4
lea edi, [ebp - 0x40]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [0x493894]
mov esi, 0x493810
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x493888
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 0xc], eax
mov eax, dword [0x493898]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 8], eax
mov esi, 0x237f
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.00468130
pop ecx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0042b354
add esp, 0xc
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00468130
pop ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0042b354
add esp, 0xc
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.00468130
pop ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042b354
add esp, 0xc
push esi
lea eax, [ebp - 0xc]
push eax
call fcn.00468130
pop ecx
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0042b354
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
add esp, 0xc
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x354]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x40]
push eax
mov edi, reloc.OLEAUT32.dll_SysReAllocString
mov ebx, 0x104
push edi
mov dword [ebp - 0x354], 1
mov dword [ebp - 0x350], ebx
call esi
test eax, eax
je 0x42cc1c
xor eax, eax
jmp 0x42cc84
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x354]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x40]
push eax
push edi
mov dword [ebp - 0x350], ebx
call esi
test eax, eax
jne 0x42cc18
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x34c]
push eax
push str._s_s_s
lea eax, [ebp - 0x248]
push ebx
push eax
call fcn.0042c583
add esp, 0x18
test eax, eax
jl 0x42cc18
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046711a
leave
ret
Function at 0x42ccaf
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x35c
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x353]
push ebx
push eax
mov byte [ebp - 0x354], bl
call fcn.004670a0
push esi
lea eax, [ebp - 0x14b]
push ebx
push eax
mov byte [ebp - 0x14c], bl
call fcn.004670a0
push esi
lea eax, [ebp - 0x24f]
push ebx
push eax
mov byte [ebp - 0x250], bl
call fcn.004670a0
add esp, 0x24
push 7
pop ecx
mov esi, 0x4938cc
lea edi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
mov esi, 0x493820
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [0x493894]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x493888
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 0xc], eax
mov eax, dword [0x493898]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 8], eax
mov esi, 0x237f
lea eax, [ebp - 0x48]
push esi
push eax
call fcn.00468130
pop ecx
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0042b354
add esp, 0xc
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.00468130
pop ecx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0042b354
add esp, 0xc
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.00468130
pop ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042b354
add esp, 0xc
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.00468130
pop ecx
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0042b354
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
add esp, 0xc
lea eax, [ebp - 0x358]
push eax
lea eax, [ebp - 0x354]
push eax
lea eax, [ebp - 0x35c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
mov edi, reloc.OLEAUT32.dll_SysReAllocString
mov ebx, 0x104
push edi
mov dword [ebp - 0x35c], 1
mov dword [ebp - 0x358], ebx
call esi
test eax, eax
je 0x42cdef
xor eax, eax
jmp 0x42ce57
lea eax, [ebp - 0x358]
push eax
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x35c]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x48]
push eax
push edi
mov dword [ebp - 0x358], ebx
call esi
test eax, eax
jne 0x42cdeb
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x354]
push eax
push str._s_s_s
lea eax, [ebp - 0x250]
push ebx
push eax
call fcn.0042c583
add esp, 0x18
test eax, eax
jl 0x42cdeb
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046711a
leave
ret
Function at 0x42ce7f
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x48ddeb
call fcn.004677c7
mov ebx, dword [ebp + 0x214]
test ebx, ebx
jne 0x42ceb4
xor eax, eax
jmp 0x42cf58
push 0x208
lea eax, [ebp]
push 0
push eax
call fcn.004670a0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
xor edi, edi
push str.SOFTWAREKasperskyLabSetupFolders
inc edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x42cead
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.004029f9
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00408131
push 0x22
lea ecx, [ebp - 0x10]
call fcn.00422c49
lea ecx, [ebp - 0x10]
call fcn.004080bb
push 0x22
lea ecx, [ebp - 0x10]
call fcn.00426bf3
push str.avp.exe
push dword [ebp - 0x10]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42cf4b
xor edi, edi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004023e9
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0046711a
add ebp, 0x20c
leave
ret

Function at 0x42cfa0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x48ddeb
call fcn.004677c7
push 0x208
lea eax, [ebp]
push 0
push eax
call fcn.004670a0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
push str.InstallPath
xor edi, edi
push str.SoftwareHuorongSysdiag
inc edi
push SysReAllocString
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x42d00d
xor eax, eax
jmp 0x42d070
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.004029f9
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00408131
push 0x22
lea ecx, [ebp - 0x10]
call fcn.00422c49
lea ecx, [ebp - 0x10]
call fcn.004080bb
push 0x22
lea ecx, [ebp - 0x10]
call fcn.00426bf3
push 0x4938e8
push dword [ebp - 0x10]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42d063
xor edi, edi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004023e9
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0046711a
add ebp, 0x20c
leave
ret
Function at 0x42d8ab
Capabilities:
Get disk information

Disassembly:
push ebp
sub esp, 0x210
lea ebp, [esp - 4]
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x210], eax
push 0x18
mov eax, 0x488675
call fcn.004677c7
mov edi, dword [ebp + 0x21c]
mov esi, 0x210
push esi
lea eax, [ebp]
push 0
push eax
mov dword [ebp - 0x1c], edi
call fcn.004670a0
push esi
lea eax, [ebp]
push 0
push eax
mov dword [ebp - 0x10], 0x104
call fcn.004670a0
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
lea eax, [ebp]
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
jmp 0x42d944
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x42d94d
push esi
lea eax, [ebp]
push 0
push eax
mov dword [ebp - 0x10], 0x104
call fcn.004670a0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
lea eax, [ebp]
push eax
push dword [ebp - 0x1c]
call edi
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42d913
lea eax, [ebp]
push eax
call fcn.004673c7
cmp dword [ebp - 0x14], 0
pop ecx
je 0x42d9a1
test eax, eax
jle 0x42d9a1
xor ecx, ecx
mov word [ebp + eax*2 - 2], cx
lea eax, [ebp]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x220]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.0042d6fe
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x4c27c8
call fcn.0042d732
lea ecx, [ebp - 0x18]
call fcn.004369bd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x210]
xor ecx, ebp
call fcn.0046711a
add ebp, 0x214
leave
ret
Function at 0x42d9c4
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x398]
sub esp, 0x418
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x394], eax
push esi
push edi
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call fcn.004670a0
xor eax, eax
push esi
push eax
mov word [ebp + 0x18c], ax
lea eax, [ebp + 0x18e]
push eax
call fcn.004670a0
add esp, 0x18
mov edi, 0x104
push edi
lea eax, [ebp + 0x18c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov dword [ebp - 0x80], eax
cmp eax, 0xffffffff
jne 0x42da39
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x42daeb
lea eax, [ebp + 0x18c]
push ebx
push eax
call fcn.004673c7
pop ecx
push 0x5c
pop ebx
jmp 0x42dacf
cmp word [ebp + 0x18e], bx
jne 0x42dadd
cmp word [ebp + 0x190], 0x3f
jne 0x42dadd
cmp word [ebp + 0x192], bx
jne 0x42dadd
lea esi, [ebp + eax*2 + 0x18c]
cmp word [esi], bx
jne 0x42dadd
xor eax, eax
mov word [esi], ax
push edi
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov ecx, ebx
mov word [esi], cx
test eax, eax
je 0x42db02
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x18c]
push eax
call fcn.0042d8ab
pop ecx
pop ecx
push edi
lea eax, [ebp + 0x18c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
je 0x42db0a
lea eax, [ebp + 0x18c]
push eax
call fcn.004673c7
pop ecx
dec eax
cmp word [ebp + 0x18c], bx
je 0x42da4f
xor esi, esi
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov eax, esi
pop ebx
mov ecx, dword [ebp + 0x394]
pop edi
xor ecx, ebp
pop esi
call fcn.0046711a
add ebp, 0x398
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x42dadd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
sub esi, 0x12
neg esi
sbb esi, esi
inc esi
jmp 0x42dadf
Function at 0x42db1c
Capabilities:
Get process image filename

Disassembly:
push ebp
sub esp, 0x398
lea ebp, [esp - 4]
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x398], eax
push 0x10
mov eax, 0x4886ad
call fcn.004677c7
mov ebx, dword [ebp + 0x3a4]
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
xor edi, edi
cmp eax, edi
je 0x42dc68
push eax
call fcn.0042d093
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov dword [esp], 0x4c4f30
call fcn.00401ce4
mov esi, 0x208
push esi
lea eax, [ebp]
push edi
push eax
mov dword [ebp - 4], edi
call fcn.004670a0
add esp, 0xc
push dword [ebp - 0x18]
push edi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push esi
lea ecx, [ebp]
push ecx
push eax
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jne 0x42dbb7
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
jmp 0x42dc63
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.004025eb
call fcn.0042d9c4
test eax, eax
je 0x42dbac
lea eax, [ebp - 0x10]
push eax
call fcn.0042d210
pop ecx
test eax, eax
je 0x42dbac
cmp ebx, edi
je 0x42dbac
mov ecx, ebx
call fcn.0044c72d
cmp eax, edi
je 0x42dbac
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov ebx, eax
cmp ebx, edi
je 0x42dbac
push 0x190
lea eax, [ebp + 0x208]
push edi
push eax
call fcn.004670a0
mov esi, dword [ebp - 0x10]
mov eax, dword [ebx]
add esp, 0xc
push 0xc8
lea ecx, [ebp + 0x208]
push ecx
push esi
push ebx
call dword [eax + 0x3c]
test eax, eax
je 0x42dc60
push str.md5
lea ecx, [ebp - 0x14]
call fcn.004029f9
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00402f00
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
push edi
push 0x5f6
call fcn.0044d603
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004023e9
lea ecx, [esi - 0x10]
call fcn.004023e9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x398]
xor ecx, ebp
call fcn.0046711a
add ebp, 0x39c
leave
ret
Function at 0x42faec
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0042ec93
mov eax, dword [esi + 0x38]
test eax, eax
jle 0x42fb9d
cmp dword [esi + 0x30], 0
je 0x42fb9d
test eax, eax
jle 0x42fbf2
and dword [esp + 0x10], 0
mov ebp, 0xee
mov edi, dword [esi + 0x30]
add edi, dword [esp + 0x10]
lea eax, [ebp + 0x34a]
test dword [edi], 0x80000000
jne 0x42fb36
mov eax, ebp
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
test ebx, ebx
je 0x42fbf2
push 5
xor eax, eax
push ebx
mov word [edi + 2], ax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [edi + 4]
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [edi]
push 0xfffffffffffffff4
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 4
push str.Common_button_small.png
push dword [edi]
mov ecx, esi
call fcn.0042f9b9
push ebx
push dword [esi + 4]
mov ecx, esi
call fcn.00439ffa
add dword [esp + 0x10], 0x44
inc ebp
lea eax, [ebp - 0xee]
cmp eax, dword [esi + 0x38]
jl 0x42fb1f
jmp 0x42fbf2
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, 0xee
push ebx
push dword [esi + 4]
call edi
push 0x4939ac
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
push dword [esi + 4]
call edi
push 1
push 0xfffffffffffffff4
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push ebx
push dword [esi + 4]
call edi
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call ebp
push ebx
push dword [esi + 4]
call edi
push 0
push eax
call ebp
push ebx
push dword [esi + 4]
call edi
push 0
push eax
call ebp
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4302e6
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x18c], eax
mov eax, ecx
push 0x42c
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x80], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call fcn.004670a0
add esp, 0xc
push 0x103
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x7c]
push eax
call fcn.004673c7
pop ecx
push 0
push eax
push eax
lea ecx, [ebp - 0x80]
call fcn.004301cb
mov ecx, dword [ebp + 0x18c]
xor ecx, ebp
call fcn.0046711a
add ebp, 0x190
leave
ret
Function at 0x430fa2
Capabilities:
Get disk information

Disassembly:
push 0x1c
mov eax, 0x488991
call fcn.00467830
mov eax, dword [0x4a2674]
mov dword [ebp - 0x18], eax
mov eax, dword [0x4a2678]
mov dword [ebp - 0x14], eax
mov ax, word [ebp + 8]
mov esi, ecx
mov ebx, 0x4c37f8
mov ecx, ebx
mov word [ebp - 0x18], ax
call fcn.00428c08
test eax, eax
jne 0x430fdf
xor eax, eax
jmp 0x4310cf
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push 3
pop edi
mov ecx, ebx
cmp eax, edi
je 0x4310c4
call fcn.00428c26
mov ebx, eax
test ebx, ebx
je 0x43104d
cmp dword [ebp + 0xc], 0
jne 0x43104d
push 0x96
lea ecx, [ebp - 0x1c]
call fcn.00421f25
mov edi, eax
and dword [ebp - 4], 0
push 0x9f
lea ecx, [ebp - 0x28]
call fcn.00421f25
push 1
push 0x30
push dword [edi]
mov ecx, ebx
push dword [eax]
mov byte [ebp - 4], 1
push dword [esi + 4]
call fcn.0044cf46
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004023e9
mov ecx, dword [ebp - 0x1c]
jmp 0x4310b7
push 0x9f
lea ecx, [ebp - 0x1c]
call fcn.00421f25
mov eax, dword [eax]
add esi, 0x34
push eax
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.004025eb
mov ecx, dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004023e9
push 0xe2
lea ecx, [ebp - 0x24]
call fcn.00421f25
mov eax, dword [eax]
push esi
push eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 4], edi
call fcn.00422ce4
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00401d13
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004023e9
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004023e9
jmp 0x430fd8
call fcn.00428c60
neg eax
sbb eax, eax
neg eax
call fcn.004678b3
ret 8
Function at 0x43111a
Capabilities:
Check if file exists

Disassembly:
push 0x28
mov eax, 0x4889c6
call fcn.004677c7
mov dword [ebp - 0x14], ecx
mov esi, 0x4c37f8
mov ecx, esi
call fcn.00428c60
mov ebx, eax
test ebx, ebx
jne 0x431143
push 8
pop eax
jmp 0x43128a
mov ecx, esi
call fcn.00428c4d
mov esi, eax
test esi, esi
je 0x43113b
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.00402ee2
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00408131
lea ecx, [ebp - 0x10]
call fcn.004080bb
mov edi, dword [ebp - 0x10]
cmp dword [edi - 0xc], 0
jne 0x43118a
xor esi, esi
inc esi
lea ecx, [edi - 0x10]
call fcn.004023e9
mov eax, esi
jmp 0x43128a
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp dword [eax - 0xc], 0x80
jle 0x43119d
push 9
pop esi
jmp 0x43117b
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x4311ac
push 3
jmp 0x43119a
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4311c6
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x4311c6
push 2
jmp 0x43119a
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
call fcn.0043048c
test eax, eax
je 0x4311da
push 5
jmp 0x43119a
cmp dword [edi - 0xc], 0
jge 0x4311ea
push 0x80070057
call fcn.0040253a
movzx eax, word [edi]
mov ecx, dword [esi]
push eax
push esi
call dword [ecx + 0x4c]
mov esi, edx
mov dword [ebp + 8], eax
shrd eax, esi, 0x14
mov dword [ebp - 0x18], eax
mov eax, dword [ebx]
push ebx
shr esi, 0x14
call dword [eax + 0x30]
cdq
cmp esi, edx
ja 0x431219
jb 0x431215
cmp dword [ebp - 0x18], eax
jae 0x431219
push 6
jmp 0x43119a
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x431267
lea ecx, [ebp - 0x34]
call fcn.004230d8
lea eax, [ebp + 8]
push eax
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 1
call fcn.00402ee2
lea ecx, [ebp - 0x34]
call fcn.00424d7c
lea ecx, [ebp - 0x34]
test eax, eax
jne 0x43125e
call fcn.00424b5e
push 7
jmp 0x43119a
mov byte [ebp - 4], 0
call fcn.00424b5e
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
call fcn.00402ee2
call fcn.004310d7
pop ecx
test eax, eax
je 0x431257
lea ecx, [edi - 0x10]
call fcn.004023e9
xor eax, eax
call fcn.0046789f
ret 4

Function at 0x433ed5
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x433f37
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x433f04
push 0
push ecx
push 0x2b10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x433f37
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x45e
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call ebx
push 0x463
push dword [esi + 0x5c]
call edi
push 0
push eax
call ebx
pop edi
pop ebx
pop esi
ret 4
Function at 0x433f3b
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x433fa4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x433fa4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x433f71
push 0
push ecx
push 0x2b10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x433fa4
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x45e
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call ebx
push 0x463
push dword [esi + 0x5c]
call edi
push 0
push eax
call ebx
pop edi
pop ebx
pop esi
ret 8

Function at 0x4341f2
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x488b2b
call fcn.004677c7
mov dword [ebp - 0x14], ecx
push 0x4c4f30
lea ecx, [ebp - 0x10]
call fcn.00401ce4
and dword [ebp - 4], 0
mov ecx, 0x4c37f8
call fcn.00428c4d
mov esi, eax
test esi, esi
jne 0x43426c
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004023e9
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0046711a
add ebp, 0x20c
leave
ret 0xc
push dword [ebp + 0x214]
mov eax, dword [esi]
push esi
call dword [eax + 0x4c]
mov edi, 0x200
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ebx, edx
call fcn.00421bb3
mov ecx, dword [esi]
push edi
push eax
push ebx
push dword [ebp - 0x1c]
push esi
call dword [ecx + 0x50]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00420322
xor edi, edi
test ebx, ebx
ja 0x4342b5
jb 0x4342b2
cmp dword [ebp - 0x1c], 0xc800000
ja 0x4342b5
xor edi, edi
inc edi
xor eax, eax
push 0x206
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.004670a0
add esp, 0xc
push 0x104
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp word [ebp], 0x61
movzx eax, word [ebp]
jb 0x4342f7
cmp word [ebp], 0x7a
ja 0x4342f7
mov eax, dword [ebp]
add eax, 0xffffffe0
movzx eax, ax
mov esi, dword [ebp + 0x21c]
lea ecx, [esi - 0x61]
cmp cx, 0x19
ja 0x43430c
add esi, 0xffe0
xor ecx, ecx
cmp si, ax
jne 0x434314
inc ecx
push ecx
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.00402ee2
mov ecx, dword [ebp - 0x14]
push esi
push edi
push dword [ebp + 0x218]
call fcn.00434194
xor esi, esi
inc esi
jmp 0x43423a
Function at 0x43461a
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.004343c6
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.004670a0
add esp, 0xc
lea eax, [ebp - 0x804]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x43469e
cmp word [ebp - 0x804], 0
push esi
lea esi, [ebp - 0x804]
je 0x43469a
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x434689
push esi
mov ecx, edi
call fcn.00458910
push esi
call fcn.004673c7
lea esi, [esi + eax*2 + 2]
cmp word [esi], 0
pop ecx
jne 0x434675
xor eax, eax
inc eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0046711a
leave
ret 4