joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402300
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4bdff8
mov eax, dword fs:[0]
push eax
sub esp, 0x628
mov eax, dword [0x4e3260]
xor eax, esp
mov dword [esp + 0x624], eax
push ebx
push ebp
push edi
mov eax, dword [0x4e3260]
xor eax, esp
push eax
lea eax, [esp + 0x638]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esi], ebx
mov eax, 7
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], ebx
mov dword [esp + 0x10], esi
mov word [esi + 0xc], bx
lea edi, [esi + 0x24]
mov dword [esp + 0x640], ebx
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], ebx
mov word [edi + 4], bx
mov dword [esi + 0x58], eax
mov dword [esi + 0x54], ebx
mov word [esi + 0x44], bx
lea ecx, [esi + 0x5c]
mov byte [esp + 0x640], 2
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push 0x4d2080
mov byte [ecx + 4], bl
call fcn.00401810
push ebx
mov byte [esp + 0x644], 3
call fcn.00472304
push eax
call fcn.00473efd
push 0x20a
lea eax, [esp + 0x22]
push ebx
push eax
mov word [esp + 0x28], bx
call fcn.0046ee70
add esp, 0x14
lea ecx, [esp + 0x14]
push ecx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
add eax, 0xffffffff
cmp eax, 0x103
ja 0x402461
push 0x410
lea edx, [esp + 0x226]
push ebx
push edx
mov word [esp + 0x22a], bx
mov word [esp + 0x22c], bx
call fcn.0046ee70
add esp, 0xc
push 0x208
lea eax, [esp + 0x224]
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x40243e
cmp eax, ebx
je 0x40243e
lea edx, [esp + 0x220]
push edx
mov ecx, edi
mov word [esp + eax*2 + 0x224], bx
call fcn.00403490
jmp 0x402461
lea eax, [esp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x402445
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.00401a70
mov eax, dword [esi + 0x38]
cmp eax, ebx
je 0x402498
lea ebp, [eax - 1]
cmp ebp, dword [edi + 0x14]
jbe 0x402475
call fcn.0046f9f4
cmp dword [edi + 0x18], 8
jb 0x402480
mov eax, dword [edi + 4]
jmp 0x402483
lea eax, [edi + 4]
cmp word [eax + ebp*2], 0x5c
je 0x402498
push 1
push 0x4d2084
mov ecx, edi
call fcn.004038f0
cmp dword [esi + 0x38], ebx
jne 0x4024ab
push 3
push 0x4d2088
mov ecx, edi
call fcn.00401a70
mov eax, esi
mov dword [esi + 4], ebx
mov ecx, dword [esp + 0x638]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x624]
xor ecx, esp
call fcn.0046f480
add esp, 0x634
ret
Function at 0x403c40
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4be098
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x4e3260]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor edi, edi
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
call fcn.00401d50
mov edx, dword [esp + 0x44]
mov eax, edx
mov dword [esp + 0x34], edi
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x403ca0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.004038f0
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push eax
mov ecx, esi
mov word [esi + 4], di
call fcn.00401d50
cmp dword [esp + 0x28], 8
jb 0x403ceb
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0044ee8b
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x2c
ret

Function at 0x404a10
Capabilities:
Get http content length

Disassembly:
mov eax, dword [eax + 4]
sub esp, 8
test eax, eax
je 0x404a4f
push 0
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 8]
push edx
push 0x20000005
push eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x404a4f
mov eax, dword [esp]
xor edx, edx
add esp, 8
ret
xor eax, eax
xor edx, edx
add esp, 8
ret
Function at 0x407aa0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0x4bfb74
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
jne 0x407ac6
xor eax, eax
jmp 0x407b8c
push str.GetNativeSystemInfo
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
push str.IsWow64Process
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
push str.Wow64DisableWow64FsRedirection
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
push 0x4bfbd4
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
push str.GetSystemWow64DirectoryW
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x407b57
xor eax, eax
jmp 0x407b8c
push 0x4bfc2c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
push str.Wow64RevertWow64FsRedirection
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4110f0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
call fcn.00421870
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
call fcn.00421b90
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
call fcn.00421490
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
call fcn.00421b20
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
call fcn.00421a40
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
call fcn.00421ab0
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
add eax, 0x1a0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 4]
add ecx, 0x1b8
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [ebp - 4]
add edx, 0x1a8
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 4]
add eax, 0x1e8
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 4]
add ecx, 0x1c8
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [ebp - 4]
add edx, 0x1d8
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 4]
mov ecx, dword [0x4e5110]
mov dword [eax + 0x190], ecx
mov esp, ebp
pop ebp
ret

