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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ecx
je 0x428d1c
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 4]
push edx
push ecx
lea edx, [ebp - 8]
push edx
push ecx
push dword [ebp + 8]
push eax
call edi
cmp dword [ebp - 8], 1
je 0x428cc5
cmp dword [ebp - 8], 2
jne 0x428d1b
push esi
mov esi, dword [ebp + 0xc]
call fcn.00427501
mov eax, dword [ebp - 4]
shr eax, 1
inc eax
push eax
call fcn.0042771e
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push dword [ebx]
call edi
test eax, eax
jne 0x428d1a
mov eax, dword [ebp - 4]
shr eax, 1
and word [esi + eax*2], 0
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x428d0c
push eax
call fcn.00486c84
pop ecx
mov edx, esi
call fcn.00414cbf
mov dword [ebp - 0xc], 1
pop esi
pop edi
mov eax, dword [ebp - 0xc]
leave
ret 8

Function at 0x428d23
Capabilities:
Set registry value

Disassembly:
push edi
xor edi, edi
cmp dword [esi], edi
je 0x428d51
push dword [esp + 0xc]
call fcn.00486c84
pop ecx
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0x10]
push 1
push edi
push dword [esp + 0x18]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x428d51
inc edi
mov eax, edi
pop edi
ret 8

Function at 0x428d57
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push dword [ebp + 8]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x428dc8
xor eax, eax
mov dword [ebp - 0xc], esi
lea edi, [ebp - 8]
stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x428dc8
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
shrd ecx, eax, 0x14
shr eax, 0x14
mov dword [ebp - 8], eax
and dword [ebp - 8], 0x80000000
and eax, 0x7fffffff
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], esi
fild qword [ebp - 0x14]
fild qword [ebp - 0xc]
fchs
faddp st(1)
fcomp qword [0x4d25a8]
fnstsw ax
test ah, 1
jne 0x428dc8
inc esi
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x42a84f
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bc35c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
push ebx
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0x78]
mov eax, esi
mov dword [esp + 0x2c], esi
call fcn.0047060b
and dword [esp + 0x10], 0
test eax, eax
mov dword [esp + 0x24], eax
jle 0x42aa22
add edi, 0x64
mov dword [esp + 0x14], edi
jmp 0x42a8a1
mov esi, dword [esp + 0x2c]
mov eax, esi
call fcn.0047060b
mov edi, dword [esp + 0x10]
cmp edi, eax
jae 0x42a8c8
mov eax, esi
call fcn.0047060b
cmp edi, eax
jb 0x42a8c0
call fcn.004864d2
mov eax, dword [esi + 4]
mov ebx, dword [eax + edi*4]
jmp 0x42a8ca
xor ebx, ebx
lea esi, [esp + 0x1c]
mov eax, ebx
call fcn.00482aca
and dword [esp + 0x244], 0
mov edi, dword [esp + 0x1c]
push edi
push dword [esp + 0x18]
call fcn.0047331d
test eax, eax
jne 0x42aa00
lea esi, [esp + 0x28]
mov eax, ebx
call fcn.00482ae2
mov byte [esp + 0x244], 1
push dword [eax]
lea esi, [esp + 0x34]
call fcn.0041aeeb
mov byte [esp + 0x244], 2
push dword [eax]
lea eax, [esp + 0x10]
push eax
call fcn.004279af
lea eax, [esp + 0x34]
cmp dword [esp + 0x30], eax
je 0x42a939
push dword [esp + 0x30]
call fcn.00485be5
pop ecx
mov byte [esp + 0x244], 5
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.0040dae8
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x18]
call fcn.0047381a
push dword [esp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42a9f4
lea esi, [esp + 0x20]
mov eax, ebx
call fcn.00482afb
mov byte [esp + 0x244], 6
push dword [eax]
lea esi, [esp + 0x138]
call fcn.0041aeeb
mov byte [esp + 0x244], 7
push dword [eax]
lea eax, [esp + 0x1c]
push eax
call fcn.004279af
lea eax, [esp + 0x138]
cmp dword [esp + 0x134], eax
je 0x42a9bf
push dword [esp + 0x134]
call fcn.00485be5
pop ecx
mov byte [esp + 0x244], 0xa
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.0040dae8
push 0
push dword [esp + 0x1c]
xor ecx, ecx
push dword [esp + 0x14]
inc ecx
call fcn.00474f09
mov eax, dword [esp + 0x24]
add esp, 0xc
add eax, 0xfffffff0
call fcn.0040dae8
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
call fcn.0040dae8
or dword [esp + 0x244], 0xffffffff
lea eax, [edi - 0x10]
call fcn.0040dae8
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x24]
jl 0x42a89d
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42ad10
Capabilities:
Delete file
Move file

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x42ad2f
push 4
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x42ad32
xor eax, eax
inc eax
ret 4
Function at 0x42ad35
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4bae72
call fcn.004b89d0
push ecx
push ebx
push edi
push str.http:__config.i.duba.net_aldconfig_resource.png
lea eax, [ebp - 0x10]
push eax
mov edi, ecx
call fcn.004279af
and dword [ebp - 4], 0
push 0x1f4
push 0
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.00477a3a
mov ebx, eax
mov eax, dword [ebp - 0x10]
add esp, 0x10
add eax, 0xfffffff0
call fcn.0040dae8
test ebx, ebx
jne 0x42ad8d
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42ad8d
xor eax, eax
inc eax
jmp 0x42ad8f
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x42ae11
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 8]
test eax, eax
je 0x42ae43
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x42ae36
push 0
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 8], 0
xor eax, eax
inc eax
ret
Function at 0x42af12
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov ebx, eax
mov eax, dword [0x4ee2fc]
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x1c], esi
je 0x42af2f
mov ebp, dword [eax + 4]
jmp 0x42af31
xor ebp, ebp
cmp ebp, esi
jne 0x42af41
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ebp, eax
cmp ebp, esi
je 0x42af66
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebp, eax
je 0x42af66
push ebp
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x42af66
push esi
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push ecx
mov eax, esp
mov dword [ebx + 0x3b8], esi
push ebp
mov dword [eax], esi
call fcn.0042b2e1
mov ecx, eax
cmp ecx, esi
mov dword [esp + 0x18], ecx
jne 0x42af91
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x42b080
mov eax, dword [0x4ee2fc]
cmp eax, esi
mov dword [esp + 0x20], esi
je 0x42afa8
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov dword [eax + 4], ecx
mov eax, ebp
call fcn.00409629
cmp dword [ebx + 0x3ac], esi
je 0x42b01f
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push esi
push esi
push 0x2001
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push esi
push esi
push esi
push esi
push esi
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp edi, dword [esp + 0x14]
je 0x42b003
push 1
push edi
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp edi, dword [esp + 0x14]
je 0x42b01f
push esi
push edi
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, ebx
call fcn.0042b49d
push 0x97
push esi
push esi
push esi
push esi
push esi
push dword [ebx + 4]
mov dword [ebx + 0x3b8], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x1c], esi
je 0x42b064
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
cmp ebp, esi
je 0x42b064
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 4]
jne 0x42b064
push ebp
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x4ee2fc]
cmp eax, esi
je 0x42b074
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x42b0df
Capabilities:
Create thread

