joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c171
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x1c
mov eax, 0x4e7c89
call fcn.004ccfd2
xor ebx, ebx
cmp esi, ebx
je 0x41c18b
lea eax, [esi - 0x28]
mov dword [ebp - 0x18], eax
jmp 0x41c18e
mov dword [ebp - 0x18], ebx
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
call dword [eax + 4]
test al, al
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
jne 0x41c27c
xor edi, edi
inc edi
push 0x17
mov dword [ebp - 0x14], edi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x41c1bc
mov dword [ebp - 0x14], 2
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
seta al
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
cmp byte [esi + 0x18], bl
je 0x41c1e1
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
cmp dword [ebp + 8], 8
jne 0x41c1f5
xor ecx, ecx
cmp al, bl
setne cl
inc ecx
inc ecx
mov dword [ebp - 0x10], ecx
jmp 0x41c207
cmp dword [ebp + 8], 0x14
jne 0x41c20c
xor ecx, ecx
cmp al, bl
setne cl
inc ecx
inc ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowDC]
mov edi, eax
mov dword [ebp + 0xc], edi
mov dword [ebp - 4], ebx
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
push ebx
push dword [ebp - 0x10]
push ebx
push edi
call dword [eax + 0x18]
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
push ebx
push dword [ebp - 0x14]
push 2
push edi
call dword [eax + 0x18]
cmp dword [ebp + 8], 8
je 0x41c249
cmp dword [ebp + 8], 0x14
jne 0x41c26a
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 0x10
mov dword [ebp - 0x24], 0x12
call dword [sym.imp.USER32.dll_TrackMouseEvent]
or dword [ebp - 4], 0xffffffff
cmp edi, ebx
je 0x41c27c
push edi
mov dword [ebp + 0xc], ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
xor eax, eax
call fcn.004cd0aa
ret 8
Function at 0x430f97
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [esi + 0x54]
mov ecx, eax
and ecx, 0xc
push edi
mov byte [ebp - 1], 1
cmp cl, 0xc
jne 0x430fe1
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0x10], eax
call edi
push dword [esi + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xfffffffe
call edi
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x10]
push ecx
push edi
push 0x4e
jmp 0x431008
shr eax, 2
test al, 1
je 0x431011
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [esi + 4]
movzx ecx, di
push ecx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x431044
push ebx
push 1
xor ebx, ebx
push ebx
push ebx
push dword [esi + 0x28]
push 0x509aa4
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta byte [ebp - 1]
cmp byte [ebp - 1], bl
je 0x431043
or byte [esi + 0x58], 2
push 1
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop ebx
mov al, byte [ebp - 1]
pop edi
leave
ret
Function at 0x4319ef
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x431a53
cmp dword [ebp + 0xc], 1
je 0x431a2b
cmp dword [ebp + 0xc], 2
je 0x431a2b
push 0xd
pop eax
jmp 0x431a53
mov eax, dword [ebp - 4]
test edi, edi
je 0x431a4d
test eax, eax
je 0x431a48
test al, 1
jne 0x431a26
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x431a4d
jmp 0x431a26
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8