Function at 0x4111c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 0x40
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.00403470
push str.Skin_
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.004034c0
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.00401680
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411213
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.00401680
push eax
call fcn.004132f0
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x411220
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4e3260]
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.0046ee70
add esp, 0xc
push str.AllSkin
mov ecx, dword [ebp - 0x214]
add ecx, 0x40
call fcn.00401680
push eax
push 0x4c1f64
lea ecx, [ebp - 0x210]
push ecx
call fcn.0046efe8
add esp, 0x10
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4112a0
lea eax, [ebp - 0x210]
push eax
call fcn.004132f0
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f480
mov esp, ebp
pop ebp
ret
Function at 0x4112b0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4e3260]
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.0046ee70
add esp, 0xc
push 0x4c1f70
mov ecx, dword [ebp - 0x214]
add ecx, 0x24
call fcn.00401680
push eax
push 0x4c1f78
lea ecx, [ebp - 0x210]
push ecx
call fcn.0046efe8
add esp, 0x10
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411330
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.00401680
push eax
push 0x4c1f90
lea ecx, [ebp - 0x210]
push ecx
call fcn.0046efe8
add esp, 0x10
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411378
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.0046f480
mov esp, ebp
pop ebp
ret

Function at 0x411390
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4e3260]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
push 0x4c1f9c
mov ecx, dword [ebp - 0x214]
add ecx, 0x40
call fcn.00401680
push eax
push 0x4c1fac
lea eax, [ebp - 0x210]
push eax
call fcn.0046efe8
add esp, 0x10
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4113f1
lea edx, [ebp - 0x210]
push edx
call fcn.004132f0
add esp, 4
push 0x4c1fb8
lea eax, [ebp - 0x210]
push eax
call fcn.0046f7f6
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x214]
add ecx, 0x5c
call fcn.00403490
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f480
mov esp, ebp
pop ebp
ret

Function at 0x411430
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4e3260]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
push 0x4c1fd0
mov ecx, dword [ebp - 0x214]
add ecx, 0x40
call fcn.00401680
push eax
push 0x4c1fe0
lea eax, [ebp - 0x210]
push eax
call fcn.0046efe8
add esp, 0x10
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411491
lea edx, [ebp - 0x210]
push edx
call fcn.004132f0
add esp, 4
push str.Related.ini
lea eax, [ebp - 0x210]
push eax
call fcn.0046f7f6
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x214]
add ecx, 0xe8
call fcn.00403490
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f480
mov esp, ebp
pop ebp
ret
Function at 0x4115b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4e3260]
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.00401680
push eax
push 0x4c208c
lea eax, [ebp - 0x210]
push eax
call fcn.0046efe8
add esp, 0x10
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411611
lea edx, [ebp - 0x210]
push edx
call fcn.004132f0
add esp, 4
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x214]
add ecx, 0x158
call fcn.00403490
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f480
mov esp, ebp
pop ebp
ret
Function at 0x411da0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x860
mov eax, dword [0x4e3260]
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.0046ee70
add esp, 0xc
mov word [ebp - 0x440], 0
push 0x206
push 0
lea ecx, [ebp - 0x43e]
push ecx
call fcn.0046ee70
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.0046ee70
add esp, 0xc
mov word [ebp - 0x858], 0
push 0x206
push 0
lea eax, [ebp - 0x856]
push eax
call fcn.0046ee70
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x444], 0xffffffff
jne 0x411e73
jmp 0x411f0e
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 0x411ed1
mov eax, dword [ebp - 0x230]
cmp eax, dword [ebp - 0x85c]
jne 0x411eba
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x440]
push edx
call fcn.0046f820
add esp, 8
jmp 0x411ed1
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x444]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x411e94
cmp dword [ebp - 0x444], 0xffffffff
je 0x411ee7
mov edx, dword [ebp - 0x444]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x440]
push eax
call fcn.004714a2
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.00403490
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0046f480
mov esp, ebp
pop ebp
ret

Function at 0x412860
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4e3260]
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.0046ee70
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 0x4128d1
cmp dword [ebp - 0x120], 0
je 0x4128c1
cmp dword [ebp - 0x120], 1
jne 0x4128d1
movzx edx, byte [ebp - 0xe]
cmp edx, 1
jne 0x4128d1
mov eax, 1
jmp 0x4128d3
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f480
mov esp, ebp
pop ebp
ret

