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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4f4320]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00479a10
add esp, 0xc
push 0x4d07a8
mov ecx, dword [ebp - 0x214]
add ecx, 0x24
call fcn.00401670
push eax
push 0x4d07b0
lea ecx, [ebp - 0x210]
push ecx
call fcn.00479b88
add esp, 0x10
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411710
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.Dict
mov ecx, dword [ebp - 0x214]
add ecx, 0x24
call fcn.00401670
push eax
push 0x4d07c8
lea ecx, [ebp - 0x210]
push ecx
call fcn.00479b88
add esp, 0x10
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411758
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047a020
mov esp, ebp
pop ebp
ret

Function at 0x411770
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4f4320]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
push 0x4d07d4
mov ecx, dword [ebp - 0x214]
add ecx, 0x40
call fcn.00401670
push eax
push 0x4d07e4
lea eax, [ebp - 0x210]
push eax
call fcn.00479b88
add esp, 0x10
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4117d1
lea edx, [ebp - 0x210]
push edx
call fcn.00414570
add esp, 4
push 0x4d07f0
lea eax, [ebp - 0x210]
push eax
call fcn.0047a396
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x214]
add ecx, 0x5c
call fcn.00403660
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047a020
mov esp, ebp
pop ebp
ret

Function at 0x411810
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4f4320]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
push 0x4d0808
mov ecx, dword [ebp - 0x214]
add ecx, 0x40
call fcn.00401670
push eax
push 0x4d0818
lea eax, [ebp - 0x210]
push eax
call fcn.00479b88
add esp, 0x10
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411871
lea edx, [ebp - 0x210]
push edx
call fcn.00414570
add esp, 4
push str.Related.ini
lea eax, [ebp - 0x210]
push eax
call fcn.0047a396
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x214]
add ecx, 0xe8
call fcn.00403660
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047a020
mov esp, ebp
pop ebp
ret
Function at 0x411990
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4f4320]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
push str.UseData
mov ecx, dword [ebp - 0x214]
add ecx, 0x40
call fcn.00401670
push eax
push 0x4d08c4
lea eax, [ebp - 0x210]
push eax
call fcn.00479b88
add esp, 0x10
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4119f1
lea edx, [ebp - 0x210]
push edx
call fcn.00414570
add esp, 4
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x214]
add ecx, 0x158
call fcn.00403660
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047a020
mov esp, ebp
pop ebp
ret
Function at 0x412180
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x860
mov eax, dword [0x4f4320]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x860], ecx
mov word [ebp - 0x650], 0
push 0x206
push 0
lea eax, [ebp - 0x64e]
push eax
call fcn.00479a10
add esp, 0xc
mov word [ebp - 0x440], 0
push 0x206
push 0
lea ecx, [ebp - 0x43e]
push ecx
call fcn.00479a10
add esp, 0xc
mov dword [ebp - 0x85c], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x85c], eax
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x238], 0
push 0x228
push 0
lea edx, [ebp - 0x234]
push edx
call fcn.00479a10
add esp, 0xc
mov word [ebp - 0x858], 0
push 0x206
push 0
lea eax, [ebp - 0x856]
push eax
call fcn.00479a10
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x444], 0xffffffff
jne 0x412253
jmp 0x4122ee
mov dword [ebp - 0x238], 0x22c
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x444]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4122b1
mov eax, dword [ebp - 0x230]
cmp eax, dword [ebp - 0x85c]
jne 0x41229a
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x440]
push edx
call fcn.0047a3c0
add esp, 8
jmp 0x4122b1
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x444]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x412274
cmp dword [ebp - 0x444], 0xffffffff
je 0x4122c7
mov edx, dword [ebp - 0x444]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x440]
push eax
call fcn.0047c162
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x860]
add ecx, 0x174
call fcn.00403660
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0047a020
mov esp, ebp
pop ebp
ret

Function at 0x412c40
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4f4320]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x12c], ecx
push 0x11c
push 0
lea eax, [ebp - 0x128]
push eax
call fcn.00479a10
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x124], 6
jne 0x412cb1
cmp dword [ebp - 0x120], 0
je 0x412ca1
cmp dword [ebp - 0x120], 1
jne 0x412cb1
movzx edx, byte [ebp - 0xe]
cmp edx, 1
jne 0x412cb1
mov eax, 1
jmp 0x412cb3
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047a020
mov esp, ebp
pop ebp
ret

