joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4586a0
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 0x45884b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45882c
mov dl, 1
mov eax, dword [0x417a64]
call fcn.00403d64
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404b28
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45881b
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.004465e0
test al, al
je 0x45880e
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, 0x45885c
lea eax, [ebp - 0x254]
call fcn.0040ae54
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45880e
xor eax, eax
push ebp
push 0x458807
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 0x458894
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4587f0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404da8
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 0x4587f0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404da8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45880e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x458711
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041ba5c
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 0x458852
lea eax, [ebp - 0x260]
call fcn.00404b28
ret

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

Disassembly:
push ecx
mov eax, dword [0x49fbe0]
cmp byte [eax + 0xa5], 0
jne 0x459205
cmp dword [0x49fbf8], 0
jne 0x4591c6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x459150
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x49fbf8], eax
cmp dword [0x49fbf4], 0
jne 0x4591e1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x49fbf4], eax
cmp dword [0x49fbfc], 0
jne 0x459205
push esp
push 0
push 0
push 0x4590f4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x49fbfc], eax
pop edx
ret
Function at 0x459898
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x49fbe0]
cmp dword [eax + 0x30], 0
je 0x459942
cmp dword [ebx + 0x94], 0
jne 0x45993c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x459828
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45993c
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 0x459902
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45993c
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.004199b0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x459911
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45a4a0
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 0x45a4d5
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.00404c18
jmp 0x45a4e2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b7c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45b58c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45b5cd
mov eax, esi
call fcn.00441c0c
test al, al
je 0x45b5cd
mov eax, dword [ebx + 0x84]
call fcn.00441908
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45b5cd
push 0
mov eax, dword [ebx + 0x84]
call fcn.00441908
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45cea8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
mov ebx, eax
push 0x65
lea eax, [ebp - 0x65]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, ebx
lea edx, [ebp - 0x65]
mov ecx, 0x65
call fcn.00404da8
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45d98c
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.00407fc0
ret
Function at 0x45dab4
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fe8
xor eax, eax
push ebp
push 0x45dc02
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x6c]
call fcn.0045d98c
push 0
push 0x8000080
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00404ff8
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x45dbe1
xor eax, eax
push ebp
push 0x45dbda
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x45dbc3
xor eax, eax
push ebp
push 0x45dbbc
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x45dba5
xor eax, eax
push ebp
push 0x45db9e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetFileSize_1
mov ecx, eax
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0x14]
call fcn.0045d9c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45dba5
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45dbc3
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45dbe1
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x6c]
call fcn.0045da40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45dc09
lea eax, [ebp - 4]
call fcn.00404b28
ret

Function at 0x45e13c
Capabilities:
Acquire debug privileges