Function at 0x4128f0
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 0x412935
push str.AppDataLocalLow
mov edx, dword [ebp + 8]
push edx
call fcn.0046f7f6
add esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x412931
xor al, al
jmp 0x412937
mov al, 1
jmp 0x412937
xor al, al
mov esp, ebp
pop ebp
ret 8
Function at 0x412940
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4e3260]
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 0x41296b
xor al, al
jmp 0x4129d9
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 0x412987
xor al, al
jmp 0x4129d9
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 0x4129b5
xor al, al
jmp 0x4129d9
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0046f820
add esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4129d7
xor al, al
jmp 0x4129d9
mov al, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0046f480
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4e3260]
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.0046ee70
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x218]
call fcn.004129f0
movzx edx, al
test edx, edx
jne 0x412ac9
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.0046f672
add esp, 4
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x412ac9
jmp 0x412b3a
push 0x4c2350
lea edx, [ebp - 0x210]
push edx
call fcn.0046f7f6
add esp, 8
push 0x4c2354
lea eax, [ebp - 0x210]
push eax
call fcn.0046f7f6
add esp, 8
push 0x4c2370
lea ecx, [ebp - 0x210]
push ecx
call fcn.0046f7f6
add esp, 8
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x412b25
lea eax, [ebp - 0x210]
push eax
call fcn.004132f0
add esp, 4
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x218]
add ecx, 0x40
call fcn.00403490
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f480
mov esp, ebp
pop ebp
ret
Function at 0x412b50
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4e3260]
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.0046ee70
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x218]
call fcn.004129f0
movzx edx, al
test edx, edx
jne 0x412bd9
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.0046f672
add esp, 4
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x412bd9
jmp 0x412c4a
push 0x4c2374
lea edx, [ebp - 0x210]
push edx
call fcn.0046f7f6
add esp, 8
push 0x4c2378
lea eax, [ebp - 0x210]
push eax
call fcn.0046f7f6
add esp, 8
push 0x4c23a0
lea ecx, [ebp - 0x210]
push ecx
call fcn.0046f7f6
add esp, 8
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x412c35
lea eax, [ebp - 0x210]
push eax
call fcn.004132f0
add esp, 4
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x218]
add ecx, 0x24
call fcn.00403490
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f480
mov esp, ebp
pop ebp
ret

Function at 0x412c60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
mov eax, dword [0x4e3260]
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.0046ee70
add esp, 0xc
push 0x4c23a4
lea ecx, [ebp - 0x420]
push ecx
call fcn.0046f820
add esp, 8
push 0x4c23b8
lea edx, [ebp - 0x420]
push edx
call fcn.0046f7f6
add esp, 8
mov ecx, dword [ebp - 0x62c]
add ecx, 0x40
call fcn.00401680
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0046f820
add esp, 8
mov ecx, dword [ebp - 0x62c]
add ecx, 0x24
call fcn.00401680
push eax
lea ecx, [ebp - 0x628]
push ecx
call fcn.0046f820
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 0x412d63
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push 1
push 0
push 0x4c23d8
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 0x4c23f0
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.0046f480
mov esp, ebp
pop ebp
ret
Function at 0x4132f0
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.0046f672
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.0044ee90
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.0046f820
add esp, 8
mov byte [ebp - 1], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
jmp 0x41335a
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 8]
jg 0x4133c8
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + edx*2]
cmp ecx, 0x5c
jne 0x4133c6
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 0x4133af
push 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4133af
mov byte [ebp - 1], 0
jmp 0x4133c8
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 0x413351
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.0044ee8b
add esp, 4
movzx eax, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x415630
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 [0x4e3260]
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 0x415675
xor eax, eax
jmp 0x415774
mov word [ebp - 0x220], 0
push 0x206
push 0
lea ecx, [ebp - 0x21e]
push ecx
call fcn.0046ee70
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 0x4c27cc
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 0x415752
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.0046ee70
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.0046f7f6
add esp, 8
lea edx, [ebp - 0x428]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x415738
xor eax, eax
jmp 0x415774
lea eax, [ebp - 0x428]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0046f820
add esp, 8
mov eax, 1
jmp 0x415774
lea edx, [ebp - 0x220]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0046f820
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.0046f480
mov esp, ebp
pop ebp
ret