joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f5cb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa34
mov eax, dword [0x656514]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x208
lea eax, [ebp - 0x414]
push esi
xor ebx, ebx
mov edi, ecx
push ebx
push eax
call fcn.005a8e00
push esi
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.005a8e00
push esi
lea eax, [ebp - 0x824]
push ebx
push eax
call fcn.005a8e00
push esi
lea eax, [ebp - 0xa2c]
push ebx
push eax
call fcn.005a8e00
push esi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.005a8e00
lea eax, [ebp - 0x20c]
push 0x5da15c
push eax
call fcn.005abfd0
add esp, 0x44
lea eax, [ebp - 0x20c]
push 0x5da170
push eax
call fcn.005abf5f
lea eax, [ebp - 0x20c]
push 0x6411b8
push eax
call fcn.005abf5f
add esp, 0x10
lea eax, [ebp - 0xa34]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x20c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42f714
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0xa30]
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0xa30], 0x104
push eax
push ebx
push ebx
push str.OnlyIdentifier1
push dword [ebp - 0xa34]
call esi
lea eax, [ebp - 0xa30]
push eax
lea eax, [ebp - 0x61c]
push eax
push ebx
push ebx
push str.OnlyIdentifier2
push dword [ebp - 0xa34]
call esi
lea eax, [ebp - 0xa30]
push eax
lea eax, [ebp - 0x824]
push eax
push ebx
push ebx
push str.OnlyIdentifier3
push dword [ebp - 0xa34]
call esi
lea eax, [ebp - 0xa30]
push eax
lea eax, [ebp - 0xa2c]
push eax
push ebx
push ebx
push str.OnlyIdentifier4
push dword [ebp - 0xa34]
call esi
push dword [ebp - 0xa34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x414]
push eax
call fcn.005abff2
mov esi, eax
lea eax, [ebp - 0x61c]
push eax
call fcn.005abff2
mov dword [ebp - 0xa30], eax
lea eax, [ebp - 0x824]
push eax
call fcn.005abff2
mov ebx, eax
lea eax, [ebp - 0xa2c]
push eax
call fcn.005abff2
add esp, 0x10
test esi, esi
je 0x42f7c4
cmp dword [ebp - 0xa30], 0
je 0x42f7c4
test ebx, ebx
je 0x42f7c4
test eax, eax
je 0x42f7c4
lea eax, [ebp - 0x414]
push eax
push dword [edi]
call fcn.005abfd0
lea eax, [ebp - 0x61c]
push eax
mov eax, dword [edi]
add eax, 0x208
push eax
call fcn.005abfd0
lea eax, [ebp - 0x824]
push eax
mov eax, dword [edi]
add eax, 0x410
push eax
call fcn.005abfd0
lea eax, [ebp - 0xa2c]
push eax
mov eax, dword [edi]
add eax, 0x618
push eax
call fcn.005abfd0
xor eax, eax
add esp, 0x20
inc eax
jmp 0x42f7c6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00492e23
mov esp, ebp
pop ebp
ret
Function at 0x42f7d7
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x63c
mov eax, dword [0x656514]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, dword [ebp + 8]
mov word [ebp - 0x18], ax
lea edi, [ebp - 0x16]
stosd dword es:[edi], eax
xor ebx, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x220]
mov edi, 0x208
push edi
push ebx
push eax
call fcn.005a8e00
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x6411bc
call fcn.005abff2
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.005b8532
push edi
lea eax, [ebp - 0x630]
push ebx
push eax
call fcn.005a8e00
push edi
lea eax, [ebp - 0x428]
push ebx
push eax
call fcn.005a8e00
add esp, 0x28
mov dword [ebp - 0x634], ebx
mov ecx, 0x104
mov dword [ebp - 0x63c], ebx
lea eax, [ebp - 0x428]
mov dword [ebp - 0x638], ebx
push ecx
push eax
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x634]
push eax
push ecx
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x42f8c3
push dword [ebp - 0x634]
push str._08X
push esi
call fcn.0042cdd3
add esp, 0xc
jmp 0x42f8d0
push 0x640078
push esi
call fcn.005abfd0
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00492e23
mov esp, ebp
pop ebp
ret 4
Function at 0x42fad8
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x656514]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x208
lea eax, [ebp - 0x20c]
push esi
xor ebx, ebx
mov edi, ecx
push ebx
push eax
call fcn.005a8e00
push esi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.005a8e00
add esp, 0x18
lea eax, [ebp - 0x20c]
push ebx
push 0x2b
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
push str._shiqiang_
push eax
call fcn.005abf5f
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x20c]
pop ecx
pop ecx
push eax
call esi
test eax, eax
jne 0x42fb5b
push ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.005abfd0
lea eax, [ebp - 0x414]
push str.wnsoft.ini
push eax
call fcn.005abf5f
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
je 0x42fbf0
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x414]
push eax
push dword [edi]
mov ebx, str.Globals
push str.OnlyIdentifier1
push ebx
call esi
lea eax, [ebp - 0x414]
push eax
mov eax, dword [edi]
add eax, 0x208
push eax
push str.OnlyIdentifier2
push ebx
call esi
lea eax, [ebp - 0x414]
push eax
mov eax, dword [edi]
add eax, 0x410
push eax
push str.OnlyIdentifier3
push ebx
call esi
lea eax, [ebp - 0x414]
push eax
mov eax, dword [edi]
add eax, 0x618
push eax
push str.OnlyIdentifier4
push ebx
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00492e23
mov esp, ebp
pop ebp
ret
Function at 0x42fd99
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 8]
mov esi, 0xf003f
push eax
push esi
xor edi, edi
mov ebx, ecx
push edi
push 0x5da1a0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42fe97
push edi
lea eax, [ebp - 4]
push eax
push edi
push esi
push edi
push edi
push edi
push str.ShiQiang
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42fe97
push dword [ebx]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
call esi
lea eax, [eax*2 + 2]
push eax
push dword [ebx]
push 1
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push str.OnlyIdentifier1
push dword [ebp - 4]
call edi
mov eax, dword [ebx]
add eax, 0x208
push eax
call esi
lea eax, [eax*2 + 2]
push eax
mov eax, dword [ebx]
add eax, 0x208
push eax
push 1
push 0
push str.OnlyIdentifier2
push dword [ebp - 4]
call edi
mov eax, dword [ebx]
add eax, 0x410
push eax
call esi
lea eax, [eax*2 + 2]
push eax
mov eax, dword [ebx]
add eax, 0x410
push eax
push 1
push 0
push str.OnlyIdentifier3
push dword [ebp - 4]
call edi
mov eax, dword [ebx]
add eax, 0x618
push eax
call esi
lea eax, [eax*2 + 2]
push eax
mov eax, dword [ebx]
add eax, 0x618
push eax
push 1
push 0
push str.OnlyIdentifier4
push dword [ebp - 4]
call edi
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 8]
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42ff2d
Capabilities:
Read .ini file

Disassembly:
push 0x258
mov eax, 0x5d15df
call fcn.00492e9f
mov edi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x42ff55
xor al, al
jmp 0x4300b5
call fcn.004301f8
push 0x208
mov esi, eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005a8e00
add esp, 0xc
lea eax, [ebp - 0x248]
mov ecx, edi
push dword [ebp - 0x264]
push eax
call fcn.00430402
and dword [ebp - 4], 0
lea ecx, [ebp - 0x218]
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push esi
cmovae eax, dword [ebp - 0x248]
mov esi, 0x640078
push 0x104
push ecx
push esi
push eax
push 0x5da230
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.005abf90
pop ecx
pop ecx
test eax, eax
jne 0x430064
and dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x230]
push ecx
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x248]
mov ecx, edi
push eax
push 0x5da230
call fcn.004300bd
test al, al
jne 0x43002e
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00402230
xor bl, bl
jmp 0x4300a4
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005abfd0
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.00402230
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.004302c1
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 2
cmp ebx, eax
je 0x430093
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.004027f0
push 0
push 1
lea ecx, [ebp - 0x260]
mov bl, 1
call fcn.00402230
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.00402230
mov al, bl
call fcn.00492e49
ret 8
Function at 0x4317ca
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push 0xac
mov eax, 0x5d1832
call fcn.00492e9f
mov ebx, ecx
lea ecx, [ebp - 0xac]
call fcn.0042a879
lea esi, [ebx + 0x224]
cmp dword [esi + 0x14], 8
jb 0x4317f6
mov eax, dword [esi]
jmp 0x4317f8
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4318fd
cmp dword [esi + 0x14], 8
jb 0x43180f
mov esi, dword [esi]
xor edi, edi
push edi
push 0x80
push 4
push edi
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4318fd
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xb0], eax
inc eax
push eax
mov dword [ebp - 0xb4], eax
call fcn.004929da
mov edi, eax
pop ecx
test edi, edi
je 0x4318fd
push dword [ebp - 0xb4]
push 0
push edi
call fcn.005a8e00
add esp, 0xc
lea eax, [ebp - 0xb8]
push 0
push eax
push dword [ebp - 0xb0]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xb0]
lea ecx, [ebp - 0xac]
push edi
call fcn.0042b234
push edi
call fcn.004929e3
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xac]
call fcn.0042aa82
push eax
lea eax, [ebp - 0x28]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.0041f725
pop ecx
pop ecx
push esi
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.004023f0
cmp dword [ebp - 0x18], esi
jbe 0x4318f2
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, ebx
cmovae eax, dword [ebp - 0x28]
push eax
push str.SoftMD5
push str.Setting
call fcn.004539b2
push esi
push 1
lea ecx, [ebp - 0x28]
call fcn.00402230
call fcn.00492e49
ret