Disassembly:
push ebx
push ecx
push esp
push 0x20
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
mov cl, 1
mov edx, 0x45e174
mov eax, dword [esp]
call fcn.0045e0a4
mov ebx, eax
mov eax, dword [esp]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, ebx
pop edx
pop ebx
ret
Function at 0x45e9dc
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe7c
push ebx
xor edx, edx
mov dword [ebp - 0x184], edx
mov dword [ebp - 0x174], edx
mov dword [ebp - 0x180], edx
mov dword [ebp - 0x170], edx
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x168], edx
mov dword [ebp - 0x164], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fe8
lea eax, [ebp - 0x160]
mov edx, dword [0x4085dc]
call fcn.0040580c
xor eax, eax
push ebp
push 0x45ec51
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov byte [eax - 1], 1
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040ec8c
mov eax, dword [ebp - 8]
call fcn.0040a124
test al, al
je 0x45ec05
mov ebx, 0x3f
lea eax, [ebp - 0x164]
mov ecx, 0x45ec68
mov edx, dword [ebp - 8]
call fcn.00404e44
mov eax, dword [ebp - 0x164]
lea ecx, [ebp - 0x160]
mov edx, ebx
call fcn.0040a2f4
test eax, eax
jne 0x45ebbe
mov eax, dword [ebp - 0x154]
mov edx, 0x45ec74
call fcn.00404f44
je 0x45eba0
mov eax, dword [ebp - 0x154]
mov edx, 0x45ec80
call fcn.00404f44
je 0x45eba0
mov eax, dword [ebp - 0x158]
and eax, 0x10
cmp eax, 0x10
jne 0x45eb01
mov eax, dword [ebp + 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0x154]
push 0x45ec8c
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00404eb8
mov eax, dword [ebp - 0x168]
call fcn.0045e9dc
pop ecx
jmp 0x45eba0
push 0x80
lea eax, [ebp - 0x16c]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 8]
call fcn.00404e44
mov eax, dword [ebp - 0x16c]
call fcn.00404ff8
push eax
call sub.kernel32.dll_SetFileAttributesA
lea eax, [ebp - 0x170]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 8]
call fcn.00404e44
mov eax, dword [ebp - 0x170]
call fcn.0040a384
test al, al
jne 0x45eba0
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0x180]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 8]
call fcn.00404e44
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x17c], eax
mov byte [ebp - 0x178], 0xb
lea edx, [ebp - 0x17c]
xor ecx, ecx
mov eax, 0x45ec98
call fcn.0040aeec
mov eax, dword [ebp - 0x174]
call fcn.0045cd14
mov eax, dword [ebp + 8]
mov byte [eax - 1], 0
lea eax, [ebp - 0x160]
call fcn.0040a344
test eax, eax
je 0x45ea94
lea eax, [ebp - 0x160]
call fcn.0040a368
mov eax, dword [ebp - 4]
call fcn.0040a78c
test al, al
jne 0x45ec05
lea eax, [ebp - 0x184]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x17c], eax
mov byte [ebp - 0x178], 0xb
lea edx, [ebp - 0x17c]
xor ecx, ecx
mov eax, 0x45ecb4
call fcn.0040aeec
mov eax, dword [ebp - 0x184]
call fcn.0045cd14
mov eax, dword [ebp + 8]
mov byte [eax - 1], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ec58
lea eax, [ebp - 0x184]
mov edx, 2
call fcn.00404b4c
lea eax, [ebp - 0x174]
mov edx, 5
call fcn.00404b4c
lea eax, [ebp - 0x160]
mov edx, dword [0x4085dc]
call fcn.004058dc
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404b4c
ret
Function at 0x45ed8c
Capabilities:
Delete directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe88
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x174], ecx
mov dword [ebp - 0x178], ecx
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x160], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fe8
lea eax, [ebp - 0x15c]
mov edx, dword [0x4085dc]
call fcn.0040580c
xor eax, eax
push ebp
push 0x45efb4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [0x49e428]
mov edx, dword [edx]
call fcn.00404f44
je 0x45ef7d
lea edx, [ebp - 0x160]
mov eax, dword [ebp - 4]
call fcn.0040ec8c
mov edx, dword [ebp - 0x160]
lea eax, [ebp - 4]
call fcn.00404bc0
lea eax, [ebp - 0x164]
mov ecx, 0x45efcc
mov edx, dword [ebp - 4]
call fcn.00404e44
mov eax, dword [ebp - 0x164]
lea ecx, [ebp - 0x15c]
mov edx, 0x3f
call fcn.0040a2f4
mov esi, eax
xor eax, eax
push ebp
push 0x45ef76
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
jne 0x45ef5d
mov eax, dword [ebp - 0x150]
mov edx, 0x45efd8
call fcn.00404f44
je 0x45ef48
mov eax, dword [ebp - 0x150]
mov edx, 0x45efe4
call fcn.00404f44
je 0x45ef48
test dword [ebp - 0x154], 0x10
setg al
test al, bl
je 0x45eee7
lea eax, [ebp - 0x168]
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 4]
call fcn.00404e44
mov eax, dword [ebp - 0x168]
mov dl, 1
call fcn.0045ed8c
lea eax, [ebp - 0x16c]
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 4]
call fcn.00404e44
mov eax, dword [ebp - 0x16c]
call fcn.00404ff8
push eax
call sub.kernel32.dll_RemoveDirectoryA
jmp 0x45ef48
push 0x80
lea eax, [ebp - 0x170]
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 4]
call fcn.00404e44
mov eax, dword [ebp - 0x170]
call fcn.00404ff8
push eax
call sub.kernel32.dll_SetFileAttributesA
lea eax, [ebp - 0x178]
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 4]
call fcn.00404e44
mov eax, dword [ebp - 0x178]
call fcn.00404ff8
mov edx, eax
lea eax, [ebp - 0x174]
call fcn.00404d30
mov eax, dword [ebp - 0x174]
call fcn.0040a384
lea eax, [ebp - 0x15c]
call fcn.0040a344
mov esi, eax
test esi, esi
je 0x45ee62
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ef7d
lea eax, [ebp - 0x15c]
call fcn.0040a368
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45efbb
lea eax, [ebp - 0x178]
mov edx, 7
call fcn.00404b4c
lea eax, [ebp - 0x15c]
mov edx, dword [0x4085dc]
call fcn.004058dc
lea eax, [ebp - 4]
call fcn.00404b28
ret

Function at 0x45f2dc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45f34b
push dword fs:[eax]
mov dword fs:[eax], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x100]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.00404da8
mov eax, dword [ebp - 0x104]
mov edx, ebx
call fcn.0040ec8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f352
lea eax, [ebp - 0x104]
call fcn.00404b28
ret
Function at 0x45f358
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45f3c7
push dword fs:[eax]
mov dword fs:[eax], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x100]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.00404da8
mov eax, dword [ebp - 0x104]
mov edx, ebx
call fcn.0040ec8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f3ce
lea eax, [ebp - 0x104]
call fcn.00404b28
ret
Function at 0x45fa78
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push ecx
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
jbe 0x45faaa
push esp
push esi
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [esp]
push eax
push esi
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.kernel32.dll_CloseHandle_1
jmp 0x45faac
mov bl, 1
mov eax, ebx
pop edx
pop esi
pop ebx
ret