Function at 0x431b27
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x541770]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x30
pop esi
push esi
push 0
push ebx
mov edi, ecx
call fcn.004c6270
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
mov dword [ebp - 0x118], 0x114
call fcn.004c6270
add esp, 0x18
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x431b84
cmp dword [ebp - 0x114], 6
jae 0x431b87
push 0x2c
pop esi
mov eax, dword [ebp + 8]
and dword [ebx + 4], 0
mov dword [ebx], esi
test eax, eax
jne 0x431ba7
push edi
call dword [sym.imp.USER32.dll_GetParent]
or dword [ebx + 4], 1
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edi
jmp 0x431bad
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], eax
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x431bbb
lea edi, [ebx + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [0x5442f0]
mov ecx, dword [ebp - 4]
and dword [ebx + 0x28], 0
mov dword [ebx + 0x20], eax
mov eax, dword [ebp + 0x10]
pop edi
xor ecx, ebp
mov dword [ebx + 0x24], eax
pop esi
call fcn.004c625d
leave
ret 0xc
Function at 0x441f6b
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e87d9
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
mov eax, dword [0x541770]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 8
jb 0x441fa4
mov eax, dword [eax + 4]
jmp 0x441fa7
add eax, 4
push eax
lea esi, [esp + 0x30]
call fcn.0044797a
and dword [esp + 0x48], 0
push 3
pop eax
mov word [esp + 0x1c], ax
mov dword [esp + 0x24], 0xe
mov byte [esp + 0x48], 1
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [esp + 0x48], 2
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1a4]
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push edx
push edx
lea edx, [esp + 0x28]
push edx
mov edx, esi
push edx
push eax
call dword [ecx + 0xd0]
test eax, eax
setge bl
mov byte [esp + 0x48], 1
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0xc]
push eax
call esi
mov byte [esp + 0x48], 0
lea eax, [esp + 0x1c]
push eax
call esi
or dword [esp + 0x48], 0xffffffff
lea eax, [esp + 0x2c]
push eax
call esi
mov al, bl
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x442041
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f6d83
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x541770]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [0x541770]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0xc0]
push eax
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, eax
lea ecx, [esp + 8]
call fcn.00447c99
pop ecx
and dword [esp + 0x30], 0
lea eax, [esp + 4]
push eax
push esi
call fcn.00441f6b
or dword [esp + 0x30], 0xffffffff
push 0
push 1
lea ecx, [esp + 0xc]
call fcn.00401774
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004c625d
mov esp, ebp
pop ebp
ret 4
Function at 0x4426bb
Capabilities:
Check if file exists

Disassembly:
push 4
mov eax, 0x4e9697
call fcn.004ccfd2
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
test eax, eax
jne 0x4426d7
xor al, al
jmp 0x442796
mov eax, dword [0x5455a0]
mov ecx, dword [eax - 0xc]
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.00442831
and dword [ebp - 4], 0
push dword [eax]
push 0x5455a0
call fcn.004429e2
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004036cd
test bl, bl
je 0x44275e
mov eax, dword [0x5455a0]
mov edx, dword [eax - 0xc]
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.0044279c
mov dword [ebp - 4], 1
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x442745
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004036cd
jmp 0x4426d0
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x442737
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004036cd
lea eax, [ebp - 0x10]
push eax
xor ecx, ecx
push esi
inc ecx
call fcn.004427d5
mov dword [ebp - 4], 2
push 0x50bfb8
push eax
call fcn.004429e2
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004036cd
test bl, bl
sete al
call fcn.004cd0aa
ret
Function at 0x44ba4b
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x10
mov eax, 0x4e6001
call fcn.004ccfd2
mov edi, ecx
call fcn.0044b9f7
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
cmp esi, 0xffffffff
jne 0x44ba95
or dword [ebp - 4], eax
push eax
jmp 0x44bb1a
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0044bfe0
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
push dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
je 0x44bb02
cmp dword [ebp - 0x14], ebx
je 0x44bb02
push dword [ebp - 0x14]
mov eax, dword [edi]
push dword [ebp - 0x10]
mov ecx, edi
call dword [eax + 8]
mov byte [ebp + 0xb], al
mov byte [ebp - 4], bl
push dword [ebp - 0x10]
call fcn.004c8958
pop ecx
mov dword [ebp - 0x10], ebx
or dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x44bafd
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], ebx
mov al, byte [ebp + 0xb]
jmp 0x44bb25
mov byte [ebp - 4], bl
push dword [ebp - 0x10]
call fcn.004c8958
pop ecx
mov dword [ebp - 0x10], ebx
or dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x44bb23
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], ebx
xor al, al
call fcn.004cd0aa
ret 4
Function at 0x44d987
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push 0x58
mov eax, 0x4f44e9
call fcn.004ccfd2
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 1
mov eax, dword [ebx]
mov eax, dword [eax - 0xc]
xor esi, esi
cmp eax, esi
je 0x44db3a
lea eax, [ebp - 0x10]
push eax
call fcn.0040372d
mov byte [ebp - 4], 2
push 0x50edd4
lea eax, [ebp - 0x18]
push eax
call fcn.00405d46
mov byte [ebp - 4], 3
lea edi, [ebp - 0x10]
lea ecx, [ebp - 0x18]
call fcn.004693c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.004036cd
push str..bat
mov eax, edi
push eax
call fcn.00403bd3
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 4
cmp edi, 0xffffffff
jne 0x44da2b
mov byte [ebp - 4], 2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], esi
jmp 0x44db2e
lea eax, [ebp - 0x18]
push eax
call fcn.0040372d
mov byte [ebp - 4], 5
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
call fcn.0044e657
mov byte [ebp - 4], 6
cmp byte [ebx + 9], 0
mov eax, str._echo_off__r_nATTRIB__r___s___r_n:try__r_nrd___s___r_nif_exist___s__goto_try_r_nATTRIB__r___s___r_ndel___s___cls
jne 0x44da58
mov eax, str._echo_off__r_nATTRIB__r___s___r_n:try__r_ndel___s___r_nif_exist___s__goto_try_r_nATTRIB__r___s___r_ndel___s___cls
push dword [ebp - 0x14]
push dword [ebp - 0x14]
push dword [ebx]
push dword [ebx]
push dword [ebx]
push eax
lea eax, [ebp - 0x18]
call fcn.0044e9ff
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax - 0xc]
add esp, 0x18
push esi
lea edx, [ebp - 0x20]
push edx
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [ebp - 4], 5
lea eax, [ebp - 0x14]
push eax
call fcn.0044e699
mov byte [ebp - 4], 4
lea eax, [ebp - 0x18]
push eax
call fcn.0044e699
mov byte [ebp - 4], 2
cmp edi, esi
je 0x44dab0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], esi
lea eax, [ebp - 0x1c]
lea esi, [ebx + 4]
push eax
call fcn.00468bf0
pop ecx
mov byte [ebp - 4], 7
cmp byte [ebx + 8], 0
jne 0x44dadf
xor eax, eax
push eax
push dword [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
push 0x509aa4
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x44db22
push 0x3c
pop edi
push edi
xor esi, esi
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.004c6270
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x4c], eax
add esp, 0xc
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], 0x500
mov dword [ebp - 0x58], str.runas
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x48], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.004036cd
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004036cd
mov byte [ebp - 4], 0
lea ecx, [ebx + 4]
call fcn.004036cd
or dword [ebp - 4], 0xffffffff
push ebx
call fcn.0044e699
call fcn.004cd0aa
ret 4
Function at 0x44f9fc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x44fa0a
push 0xd
pop eax
jmp 0x44fa3d
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x44fa11
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x44ffe7
Capabilities:
Delete registry key