Function at 0x432461
Capabilities:
Check if file exists

Disassembly:
add ecx, 0x1c4
cmp dword [ecx + 0x14], 8
jb 0x43246f
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
ret

Function at 0x432523
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x656514]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, 0x208
lea eax, [ebp - 0x414]
push ebx
xor esi, esi
mov edi, ecx
push esi
push eax
call fcn.005a8e00
lea eax, [edi + 0x70]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x43255e
mov eax, dword [eax]
lea ecx, [ebp - 0x414]
push ecx
push str.WanNengInfo.ini
push eax
call fcn.0041d1d6
add esp, 0xc
test eax, eax
je 0x4325ed
push eax
push str.InstallType
push str.Setting
mov ecx, edi
call fcn.00453927
push ebx
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.005a8e00
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x5da348
push str.Spreader
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x20c], si
je 0x4325da
lea eax, [ebp - 0x20c]
push eax
call fcn.005abff2
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0x20c]
push eax
lea ecx, [edi + 0x1dc]
call fcn.004022f0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00492e23
mov esp, ebp
pop ebp
ret
Function at 0x432610
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x378]
push eax
xor eax, eax
push eax
push esi
push 0x4325fe
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x374], eax
test eax, eax
je 0x43263c
mov ecx, esi
call fcn.004324b0
pop esi
ret 4