Function at 0x4600dc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x46020a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, 0x460220
call fcn.00404b7c
lea eax, [ebp - 4]
mov edx, esi
call fcn.00404bc0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404ff8
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4601f4
mov eax, dword [ebp - 8]
call fcn.00402abc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4601ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4601d4
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x460228
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
cmp dword [ebp - 0x14], 0
je 0x4601d4
push ebx
mov eax, dword [ebp - 0x14]
mov esi, dword [eax + 8]
mov eax, esi
shr eax, 0x10
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
and esi, 0xffff
mov dword [ebp - 0x2c], esi
mov byte [ebp - 0x28], 0
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 0xc]
mov eax, edi
shr eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
and edi, 0xffff
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x34]
mov ecx, 3
mov eax, 0x460234
call fcn.0040aeec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4601f4
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.00402aec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460211
lea eax, [ebp - 4]
call fcn.00404b28
ret

Function at 0x461e30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
mov ebx, eax
push 0x65
lea eax, [ebp - 0x65]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, ebx
lea edx, [ebp - 0x65]
mov ecx, 0x65
call fcn.00404da8
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4624c8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x46254a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, 0x104
call fcn.00405188
push 0x104
mov eax, dword [ebx]
call fcn.00404ff8
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, eax
mov eax, ebx
call fcn.00405188
lea edx, [ebp - 4]
mov eax, dword [ebx]
call fcn.0040a510
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00404b7c
lea edx, [ebp - 8]
mov eax, dword [ebx]
call fcn.0040ec8c
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00404b7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462551
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404b4c
ret
Function at 0x462ba8
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x462d62
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 1
lea eax, [ebp - 0x1c]
call fcn.0045e960
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
mov ecx, 0x462d7c
call fcn.00404e44
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.0045f934
test al, al
je 0x462c1f
push 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea eax, [ebp - 0x24]
push eax
call fcn.00461fb8
mov edx, 0x462d9c
pop ecx
call fcn.00462308
jmp 0x462c3f
push 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea eax, [ebp - 0x24]
push eax
call fcn.00461fb8
mov edx, 0x462db8
pop ecx
call fcn.00462308
push dword [ebx + 0x10]
push 0x462dd8
push 0x462de4
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404eb8
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x462d3f
inc esi
xor edi, edi
lea ecx, [ebp - 0xc]
mov edx, edi
mov eax, dword [ebx + 0x1c]
call fcn.0041a780
lea ecx, [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x1c]
call fcn.0041a960
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00462e8c
test al, al
je 0x462cfb
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404ff8
push eax
mov eax, dword [ebp - 8]
call fcn.00404ff8
push eax
call sub.kernel32.dll_CopyFileA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
jne 0x462d37
push 2
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x3c]
push eax
call fcn.00461fb8
mov edx, 0x462dfc
pop ecx
call fcn.00462308
jmp 0x462d3f
push 2
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x3c]
push eax
call fcn.00461fb8
mov edx, 0x462e40
pop ecx
call fcn.00462308
mov byte [ebp - 1], 0
jmp 0x462d3f
inc edi
dec esi
jne 0x462c6f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462d69
lea eax, [ebp - 0x1c]
call fcn.00404b28
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404b4c
ret
Function at 0x462e8c
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404fe8
mov eax, dword [ebp - 8]
call fcn.00404fe8
xor eax, eax
push ebp
push 0x463020
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040a114
test al, al
jne 0x462ede
mov bl, 1
jmp 0x463005
mov eax, dword [ebp - 8]
call fcn.0040a124
test al, al
jne 0x462ef2
mov eax, dword [ebp - 8]
call fcn.0040a148
push dword [ebp - 4]
call fcn.0040c0ec
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x14]
mov eax, 0x463038
call fcn.0040cd94
push dword [ebp - 0x14]
push 0x463054
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404eb8
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040a39c
mov ebx, eax
test bl, bl
je 0x462fcf
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.0040ec78
push dword [ebp - 0x18]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0040a5a4
push dword [ebp - 0x1c]
call fcn.0040c0ec
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x20]
mov eax, 0x463038
call fcn.0040cd94
push dword [ebp - 0x20]
push 0x463054
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404eb8
mov eax, dword [ebp - 0x10]
call fcn.00404ff8
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404ff8
push eax
call sub.kernel32.dll_MoveFileA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x463005
push 1
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
lea eax, [ebp - 0x30]
push eax
call fcn.00461fb8
mov edx, 0x463064
pop ecx
call fcn.00462308
jmp 0x463005
push 2
mov eax, dword [ebp - 4]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0xb
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
lea eax, [ebp - 0x48]
push eax
call fcn.00461fb8
mov edx, 0x46308c
pop ecx
call fcn.00462308
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463027
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.00404b4c
ret