joyce8/EMBER2024-capa huggingface dataset:
Function at 0x457464
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45760f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4575f0
mov dl, 1
mov eax, dword [0x4123c8]
call fcn.004034f8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404338
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4575df
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00445380
test al, al
je 0x4575d2
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x457620
lea eax, [ebp - 0x254]
call fcn.0040907c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4575d2
xor eax, eax
push ebp
push 0x4575cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x457658
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4575b4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004045a8
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4575b4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004045a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4575d2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4574d5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415f00
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457616
lea eax, [ebp - 0x260]
call fcn.00404338
ret

Function at 0x457f58
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x45fbe0]
cmp byte [eax + 0xa5], 0
jne 0x457fc9
cmp dword [0x45fbf8], 0
jne 0x457f8a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x457f14
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x45fbf8], eax
cmp dword [0x45fbf4], 0
jne 0x457fa5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x45fbf4], eax
cmp dword [0x45fbfc], 0
jne 0x457fc9
push esp
push 0
push 0
push 0x457eb8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x45fbfc], eax
pop edx
ret
Function at 0x45865c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45fbe0]
cmp dword [eax + 0x30], 0
je 0x458706
cmp dword [ebx + 0x94], 0
jne 0x458700
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4585ec
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x458700
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4586c6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x458700
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414370
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4586d5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x459264
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x459299
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404428
jmp 0x4592a6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040438c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45a448
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45a489
mov eax, esi
call fcn.00440968
test al, al
je 0x45a489
mov eax, dword [ebx + 0x84]
call fcn.00440664
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45a489
push 0
mov eax, dword [ebx + 0x84]
call fcn.00440664
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x401480
Capabilities:
Create thread

Disassembly:
sub esp, 0x10c
mov eax, dword [0x4e4260]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x114]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x11c]
push 0x104
mov ebx, ecx
lea ecx, [esp + 0x14]
push 0
push ecx
mov dword [esp + 0x18], eax
call fcn.0046f350
add esp, 0xc
cmp dword [esi + 0x18], 8
lea ebp, [esi + 4]
jb 0x4014cd
mov eax, dword [ebp]
jmp 0x4014cf
mov eax, ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 1
call edi
cmp dword [esi + 0x18], 8
jb 0x4014f2
mov ecx, dword [ebp]
jmp 0x4014f4
mov ecx, ebp
xor ebp, ebp
push ebp
push ebp
push eax
lea edx, [esp + 0x20]
push edx
push 0xffffffffffffffff
push ecx
push ebp
push 1
call edi
mov eax, dword [esp + 0x10]
mov edi, dword [ebx + 4]
push eax
lea edx, [esp + 0x18]
call fcn.004012a0
mov esi, dword [ebx + 4]
lea ecx, [esp + 0x10]
push ecx
push ebp
push esi
push 0x401220
push ebp
push ebp
mov dword [esp + 0x28], ebp
call fcn.00476c9f
add esp, 0x18
cmp eax, ebp
mov dword [esi + 0x10], eax
pop edi
je 0x401566
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40155e
mov edx, dword [esi + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], ebp
mov eax, dword [ebx + 4]
mov al, byte [eax + 4]
jmp 0x40156c
mov ecx, dword [ebx + 4]
mov al, byte [ecx + 4]
jmp 0x40156c
mov edx, dword [ebx + 4]
mov al, byte [edx + 4]
mov ecx, dword [esp + 0x114]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046f960
add esp, 0x10c
ret 8
Function at 0x402300
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4be598
mov eax, dword fs:[0]
push eax
sub esp, 0x628
mov eax, dword [0x4e4260]
xor eax, esp
mov dword [esp + 0x624], eax
push ebx
push ebp
push edi
mov eax, dword [0x4e4260]
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 0x4d3320
mov byte [ecx + 4], bl
call fcn.00401800
push ebx
mov byte [esp + 0x644], 3
call fcn.004727e4
push eax
call fcn.004743dd
push 0x20a
lea eax, [esp + 0x22]
push ebx
push eax
mov word [esp + 0x28], bx
call fcn.0046f350
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.0046f350
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.00401a60
mov eax, dword [esi + 0x38]
cmp eax, ebx
je 0x402498
lea ebp, [eax - 1]
cmp ebp, dword [edi + 0x14]
jbe 0x402475
call fcn.0046fed4
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 0x4d3324
mov ecx, edi
call fcn.004038f0
cmp dword [esi + 0x38], ebx
jne 0x4024ab
push 3
push 0x4d3328
mov ecx, edi
call fcn.00401a60
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.0046f960
add esp, 0x634
ret
Function at 0x403c40
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4be668
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x4e4260]
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.00401d40
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.00401d40
cmp dword [esp + 0x28], 8
jb 0x403ceb
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0044f36b
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 0x404a50
Capabilities:
Get http content length

Disassembly:
mov eax, dword [eax + 4]
sub esp, 8
test eax, eax
je 0x404a8f
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 0x404a8f
mov eax, dword [esp]
xor edx, edx
add esp, 8
ret
xor eax, eax
xor edx, edx
add esp, 8
ret
Function at 0x4068c0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0x4c0b74
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 0x4068e6
xor eax, eax
jmp 0x4069ac
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 0x4c0ba4
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 0x4c0bd4
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 0x406977
xor eax, eax
jmp 0x4069ac
push 0x4c0c2c
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 0x410f20
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
call fcn.00421ae0
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
call fcn.00421e00
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
call fcn.00421700
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
call fcn.00421d90
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
call fcn.00421cb0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
call fcn.00421d20
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 [0x4e6110]
mov dword [eax + 0x190], ecx
mov esp, ebp
pop ebp
ret