Function at 0x432640
Capabilities:
Get common file path
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x656514]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x208
lea eax, [ebp - 0x20c]
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push eax
call fcn.005a8e00
push edi
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.005a8e00
add esp, 0x18
lea eax, [ebp - 0x20c]
push ebx
push 0x2b
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esi, 0x1ac
cmp dword [esi + 0x14], 8
jb 0x43269d
mov esi, dword [esi]
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.005abfd0
mov esi, 0x6411b8
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.005abf5f
mov edi, str.WanNengInput
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.005abf5f
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.005abf5f
lea eax, [ebp - 0x20c]
push eax
call fcn.0041c92d
lea eax, [ebp - 0x20c]
push str.WanNeng
push eax
call fcn.005abf5f
lea eax, [ebp - 0x20c]
push str..ini
push eax
call fcn.005abf5f
add esp, 0x34
lea eax, [ebp - 0x20c]
mov esi, str.InstallPath
push eax
lea eax, [ebp - 0x61c]
push eax
push esi
push str.Globals
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0x208
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.005a8e00
lea eax, [ebp - 0x414]
push 0x5da15c
push eax
call fcn.005abfd0
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.005abf5f
add esp, 0x1c
lea eax, [ebp - 0x620]
push ebx
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
lea eax, [ebp - 0x414]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4327a1
push 0x104
lea eax, [ebp - 0x61c]
push eax
push 1
push ebx
push esi
push dword [ebp - 0x620]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x620]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00492e23
mov esp, ebp
pop ebp
ret
Function at 0x4329c9
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5bc
mov eax, dword [0x656514]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x39c]
push ebx
push eax
mov edi, ecx
call fcn.005a8e00
push dword [edi + 0x178]
lea eax, [ebp - 0x39c]
push 0x6412f4
push eax
call fcn.0042cdd3
add esp, 0x18
lea eax, [ebp - 0x39c]
mov ecx, edi
push eax
push str.LastUninstallTime
call fcn.00431f94
push 0xc8
lea eax, [ebp - 0xcc]
push ebx
push eax
call fcn.005a8e00
add esp, 0xc
lea eax, [ebp - 0xcc]
mov ecx, edi
push eax
push str.UninstallNum
call fcn.0043204b
lea eax, [ebp - 0xcc]
push eax
call fcn.005ad376
mov esi, eax
mov eax, 0x3e8
pop ecx
cmp esi, eax
jge 0x432a6a
test esi, esi
jne 0x432aa5
mov esi, eax
jmp 0x432a6b
inc esi
push 0xc8
lea eax, [ebp - 0x194]
push ebx
push eax
call fcn.005a8e00
push esi
lea eax, [ebp - 0x194]
push 0x6412f4
push eax
call fcn.0042cdd3
add esp, 0x18
lea eax, [ebp - 0x194]
mov ecx, edi
push eax
push str.UninstallNum
call fcn.00431f94
mov ecx, edi
call fcn.00451a2c
push eax
lea ecx, [ebp - 0x5bc]
call fcn.00402120
cmp dword [ebp - 0x5a8], 8
lea eax, [ebp - 0x5bc]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, str.Setting
cmovae eax, dword [ebp - 0x5bc]
push eax
push ebx
push str.FirstInstallTime
push edi
call esi
test eax, eax
jne 0x432b6d
cmp dword [ebp - 0x5a8], 8
lea eax, [ebp - 0x5bc]
cmovae eax, dword [ebp - 0x5bc]
push eax
push ebx
push str.InstallTime
push edi
call esi
push 0x208
mov esi, eax
lea eax, [ebp - 0x5a4]
push ebx
push eax
call fcn.005a8e00
add esp, 0xc
test esi, esi
jne 0x432b30
lea eax, [ebp - 0x39c]
push eax
push 0x5d8b58
jmp 0x432b36
push esi
push 0x6412f4
lea eax, [ebp - 0x5a4]
push eax
call fcn.0042cdd3
add esp, 0xc
lea eax, [ebp - 0x5bc]
cmp dword [ebp - 0x5a8], 8
cmovae eax, dword [ebp - 0x5bc]
push eax
lea eax, [ebp - 0x5a4]
push eax
push str.FirstInstallTime
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push ebx
push 1
lea ecx, [ebp - 0x5bc]
call fcn.00402230
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00492e23
mov esp, ebp
pop ebp
ret
Function at 0x434d3c
Capabilities:
Check if file exists