Disassembly:
cmp byte [0x54933c], 0
jne 0x450017
push 0x50ef70
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x450010
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x549340], eax
mov byte [0x54933c], 1
mov eax, dword [0x549340]
test eax, eax
je 0x45002f
push 0
push dword [esi + 4]
push dword [esp + 0xc]
push dword [esi]
call eax
jmp 0x45003b
push dword [esp + 4]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
ret 4
Function at 0x45c3c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e8413
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x541770]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.std::locale::_Locimp.0
mov dword [esp + 0x14], 1
push esi
call fcn.004c44c9
add esp, 4
mov byte [esp + 0x14], 0
cmp dword [esi + 0x30], 0x10
jb 0x45c416
mov eax, dword [esi + 0x1c]
push eax
call fcn.004c6252
add esp, 4
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], 0
mov byte [esi + 0x1c], 0
mov dword [esp + 0x14], 0xffffffff
mov dword [esi], vtable.std::locale::facet.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x45d030
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4f0ddc
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x541770]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x5c]
push 1
lea eax, [esp + 0x18]
xor ebx, ebx
push eax
mov dword [esp + 0x18], ebx
call fcn.0045e1e0
mov dword [esp + 0x54], 1
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x20]
sar ecx, 1
jne 0x45d085
call fcn.004c6ae5
mov edx, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
push edx
push ebx
call esi
inc eax
lea ecx, [esp + 0x14]
call fcn.0045e570
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, eax
sub edx, ecx
sar edx, 1
jne 0x45d0ba
call fcn.004c6ae5
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
sub eax, ecx
sar eax, 1
push ecx
push eax
call esi
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
sub ecx, edx
sar ecx, 1
cmp eax, ecx
jbe 0x45d0ee
push edi
call fcn.0045c980
mov dword [esp + 0x10], 1
mov byte [esp + 0x54], bl
lea eax, [esp + 0x14]
push eax
jmp 0x45d170
cmp ecx, ebx
ja 0x45d0fb
call fcn.004c6ae5
mov edx, dword [esp + 0x20]
xor ecx, ecx
push edx
mov esi, edx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], cx
call fcn.004c6f29
add esp, 4
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.0040518b
mov byte [esp + 0x54], 2
push edi
lea ecx, [esp + 0x30]
call fcn.0045ca50
mov dword [esp + 0x10], 1
mov byte [esp + 0x54], 1
cmp dword [esp + 0x44], 8
jb 0x45d154
mov edx, dword [esp + 0x30]
push edx
call fcn.004c6252
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], ax
mov byte [esp + 0x54], bl
lea ecx, [esp + 0x14]
push ecx
call fcn.0045e250
mov eax, edi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x48
ret
Function at 0x45d190
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4f433b
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x541770]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x541770]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x270]
lea eax, [esp + 0x38]
xor ebx, ebx
push eax
mov dword [esp + 0x38], ebp
mov edi, ecx
mov dword [esp + 0x34], ebx
call fcn.0045d030
add esp, 4
mov dword [esp + 0x268], 1
lea esi, [esp + 0x14]
lea ecx, [esp + 0x38]
call fcn.0045ddf0
mov byte [esp + 0x268], 2
mov esi, 8
cmp dword [edi + 0x18], esi
jb 0x45d21a
mov edi, dword [edi + 4]
jmp 0x45d21d
add edi, 4
cmp dword [eax + 0x18], esi
jb 0x45d227
mov eax, dword [eax + 4]
jmp 0x45d22a
add eax, 4
lea ecx, [esp + 0x54]
push ecx
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov byte [esp + 0x268], 1
cmp dword [esp + 0x2c], esi
jb 0x45d253
mov edx, dword [esp + 0x18]
push edx
call fcn.004c6252
add esp, 4
xor eax, eax
mov edi, 7
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], ax
cmp byte [esp + 0x274], bl
je 0x45d27b
lea ecx, [esp + 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x54]
xor edx, edx
push eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], dx
call fcn.004c6f29
add esp, 4
push eax
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040518b
mov byte [esp + 0x268], 3
push ebp
lea ecx, [esp + 0x18]
call fcn.0045df60
mov byte [esp + 0x268], 3
mov dword [esp + 0x30], 1
mov byte [esp + 0x268], 1
cmp dword [esp + 0x2c], esi
jb 0x45d2e3
mov edx, dword [esp + 0x18]
push edx
call fcn.004c6252
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], ax
mov dword [esp + 0x268], ebx
cmp dword [esp + 0x50], esi
jb 0x45d30c
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004c6252
add esp, 4
xor edx, edx
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], dx
mov eax, ebp
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.004c625d
add esp, 0x258
ret
Function at 0x45f250
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ebd99
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebp
push esi
mov eax, dword [0x541770]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x28], ebp
push 0xffffffffffffffff
mov dword [esp + 0x14], ebp
push ebp
xor eax, eax
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebp
lea esi, [edi + 4]
push ebx
mov ecx, edi
mov dword [esp + 0x28], edi
mov word [esi], ax
call fcn.00401665
mov dword [esp + 0x28], ebp
mov eax, dword [edi + 0x18]
mov dword [esp + 0x10], 1
cmp eax, 8
jb 0x45f2bc
mov edx, dword [esi]
mov dword [esp + 0xc], edx
jmp 0x45f2c2
mov dword [esp + 0xc], esi
mov edx, esi
cmp edx, ebp
je 0x45f2e6
cmp eax, 8
jb 0x45f2cf
mov ecx, dword [esi]
jmp 0x45f2d1
mov ecx, esi
cmp ecx, edx
ja 0x45f2e6
cmp eax, 8
jb 0x45f2dc
mov esi, dword [esi]
mov ecx, dword [edi + 0x14]
lea eax, [esi + ecx*2]
cmp edx, eax
jbe 0x45f2eb
call fcn.004c6ae5
mov ebp, dword [ebx + 0x18]
lea esi, [ebx + 4]
cmp ebp, 8
jb 0x45f2fa
mov ecx, dword [esi]
jmp 0x45f2fc
mov ecx, esi
mov eax, dword [ebx + 0x14]
add eax, eax
add ecx, eax
mov dword [esp + 0x14], ecx
je 0x45f329
cmp ebp, 8
jb 0x45f312
mov edx, dword [esi]
jmp 0x45f314
mov edx, esi
cmp edx, ecx
ja 0x45f329
cmp ebp, 8
jb 0x45f321
mov edx, dword [esi]
jmp 0x45f323
mov edx, esi
add eax, edx
cmp ecx, eax
jbe 0x45f32e
call fcn.004c6ae5
mov ecx, dword [ebx + 0x18]
cmp ecx, 8
jb 0x45f33a
mov ebp, dword [esi]
jmp 0x45f33c
mov ebp, esi
test ebp, ebp
je 0x45f360
cmp ecx, 8
jb 0x45f349
mov eax, dword [esi]
jmp 0x45f34b
mov eax, esi
cmp eax, ebp
ja 0x45f360
cmp ecx, 8
jb 0x45f356
mov esi, dword [esi]
mov ecx, dword [ebx + 0x14]
lea edx, [esi + ecx*2]
cmp ebp, edx
jbe 0x45f365
call fcn.004c6ae5
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
push eax
push edi
push ecx
push ebx
push ebp
push ebx
push fcn.004c9c3b
lea esi, [esp + 0x30]
call fcn.00460550
add esp, 0x1c
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x20
ret
Function at 0x45f3a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ebd99
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebp
push esi
mov eax, dword [0x541770]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x28], ebp
push 0xffffffffffffffff
mov dword [esp + 0x14], ebp
push ebp
xor eax, eax
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebp
lea esi, [edi + 4]
push ebx
mov ecx, edi
mov dword [esp + 0x28], edi
mov word [esi], ax
call fcn.00401665
mov dword [esp + 0x28], ebp
mov eax, dword [edi + 0x18]
mov dword [esp + 0x10], 1
cmp eax, 8
jb 0x45f40c
mov edx, dword [esi]
mov dword [esp + 0xc], edx
jmp 0x45f412
mov dword [esp + 0xc], esi
mov edx, esi
cmp edx, ebp
je 0x45f436
cmp eax, 8
jb 0x45f41f
mov ecx, dword [esi]
jmp 0x45f421
mov ecx, esi
cmp ecx, edx
ja 0x45f436
cmp eax, 8
jb 0x45f42c
mov esi, dword [esi]
mov ecx, dword [edi + 0x14]
lea eax, [esi + ecx*2]
cmp edx, eax
jbe 0x45f43b
call fcn.004c6ae5
mov ebp, dword [ebx + 0x18]
lea esi, [ebx + 4]
cmp ebp, 8
jb 0x45f44a
mov ecx, dword [esi]
jmp 0x45f44c
mov ecx, esi
mov eax, dword [ebx + 0x14]
add eax, eax
add ecx, eax
mov dword [esp + 0x14], ecx
je 0x45f479
cmp ebp, 8
jb 0x45f462
mov edx, dword [esi]
jmp 0x45f464
mov edx, esi
cmp edx, ecx
ja 0x45f479
cmp ebp, 8
jb 0x45f471
mov edx, dword [esi]
jmp 0x45f473
mov edx, esi
add eax, edx
cmp ecx, eax
jbe 0x45f47e
call fcn.004c6ae5
mov ecx, dword [ebx + 0x18]
cmp ecx, 8
jb 0x45f48a
mov ebp, dword [esi]
jmp 0x45f48c
mov ebp, esi
test ebp, ebp
je 0x45f4b0
cmp ecx, 8
jb 0x45f499
mov eax, dword [esi]
jmp 0x45f49b
mov eax, esi
cmp eax, ebp
ja 0x45f4b0
cmp ecx, 8
jb 0x45f4a6
mov esi, dword [esi]
mov ecx, dword [ebx + 0x14]
lea edx, [esi + ecx*2]
cmp ebp, edx
jbe 0x45f4b5
call fcn.004c6ae5
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
push eax
push edi
push ecx
push ebx
push ebp
push ebx
push fcn.004c886b
lea esi, [esp + 0x30]
call fcn.00460550
add esp, 0x1c
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x20
ret