Function at 0x412cd0
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.USERPROFILE
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x412d15
push str.AppDataLocalLow
mov edx, dword [ebp + 8]
push edx
call fcn.0047a396
add esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x412d11
xor al, al
jmp 0x412d17
mov al, 1
jmp 0x412d17
xor al, al
mov esp, ebp
pop ebp
ret 8
Function at 0x412d20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4f4320]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x28], ecx
push str.Shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x412d4b
xor al, al
jmp 0x412db9
push str.SHGetKnownFolderPath
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x412d67
xor al, al
jmp 0x412db9
lea ecx, [ebp - 0x18]
push ecx
push str.A520A1A4_1780_4FF6_BD18_167343C5AF16
call dword [sym.imp.ole32.dll_CLSIDFromString]
lea edx, [ebp - 4]
push edx
push 0
push 0x400
lea eax, [ebp - 0x18]
push eax
call dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jge 0x412d95
xor al, al
jmp 0x412db9
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0047a3c0
add esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x412db7
xor al, al
jmp 0x412db9
mov al, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0047a020
mov esp, ebp
pop ebp
ret 8

Function at 0x412e20
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4f4320]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00479a10
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x218]
call fcn.00412dd0
movzx edx, al
test edx, edx
jne 0x412ea9
push 0
push 0x1a
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x210]
push ecx
call fcn.0047a212
add esp, 4
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x412ea9
jmp 0x412f1a
push 0x4d0b88
lea edx, [ebp - 0x210]
push edx
call fcn.0047a396
add esp, 8
push 0x4d0b8c
lea eax, [ebp - 0x210]
push eax
call fcn.0047a396
add esp, 8
push 0x4d0ba8
lea ecx, [ebp - 0x210]
push ecx
call fcn.0047a396
add esp, 8
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x412f05
lea eax, [ebp - 0x210]
push eax
call fcn.00414570
add esp, 4
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x218]
add ecx, 0x40
call fcn.00403660
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047a020
mov esp, ebp
pop ebp
ret
Function at 0x412f30
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4f4320]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00479a10
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x218]
call fcn.00412dd0
movzx edx, al
test edx, edx
jne 0x412fb9
push 0
push 0x1a
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x210]
push ecx
call fcn.0047a212
add esp, 4
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x412fb9
jmp 0x41302a
push 0x4d0bac
lea edx, [ebp - 0x210]
push edx
call fcn.0047a396
add esp, 8
push 0x4d0bb0
lea eax, [ebp - 0x210]
push eax
call fcn.0047a396
add esp, 8
push 0x4d0bd8
lea ecx, [ebp - 0x210]
push ecx
call fcn.0047a396
add esp, 8
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x413015
lea eax, [ebp - 0x210]
push eax
call fcn.00414570
add esp, 4
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x218]
add ecx, 0x24
call fcn.00403660
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047a020
mov esp, ebp
pop ebp
ret

Function at 0x413040
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
mov eax, dword [0x4f4320]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x62c], ecx
mov word [ebp - 0x420], 0
push 0x206
push 0
lea eax, [ebp - 0x41e]
push eax
call fcn.00479a10
add esp, 0xc
push 0x4d0bdc
lea ecx, [ebp - 0x420]
push ecx
call fcn.0047a3c0
add esp, 8
push 0x4d0bf0
lea edx, [ebp - 0x420]
push edx
call fcn.0047a396
add esp, 8
mov ecx, dword [ebp - 0x62c]
add ecx, 0x40
call fcn.00401670
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0047a3c0
add esp, 8
mov ecx, dword [ebp - 0x62c]
add ecx, 0x24
call fcn.00401670
push eax
lea ecx, [ebp - 0x628]
push ecx
call fcn.0047a3c0
add esp, 8
lea edx, [ebp - 4]
push edx
push 2
push 0
lea eax, [ebp - 0x420]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x413143
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push 1
push 0
push 0x4d0c10
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x104
lea eax, [ebp - 0x628]
push eax
push 1
push 0
push 0x4d0c28
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0047a020
mov esp, ebp
pop ebp
ret
Function at 0x413260
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4f4320]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], 0
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00479a10
add esp, 0xc
mov ecx, dword [ebp - 0x218]
add ecx, 0x104
call fcn.00401670
push eax
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push 0x4d0cc0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401600
mov edx, dword [ebp - 0x214]
or edx, 1
mov dword [ebp - 0x214], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047a020
mov esp, ebp
pop ebp
ret 0xc
Function at 0x413a70
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8327
mov eax, dword fs:[0]
push eax
sub esp, 0x4e8
mov eax, dword [0x4f4320]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4f4], 0
lea ecx, [ebp - 0x4f0]
call fcn.004035f0
mov dword [ebp - 4], 1
cmp dword [ebp + 0xc], 0
jne 0x413aeb
mov ecx, dword [ebp + 8]
call fcn.004035f0
mov eax, dword [ebp - 0x4f4]
or eax, 1
mov dword [ebp - 0x4f4], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4f0]
call fcn.00401640
mov eax, dword [ebp + 8]
jmp 0x413c78
lea ecx, [ebp - 0x40c]
push ecx
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x413c4f
mov dword [ebp - 0x14], 0
jmp 0x413b17
mov edx, dword [ebp - 0x14]
add edx, 4
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
movzx ecx, word [ebp + eax*2 - 0x40c]
test ecx, ecx
je 0x413c4f
push 0x4d103c
mov edx, dword [ebp - 0x14]
lea eax, [ebp + edx*2 - 0x40c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x413b5e
push 0x4d1044
mov ecx, dword [ebp - 0x14]
lea edx, [ebp + ecx*2 - 0x40c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x413b60
jmp 0x413b0e
mov eax, dword [ebp - 0x14]
mov cx, word [ebp + eax*2 - 0x40c]
mov word [ebp - 0x20], cx
mov edx, dword [ebp - 0x14]
mov ax, word [ebp + edx*2 - 0x40a]
mov word [ebp - 0x1e], ax
mov word [ebp - 0x1c], 0
push 0x64
lea ecx, [ebp - 0x4d4]
push ecx
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x413bc9
mov ecx, dword [ebp + 8]
call fcn.004035f0
mov eax, dword [ebp - 0x4f4]
or eax, 1
mov dword [ebp - 0x4f4], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4f0]
call fcn.00401640
mov eax, dword [ebp + 8]
jmp 0x413c78
lea ecx, [ebp - 0x4d4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x4d4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0047c53c
add esp, 0xc
test eax, eax
jne 0x413c4a
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x4f0]
call fcn.00403690
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + eax*2]
push edx
lea ecx, [ebp - 0x4f0]
call fcn.00403690
lea eax, [ebp - 0x4f0]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403610
mov ecx, dword [ebp - 0x4f4]
or ecx, 1
mov dword [ebp - 0x4f4], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4f0]
call fcn.00401640
mov eax, dword [ebp + 8]
jmp 0x413c78
jmp 0x413b0e
mov ecx, dword [ebp + 8]
call fcn.004035f0
mov edx, dword [ebp - 0x4f4]
or edx, 1
mov dword [ebp - 0x4f4], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4f0]
call fcn.00401640
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0047a020
mov esp, ebp
pop ebp
ret
Function at 0x414570
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
push eax
call fcn.0047a212
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00459a30
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.0047a3c0
add esp, 8
mov byte [ebp - 1], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
jmp 0x4145da
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 8]
jg 0x414648
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + edx*2]
cmp ecx, 0x5c
jne 0x414646
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov cx, word [eax + edx*2]
mov word [ebp - 0x18], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov word [eax + edx*2], 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41462f
push 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41462f
mov byte [ebp - 1], 0
jmp 0x414648
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dx, word [ebp - 0x18]
mov word [ecx + eax*2], dx
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x4145d1
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.00459a2b
add esp, 4
movzx eax, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x416980
Capabilities:
Check if file exists
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x4f4320]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4169c5
xor eax, eax
jmp 0x416ac4
mov word [ebp - 0x220], 0
push 0x206
push 0
lea ecx, [ebp - 0x21e]
push ecx
call fcn.00479a10
add esp, 0xc
mov dword [ebp - 0xc], 0x104
mov dword [ebp - 4], 1
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0x4d128c
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x416aa2
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov word [ebp - 0x428], 0
push 0x206
push 0
lea edx, [ebp - 0x426]
push edx
call fcn.00479a10
add esp, 0xc
push 0
push 0x26
lea eax, [ebp - 0x428]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.Internet_Exploreriexplore.exe
lea ecx, [ebp - 0x428]
push ecx
call fcn.0047a396
add esp, 8
lea edx, [ebp - 0x428]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x416a88
xor eax, eax
jmp 0x416ac4
lea eax, [ebp - 0x428]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0047a3c0
add esp, 8
mov eax, 1
jmp 0x416ac4
lea edx, [ebp - 0x220]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0047a3c0
add esp, 8
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047a020
mov esp, ebp
pop ebp
ret
Function at 0x416f00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
mov eax, dword [0x4f4320]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x228], 0
mov word [ebp - 0x440], 0
push 0x206
push 0
lea eax, [ebp - 0x43e]
push eax
call fcn.00479a10
add esp, 0xc
mov word [ebp - 0x220], 0
push 0x206
push 0
lea ecx, [ebp - 0x21e]
push ecx
call fcn.00479a10
add esp, 0xc
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 0x444], 1
lea edx, [ebp - 0x14]
push edx
push 0x20019
push 0
push str.htmlfile
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x416fd3
xor eax, eax
jmp 0x4170c7
lea eax, [ebp - 0x22c]
push eax
push 0x20019
push 0
push 0x4d136c
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x417006
xor eax, eax
jmp 0x4170c7
lea edx, [ebp - 0x234]
push edx
push 0x20019
push 0
push 0x4d1378
mov eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x41703c
xor eax, eax
jmp 0x4170c7
mov dword [ebp - 0x228], 0x104
mov dword [ebp - 0xc], 1
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x440]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
push 0x4d1394
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x22c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x440]
push ecx
call fcn.0047c162
add esp, 4
mov dword [ebp - 0x224], eax
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x224]
push eax
call fcn.00405d10
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4170c2
xor eax, eax
jmp 0x4170c7
mov eax, 1
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0047a020
mov esp, ebp
pop ebp
ret
Function at 0x417890
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [ebp + 8]
push eax
call fcn.0047a212
add esp, 4
test eax, eax
jne 0x4178a8
jmp 0x4178fb
push 0x3c
push 0
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00479a10
add esp, 0xc
mov dword [ebp - 0x30], 0x4d14c0
mov dword [ebp - 0x38], 0x200
mov edx, dword [ebp + 8]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], 1
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0x4d14cc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x4178fb
mov ecx, dword [ebp + 8]
push ecx
call fcn.00417ab0
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x4179c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x4f4320]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x44
push 0
lea eax, [ebp - 0x830]
push eax
call fcn.00479a10
add esp, 0xc
mov dword [ebp - 0x830], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x7e8]
push ecx
call fcn.00479a10
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x4d14f0
lea eax, [ebp - 0x7d8]
push eax
call fcn.00479b88
add esp, 0xc
lea ecx, [ebp - 0x7e8]
push ecx
lea edx, [ebp - 0x830]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x7d8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x417a4a
jmp 0x417a9b
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x417a81
cmp dword [ebp + 0x10], 0
jle 0x417a63
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x834], edx
jmp 0x417a6d
mov dword [ebp - 0x834], 0xffffffff
mov eax, dword [ebp - 0x834]
push eax
mov ecx, dword [ebp - 0x7e8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x7e8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x7e4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047a020
mov esp, ebp
pop ebp
ret

Function at 0x417ab0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x4f4320]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x44
push 0
lea eax, [ebp - 0x830]
push eax
call fcn.00479a10
add esp, 0xc
mov dword [ebp - 0x830], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x7e8]
push ecx
call fcn.00479a10
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x4d14f8
lea eax, [ebp - 0x7d8]
push eax
call fcn.00479b88
add esp, 0xc
lea ecx, [ebp - 0x7e8]
push ecx
lea edx, [ebp - 0x830]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x7d8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x417b3a
jmp 0x417b54
mov ecx, dword [ebp - 0x7e8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x7e4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047a020
mov esp, ebp
pop ebp
ret