Disassembly:
push 0x260
mov eax, 0x5d1c64
call fcn.00492e9f
mov edi, ecx
mov eax, dword [ebp + 0xc]
push dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x264], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x268], eax
call fcn.00434ccb
push 0x208
mov esi, eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005a8e00
and dword [ebp - 0x238], 0
xor eax, eax
push str.UnKonw
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.005abff2
add esp, 0x10
lea ecx, [ebp - 0x248]
push eax
push str.UnKonw
call fcn.004022f0
and dword [ebp - 4], 0
lea eax, [ebp - 0x218]
push str.UnKonw
push eax
call fcn.005abf5f
pop ecx
pop ecx
test esi, esi
je 0x434e9b
push esi
lea eax, [ebp - 0x230]
mov ecx, edi
push eax
call fcn.00435296
push 0x640078
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call fcn.0042051f
test eax, eax
jne 0x434e27
push esi
lea eax, [ebp - 0x260]
mov ecx, edi
push eax
call fcn.0043533d
push eax
lea ecx, [ebp - 0x230]
call fcn.004043e0
push 0
push 1
lea ecx, [ebp - 0x260]
call fcn.00402230
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x218]
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push ecx
push eax
call fcn.0041d98d
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
pop ecx
cmovae eax, dword [ebp - 0x230]
pop ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x434e88
lea eax, [ebp - 0x248]
push eax
sub esp, 0x18
lea eax, [ebp - 0x230]
mov ecx, esp
push eax
call fcn.00404460
mov ecx, edi
call fcn.00434bc6
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.00402230
cmp word [ebp - 0x218], 0
mov eax, dword [ebp - 0x264]
mov dword [eax], esi
jne 0x434eb1
xor eax, eax
jmp 0x434ebe
lea eax, [ebp - 0x218]
push eax
call fcn.005abff2
pop ecx
mov ecx, dword [ebp - 0x268]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004022f0
lea eax, [ebp - 0x248]
cmp ebx, eax
je 0x434ee7
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.004027f0
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.00402230
call fcn.00492e49
ret 0x10
Function at 0x4350ab
Capabilities:
Get disk information
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa38
mov eax, dword [0x656514]
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 0x640078
mov dword [ebp - 0xa38], eax
call fcn.004022f0
push 0x20a
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.005a8e00
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x105
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jne 0x43510d
xor al, al
jmp 0x435284
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ebx, eax
test ebx, ebx
je 0x435106
push edi
xor ecx, ecx
lea esi, [ebx + 1]
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004929da
push esi
mov edi, eax
push 0
push edi
call fcn.005a8e00
add esp, 0x10
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
jne 0x43515c
push edi
call fcn.004929e3
xor al, al
jmp 0x435282
mov eax, dword [0x5daf7c]
mov dword [ebp - 0xc], eax
mov ax, word [0x5daf80]
push 0x208
mov word [ebp - 8], ax
call fcn.004929da
pop ecx
mov ebx, eax
mov esi, edi
mov cx, word [esi]
lea eax, [ebp - 0xc]
push 0x104
push ebx
push eax
mov word [ebp - 0xc], cx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x4351dd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x435273
push ebx
call fcn.004929e3
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.004929da
pop ecx
pop ecx
mov ebx, eax
lea eax, [ebp - 0xc]
push 1
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x435273
push ebx
call fcn.005abff2
push eax
mov dword [ebp - 0xa34], eax
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.005b85a8
add esp, 0x10
test eax, eax
je 0x435218
push 2
pop ecx
mov ax, word [esi]
add esi, ecx
test ax, ax
jne 0x435201
xor eax, eax
cmp word [esi], ax
jne 0x43517d
jmp 0x435273
mov eax, dword [ebp - 0xa34]
lea ecx, [ebp - 0x218]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x5d8c80
lea eax, [ebp - 0xa18]
push 0x400
push eax
call fcn.00435593
add esp, 0x14
lea eax, [ebp - 0xa18]
lea ecx, [ebp - 0xa30]
push eax
call fcn.00402120
mov ecx, dword [ebp - 0xa38]
push eax
call fcn.004043e0
xor eax, eax
lea ecx, [ebp - 0xa30]
push eax
push 1
call fcn.00402230
push edi
call fcn.004929e3
push ebx
call fcn.004929e3
pop ecx
mov al, 1
pop ecx
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00492e23
mov esp, ebp
pop ebp
ret 8
Function at 0x435296
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x656514]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x214], 0
lea eax, [ebp - 0x20c]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0x208
push 0
push eax
call fcn.005a8e00
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x43531b
lea eax, [ebp - 0x218]
push eax
push 4
lea eax, [ebp - 0x210]
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x435314
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00402120
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00492e23
mov esp, ebp
pop ebp
ret 8