Function at 0x410ff0
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.004017f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411043
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.004017f0
push eax
call fcn.004131d0
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x411050
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4e4260]
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.0046f350
add esp, 0xc
push str.AllSkin
mov ecx, dword [ebp - 0x214]
add ecx, 0x40
call fcn.004017f0
push eax
push 0x4c2f64
lea ecx, [ebp - 0x210]
push ecx
call fcn.0046f4c8
add esp, 0x10
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4110d0
lea eax, [ebp - 0x210]
push eax
call fcn.004131d0
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f960
mov esp, ebp
pop ebp
ret
Function at 0x4110e0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4e4260]
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.0046f350
add esp, 0xc
push 0x4c2f70
mov ecx, dword [ebp - 0x214]
add ecx, 0x24
call fcn.004017f0
push eax
push 0x4c2f78
lea ecx, [ebp - 0x210]
push ecx
call fcn.0046f4c8
add esp, 0x10
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411160
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.004017f0
push eax
push 0x4c2f90
lea ecx, [ebp - 0x210]
push ecx
call fcn.0046f4c8
add esp, 0x10
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4111a8
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.0046f960
mov esp, ebp
pop ebp
ret

Function at 0x4111c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4e4260]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
push 0x4c2f9c
mov ecx, dword [ebp - 0x214]
add ecx, 0x40
call fcn.004017f0
push eax
push 0x4c2fac
lea eax, [ebp - 0x210]
push eax
call fcn.0046f4c8
add esp, 0x10
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411221
lea edx, [ebp - 0x210]
push edx
call fcn.004131d0
add esp, 4
push 0x4c2fb8
lea eax, [ebp - 0x210]
push eax
call fcn.0046fcd6
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.0046f960
mov esp, ebp
pop ebp
ret

Function at 0x411260
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4e4260]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
push 0x4c2fd0
mov ecx, dword [ebp - 0x214]
add ecx, 0x40
call fcn.004017f0
push eax
push 0x4c2fe0
lea eax, [ebp - 0x210]
push eax
call fcn.0046f4c8
add esp, 0x10
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4112c1
lea edx, [ebp - 0x210]
push edx
call fcn.004131d0
add esp, 4
push str.Related.ini
lea eax, [ebp - 0x210]
push eax
call fcn.0046fcd6
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.0046f960
mov esp, ebp
pop ebp
ret
Function at 0x4113e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4e4260]
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.004017f0
push eax
push 0x4c308c
lea eax, [ebp - 0x210]
push eax
call fcn.0046f4c8
add esp, 0x10
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411441
lea edx, [ebp - 0x210]
push edx
call fcn.004131d0
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.0046f960
mov esp, ebp
pop ebp
ret
Function at 0x411bd0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x860
mov eax, dword [0x4e4260]
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.0046f350
add esp, 0xc
mov word [ebp - 0x440], 0
push 0x206
push 0
lea ecx, [ebp - 0x43e]
push ecx
call fcn.0046f350
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.0046f350
add esp, 0xc
mov word [ebp - 0x858], 0
push 0x206
push 0
lea eax, [ebp - 0x856]
push eax
call fcn.0046f350
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x444], 0xffffffff
jne 0x411ca3
jmp 0x411d3e
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 0x411d01
mov eax, dword [ebp - 0x230]
cmp eax, dword [ebp - 0x85c]
jne 0x411cea
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x440]
push edx
call fcn.0046fd00
add esp, 8
jmp 0x411d01
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x444]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x411cc4
cmp dword [ebp - 0x444], 0xffffffff
je 0x411d17
mov edx, dword [ebp - 0x444]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x440]
push eax
call fcn.00471982
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.0046f960
mov esp, ebp
pop ebp
ret

Function at 0x412690
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4e4260]
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.0046f350
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 0x412701
cmp dword [ebp - 0x120], 0
je 0x4126f1
cmp dword [ebp - 0x120], 1
jne 0x412701
movzx edx, byte [ebp - 0xe]
cmp edx, 1
jne 0x412701
mov eax, 1
jmp 0x412703
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f960
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4e4260]
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 0x41279b
xor al, al
jmp 0x412809
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 0x4127b7
xor al, al
jmp 0x412809
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 0x4127e5
xor al, al
jmp 0x412809
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0046fd00
add esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x412807
xor al, al
jmp 0x412809
mov al, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0046f960
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4e4260]
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.0046f350
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x218]
call fcn.00412820
movzx edx, al
test edx, edx
jne 0x4128f9
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.0046fb52
add esp, 4
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x4128f9
jmp 0x41296a
push 0x4c3350
lea edx, [ebp - 0x210]
push edx
call fcn.0046fcd6
add esp, 8
push 0x4c3354
lea eax, [ebp - 0x210]
push eax
call fcn.0046fcd6
add esp, 8
push 0x4c3370
lea ecx, [ebp - 0x210]
push ecx
call fcn.0046fcd6
add esp, 8
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x412955
lea eax, [ebp - 0x210]
push eax
call fcn.004131d0
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.0046f960
mov esp, ebp
pop ebp
ret