Disassembly:
push edi
xor edi, edi
cmp dword [esi], edi
je 0x42b150
cmp dword [esp + 8], edi
je 0x42b150
mov eax, dword [esi + 8]
cmp eax, edi
je 0x42b10b
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42b10b
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], edi
cmp dword [esi + 8], edi
jne 0x42b150
push ebx
mov ebx, dword [esi]
push 0xc
call fcn.00459afb
cmp eax, edi
pop ecx
jne 0x42b123
xor eax, eax
jmp 0x42b141
mov ecx, dword [esp + 0xc]
push edi
push edi
push eax
push 0x42bc85
push edi
push edi
mov dword [eax], ebx
mov dword [eax + 8], edi
mov dword [eax + 4], ecx
call fcn.00487b55
add esp, 0x18
xor ecx, ecx
cmp eax, edi
setne cl
mov dword [esi + 8], eax
pop ebx
mov eax, ecx
jmp 0x42b152
xor eax, eax
pop edi
ret 4

Function at 0x42bd0a
Capabilities:
Delete file

Disassembly:
mov eax, 0x4bb0d4
call fcn.004b89d0
sub esp, 0x14
mov eax, dword [0x4ed5f0]
push ebx
push esi
mov ebx, ecx
xor esi, esi
push edi
mov ecx, 0x4ed5f0
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push esi
mov dword [ebp - 4], esi
mov edi, 0x4ef368
mov dword [ebp - 0x1c], esi
push str.GetPacketData__d
mov esi, edi
call fcn.0047a4ba
pop ecx
pop ecx
lea eax, [ebp - 0x10]
push eax
push 0
mov esi, ebx
call fcn.0042be1a
push eax
push str.GetPacketData_return:_d
mov esi, edi
mov dword [ebp - 0x14], eax
call fcn.0047a4ba
cmp dword [ebp - 0x14], 0
pop ecx
pop ecx
jne 0x42bd7f
mov dword [ebx + 0x1c], 1
jmp 0x42bdf8
push 0x28
call fcn.00459afb
test eax, eax
pop ecx
je 0x42bd95
push eax
call fcn.00469836
mov ebx, eax
jmp 0x42bd97
xor ebx, ebx
test ebx, ebx
mov dword [ebp - 0x1c], ebx
je 0x42bdf8
push str.Extract...
call fcn.0047a4ba
mov eax, dword [ebx]
pop ecx
push dword [ebp + 8]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push ebx
call dword [eax]
mov ebx, eax
xor eax, eax
test ebx, ebx
sete al
push eax
push str.Extract_return:_d
call fcn.0047a4ba
test ebx, ebx
pop ecx
pop ecx
je 0x42bdf1
xor esi, esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040dae8
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x42be08
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42be15
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov esi, dword [ebp - 0x20]
jmp 0x42bdd3
Function at 0x42befb
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
push edi
xor edi, edi
push 0x206
mov esi, eax
lea eax, [ebp - 0x20e]
push edi
push eax
mov dword [ebp - 4], edi
mov word [ebp - 0x210], di
call fcn.00486640
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x42bf87
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LoadImageToMem_CreateFile_error:_d__path:_ws
mov esi, 0x4ef368
call fcn.0047a4ba
add esp, 0xc
jmp 0x42bfff
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
push eax
push edi
push 2
push edi
push ebx
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp ebx, edi
mov dword [esi], eax
jne 0x42bfba
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFileByMem_CreateFileMapping_error:_d__path:_ws
jmp 0x42bfe2
push dword [esi + 8]
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, edi
mov dword [esi + 4], eax
jne 0x42bff1
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFileByMem_MapViewOfFile_error:_d__path:_ws
mov esi, 0x4ef368
call fcn.0047a4ba
add esp, 0xc
jmp 0x42bff8
mov dword [ebp - 4], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42dbc4
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4bae72
call fcn.004b89d0
sub esp, 0xc
push ebx
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push dword [ebp + 8]
xor edi, edi
push eax
mov dword [ebp - 0x14], edi
call fcn.0042dc4e
add esp, 0xc
mov dword [ebp - 4], edi
cmp dword [esi], edi
je 0x42dc2b
mov eax, esi
push dword [eax]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040db81
pop ecx
pop ecx
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, eax
mov eax, dword [ebp - 0x18]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.0040dae8
test bl, bl
jne 0x42dc32
inc edi
lea eax, [esi + edi*4]
cmp dword [eax], 0
jne 0x42dbf3
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040dae8
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x42de3b
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push dword [ebp + 8]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x42deac
xor eax, eax
mov dword [ebp - 0xc], esi
lea edi, [ebp - 8]
stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x42deac
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
shrd ecx, eax, 0x14
shr eax, 0x14
mov dword [ebp - 8], eax
and dword [ebp - 8], 0x80000000
and eax, 0x7fffffff
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], esi
fild qword [ebp - 0x14]
fild qword [ebp - 0xc]
fchs
faddp st(1)
fcomp qword [0x4d25b0]
fnstsw ax
test ah, 1
jne 0x42deac
inc esi
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x42e1c8
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4bb660
call fcn.004b89d0
sub esp, 0x204
push esi
xor eax, eax
push edi
mov dword [ebp - 0x10], eax
push 0x1fe
mov dword [ebp - 4], 1
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.00486640
add esp, 0xc
push dword [ebp + 0xc]
lea eax, [ebp - 0x210]
push 0x100
push eax
push 0x4c6d78
push dword [ebp + 8]
push 0x4c9c6c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004279af
lea edi, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.00427953
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040dae8
mov esi, dword [ebp + 0xc]
add esi, 0xfffffff0
mov eax, esi
call fcn.004278fb
add eax, 0x10
mov dword [ebx], eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040dae8
mov eax, esi
call fcn.0040dae8
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x42e283
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4bd33e
call fcn.004b89d0
push ecx
push ebx
push edi
push 0x12c
xor ebx, ebx
push ebx
lea eax, [ebp + 8]
push ebx
push eax
lea edi, [ebp + 0xc]
mov dword [ebp - 4], 1
call fcn.00477a3a
mov edi, dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jne 0x42e2c2
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42e2c2
inc ebx
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040dae8
lea eax, [edi - 0x10]
call fcn.0040dae8
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x42e2e5
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4bd33e
call fcn.004b89d0
push ebx
push edi
push dword [ebp + 0x10]
xor ebx, ebx
push ebx
lea eax, [ebp + 8]
push ebx
push eax
lea edi, [ebp + 0xc]
mov dword [ebp - 4], 1
call fcn.00477a3a
mov edi, dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jne 0x42e321
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42e321
inc ebx
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040dae8
lea eax, [edi - 0x10]
call fcn.0040dae8
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x42eb50
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4bda61
call fcn.004b89d0
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 4], 1
mov esi, dword [ebp + 8]
and dword [ebp - 0x10], 0
add esi, 0xfffffff0
mov eax, esi
call fcn.004278fb
lea ebx, [eax + 0x10]
mov dword [ebp - 0x18], ebx
push ebx
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00446719
pop ecx
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040dae8
test edi, edi
mov edi, dword [ebp + 0xc]
je 0x42ebe5
push ecx
mov eax, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esp
call fcn.004278fb
add eax, 0x10
mov ecx, esp
mov dword [ecx], eax
push ecx
mov byte [ebp - 4], 3
mov dword [ebp - 0x14], esp
lea eax, [edi - 0x10]
mov dword [ebp - 0x14], esp
call fcn.004278fb
add eax, 0x10
mov ecx, esp
mov dword [ecx], eax
mov byte [ebp - 4], 2
call fcn.0042e283
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
lea eax, [ebx - 0x10]
call fcn.0040dae8
mov eax, esi
call fcn.0040dae8
lea eax, [edi - 0x10]
call fcn.0040dae8
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x42ec0e
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4bda61
call fcn.004b89d0
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 4], 1
mov esi, dword [ebp + 8]
and dword [ebp - 0x10], 0
add esi, 0xfffffff0
mov eax, esi
call fcn.004278fb
lea ebx, [eax + 0x10]
mov dword [ebp - 0x18], ebx
push ebx
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00446719
pop ecx
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040dae8
test edi, edi
mov edi, dword [ebp + 0xc]
je 0x42eca9
push 0x708
push ecx
mov eax, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esp
call fcn.004278fb
add eax, 0x10
mov ecx, esp
mov dword [ecx], eax
push ecx
mov byte [ebp - 4], 3
mov dword [ebp - 0x14], esp
lea eax, [edi - 0x10]
mov dword [ebp - 0x14], esp
call fcn.004278fb
add eax, 0x10
mov ecx, esp
mov dword [ecx], eax
mov byte [ebp - 4], 2
call fcn.0042e2e5
add esp, 0xc
mov dword [ebp - 0x10], eax
lea eax, [ebx - 0x10]
call fcn.0040dae8
mov eax, esi
call fcn.0040dae8
lea eax, [edi - 0x10]
call fcn.0040dae8
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x42fb6c
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov ebx, eax
mov eax, dword [0x4ee2fc]
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x1c], esi
je 0x42fb89
mov edi, dword [eax + 4]
jmp 0x42fb8b
xor edi, edi
cmp edi, esi
jne 0x42fb9b
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, eax
cmp edi, esi
je 0x42fbc0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp edi, eax
je 0x42fbc0
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x42fbc0
push esi
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push edi
mov ecx, ebx
mov dword [ebx + 0x370], esi
call fcn.0042fe43
mov ecx, eax
cmp ecx, esi
mov dword [esp + 0x18], ecx
jne 0x42fbe8
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x42fcfd
mov eax, dword [0x4ee2fc]
cmp eax, esi
mov dword [esp + 0x20], esi
je 0x42fbff
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov dword [eax + 4], ecx
mov eax, edi
call fcn.00409629
cmp dword [ebx + 0x360], esi
je 0x42fc99
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push esi
push esi
push 0x2001
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push esi
push esi
push esi
push esi
push esi
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp ebp, dword [esp + 0x14]
je 0x42fc5e
push 1
push ebp
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp ebp, dword [esp + 0x14]
je 0x42fc7a
push esi
push ebp
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
je 0x42fc99
push esi
push esi
push 0xf
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
push 0x97
push esi
push esi
push esi
push esi
push esi
push dword [ebx + 4]
mov dword [ebx + 0x370], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x1c], esi
je 0x42fcde
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp edi, esi
je 0x42fcde
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 4]
jne 0x42fcde
push edi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x4ee2fc]
cmp eax, esi
je 0x42fcee
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x374]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret