joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c168
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 0x45c313
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45c2f4
mov dl, 1
mov eax, dword [0x412d20]
call fcn.004036f0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004044ac
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45c2e3
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.00449bf0
test al, al
je 0x45c2d6
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, 0x45c324
lea eax, [ebp - 0x254]
call fcn.00409898
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45c2d6
xor eax, eax
push ebp
push 0x45c2cf
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 0x45c35c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45c2b8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040471c
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 0x45c2b8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040471c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c2d6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45c1d9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00416838
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 0x45c31a
lea eax, [ebp - 0x260]
call fcn.004044ac
ret

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

Disassembly:
push ecx
mov eax, dword [0x46fbdc]
cmp byte [eax + 0xa5], 0
jne 0x45cccd
cmp dword [0x46fbf4], 0
jne 0x45cc8e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45cc18
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46fbf4], eax
cmp dword [0x46fbf0], 0
jne 0x45cca9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46fbf0], eax
cmp dword [0x46fbf8], 0
jne 0x45cccd
push esp
push 0
push 0
push 0x45cbbc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x46fbf8], eax
pop edx
ret
Function at 0x45d360
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46fbdc]
cmp dword [eax + 0x30], 0
je 0x45d40a
cmp dword [ebx + 0x94], 0
jne 0x45d404
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45d2f0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45d404
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 0x45d3ca
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45d404
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.00414c90
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45d3d9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45df68
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 0x45df9d
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.0040459c
jmp 0x45dfaa
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404500
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45f174
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45f1b5
mov eax, esi
call fcn.00445194
test al, al
je 0x45f1b5
mov eax, dword [ebx + 0x84]
call fcn.00444e90
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45f1b5
push 0
mov eax, dword [ebx + 0x84]
call fcn.00444e90
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45fdfc
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040495c
xor eax, eax
push ebp
push 0x45fee5
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
push 1
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x45fe38
call fcn.0040dac0
xor eax, eax
push ebp
push 0x45fec8
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
mov eax, dword [ebp - 4]
call fcn.0040496c
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x45feb1
xor eax, eax
push ebp
push 0x45feaa
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
je 0x45fe8e
cmp dword [ebp - 0x28], 4
jne 0x45fe93
mov byte [ebp - 5], 1
jmp 0x45fe93
call fcn.0040dac0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45feb1
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45fecf
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x45fef4
Capabilities:
Query service status
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040495c
xor eax, eax
push ebp
push 0x4600d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x45ff36
call fcn.0040dac0
xor eax, eax
push ebp
push 0x4600b4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x34
mov eax, dword [ebp - 4]
call fcn.0040496c
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x46009d
xor eax, eax
push ebp
push 0x460096
push dword fs:[eax]
mov dword fs:[eax], esp
test bl, bl
je 0x460005
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
je 0x45fffe
cmp dword [ebp - 0x2c], 4
jne 0x45ff9b
mov byte [ebp - 5], 1
jmp 0x46007f
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_StartServiceA
test eax, eax
je 0x46007f
push 0x3e8
call sub.kernel32.dll_Sleep_1
jmp 0x45ffda
mov eax, dword [0x46e200]
mov eax, dword [eax]
call fcn.0045e2a8
cmp dword [ebp - 0x2c], 2
jne 0x45ffeb
push 0x3e8
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
jne 0x45ffbe
cmp dword [ebp - 0x2c], 4
jne 0x46007f
mov byte [ebp - 5], 1
jmp 0x46007f
call fcn.0040dac0
jmp 0x46007f
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
je 0x46007a
cmp dword [ebp - 0x2c], 1
jne 0x460022
mov byte [ebp - 5], 1
jmp 0x46007f
lea eax, [ebp - 0x30]
push eax
push 1
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_ControlService
test eax, eax
je 0x46007f
push 0x3e8
call sub.kernel32.dll_Sleep_1
jmp 0x46005d
mov eax, dword [0x46e200]
mov eax, dword [eax]
call fcn.0045e2a8
cmp dword [ebp - 0x2c], 3
jne 0x46006e
push 0x3e8
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
jne 0x460041
cmp dword [ebp - 0x2c], 1
jne 0x46007f
mov byte [ebp - 5], 1
jmp 0x46007f
call fcn.0040dac0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46009d
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4600bb
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x4601bc
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040495c
xor eax, eax
push ebp
push 0x460270
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4601fc
call fcn.0040dac0
xor eax, eax
push ebp
push 0x460253
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf01ff
mov eax, dword [ebp - 4]
call fcn.0040496c
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_OpenServiceA
mov ebx, eax
test ebx, ebx
jle 0x46023c
push ebx
call sub.advapi32.dll_DeleteService
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
push ebx
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46025a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret

Function at 0x4604cc
Capabilities:
Query service configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040495c
xor eax, eax
push ebp
push 0x4605af
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.004044ac
push 1
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x460510
call fcn.0040dac0
xor eax, eax
push ebp
push 0x460592
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
call fcn.0040496c
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_OpenServiceA
mov ebx, eax
test ebx, ebx
jbe 0x46057b
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push ebx
call sub.advapi32.dll_QueryServiceConfigA
mov eax, dword [ebp - 0xc]
call fcn.00402a38
mov esi, eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push esi
push ebx
call sub.advapi32.dll_QueryServiceConfigA
mov edx, edi
mov eax, dword [esi + 0xc]
call fcn.00409418
push ebx
call sub.advapi32.dll_CloseServiceHandle
mov eax, esi
call fcn.00402a68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460599
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x4607a4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 6], cl
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4608b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 7], 0
lea eax, [ebp - 0x10]
push eax
mov cl, byte [ebp - 6]
mov dl, byte [ebp - 5]
mov eax, dword [ebp - 4]
call fcn.004605c0
mov ebx, eax
test ebx, ebx
jbe 0x460897
mov byte [ebp - 7], 0
push ebx
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x460843
xor eax, eax
push ebp
push 0x46083c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_TerminateProcess
test eax, eax
je 0x460825
mov byte [ebp - 7], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460843
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
ret
cmp byte [ebp - 7], 0
jne 0x460871
cmp byte [ebp - 6], 0
je 0x460897
push 0
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0x14]
call fcn.0040bb24
mov eax, dword [ebp - 0x14]
mov cx, word [0x4608c4]
mov dl, 1
call fcn.00428a9c
jmp 0x460897
push 0x3e8
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 0x10]
push eax
mov cl, byte [ebp - 6]
mov dl, byte [ebp - 5]
mov eax, dword [ebp - 4]
call fcn.004605c0
mov ebx, eax
test ebx, ebx
ja 0x4607ea
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4608b9
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004044d0
ret
Function at 0x465eb8
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x46601b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004044ac
mov dl, 1
mov eax, dword [0x4313cc]
call fcn.004314cc
mov dword [ebp - 8], eax
mov edx, 0x80000002
mov eax, dword [ebp - 8]
call fcn.0043156c
mov edx, 0x466034
mov eax, dword [ebp - 8]
call fcn.00431bac
test al, al
je 0x465fa0
mov edx, 0x466034
mov eax, dword [ebp - 8]
call fcn.004316f4
test al, al
je 0x465fa0
xor eax, eax
push ebp
push 0x465f8e
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x466060
mov eax, dword [ebp - 8]
call fcn.00431970
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00408388
cmp dword [ebp - 0xc], 0
je 0x465f84
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x466078
call fcn.00404ab0
mov ecx, eax
sub ecx, 2
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.004049cc
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov ecx, 0x466088
call fcn.004047b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x465f98
mov eax, dword [ebp - 8]
call fcn.0043153c
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00408c18
test al, al
jne 0x466000
call sub.kernel32.dll_GetCommandLineA_1
lea edx, [ebp - 0xc]
call fcn.00409418
mov al, byte [0x466094]
push eax
lea eax, [ebp - 0x18]
push eax
xor ecx, ecx
mov edx, 0x4660a0
mov eax, dword [ebp - 0xc]
call fcn.0040d7d8
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0xc]
call fcn.00404544
cmp dword [ebp - 0xc], 0
je 0x466000
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00408d70
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov ecx, 0x4660ac
call fcn.004047b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466022
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.004044d0
ret
Function at 0x4663fc
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
xor edx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
call fcn.0040495c
xor eax, eax
push ebp
push 0x4664de
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
cmp dword [ebp - 8], 0
je 0x4664b6
mov dword [ebp - 0xc], 0x10
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1d]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x466484
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x1d]
call fcn.00409418
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.004084f0
mov eax, dword [ebp - 0x24]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 8]
call fcn.004084f0
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.004048b8
jne 0x466484
mov bl, 1
jmp 0x4664b6
push ebp
call fcn.00466330
pop ecx
test al, al
je 0x4664b6
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.004084f0
mov eax, dword [ebp - 0x30]
push eax
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.004084f0
mov edx, dword [ebp - 0x34]
pop eax
call fcn.004048b8
jne 0x4664b6
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4664e5
lea eax, [ebp - 0x34]
mov edx, 5
call fcn.004044d0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004044d0
ret
Function at 0x4664ec
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
test dl, dl
je 0x466506
add esp, 0xfffffff0
call fcn.00403a58
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4657d8]
call fcn.0040507c
xor eax, eax
push ebp
push 0x466722
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, ebx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00456b10
mov dl, 1
mov eax, dword [0x426bf0]
call fcn.00426dac
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x618], ebx
mov eax, ebx
call fcn.00426d94
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0046684c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
add eax, 0x2fc
call fcn.00404500
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
call fcn.00408c08
test al, al
jne 0x4665ae
push 0xffff
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2fc]
mov dl, 1
mov eax, dword [0x412f44]
call fcn.00416d9c
mov edx, dword [ebp - 4]
mov dword [edx + 0x300], eax
jmp 0x4665ce
push 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2fc]
mov dl, 1
mov eax, dword [0x412f44]
call fcn.00416d9c
mov edx, dword [ebp - 4]
mov dword [edx + 0x300], eax
mov eax, dword [ebp - 4]
mov word [eax + 0x304], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x306], 0
mov eax, dword [ebp - 4]
add eax, 0x610
mov edx, 0x466758
call fcn.00404500
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov dx, word [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [0x46e364]
mov eax, dword [eax]
mov ax, word [eax + 0x44]
mov word [ebp - 0x12], ax
mov eax, dword [0x46e364]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.0045c42c
mov eax, dword [ebp - 4]
mov byte [eax + 0x614], 1
xor eax, eax
push ebp
push 0x4666cb
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
mov eax, dword [0x46e200]
mov eax, dword [eax]
call fcn.0045e2a8
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
mov eax, dword [ebp - 4]
cmp word [eax + 0x304], 0
jne 0x4666a3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
call fcn.00464e60
test al, al
jne 0x4666a3
sub ebx, esi
cmp ebx, 0x2bf20
jl 0x466667
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4666d2
mov eax, dword [ebp - 4]
mov byte [eax + 0x614], 0
mov eax, dword [0x46e364]
mov eax, dword [eax]
mov dx, word [ebp - 0x12]
call fcn.0045c42c
ret
Function at 0x46684c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff18
mov ebx, edx
lea eax, [esp + 4]
push eax
push 0x90
call sub.kernel32.dll_GetTempPathA
lea eax, [esp + 0x95]
mov edx, 0x4668d4
call fcn.00409264
lea eax, [esp + 4]
push eax
push 0
lea eax, [esp + 0x9d]
push eax
lea eax, [esp + 0x10]
push eax
call sub.kernel32.dll_GetTempFileNameA
lea eax, [esp + 4]
mov dl, 0x2e
call fcn.00409380
mov dword [esp], eax
cmp dword [esp], 0
je 0x4668a8
mov eax, dword [esp]
mov byte [eax], 0
push 0x4668d8
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_lstrcatA
mov edx, ebx
lea eax, [esp + 4]
call fcn.00409418
add esp, 0xe8
pop ebx
ret

Function at 0x466e8c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcf0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x30e]
push ecx
mov ecx, 0xc2
rep movsd dword es:[edi], dword [esi]
pop ecx
movsb byte es:[edi], byte [esi]
mov ebx, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov word [eax + 0x304], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x306], 0
xor ecx, ecx
push ebp
push 0x466f61
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov ecx, ebx
lea edx, [ebp - 0x30e]
mov eax, dword [ebp - 4]
call fcn.00466ba0
test eax, eax
jg 0x466ef2
mov byte [ebp - 5], 0
call fcn.00403f6c
jmp 0x466f68
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
mov eax, dword [0x46e200]
mov eax, dword [eax]
call fcn.0045e2a8
mov eax, dword [ebp - 4]
cmp byte [eax + 0x306], 0
je 0x466f22
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x306], 0
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dx, word [edx + 0x304]
test dx, dx
jne 0x466f3f
sub eax, ebx
cmp eax, 0x2bf20
jl 0x466ef9
cmp dx, 1
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466f68
mov eax, dword [ebp - 4]
mov word [eax + 0x304], 0
ret
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46c244
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov eax, 0x46c024
call fcn.004064c0
xor eax, eax
push ebp
push 0x46c37d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x18]
mov eax, 1
call fcn.00402e64
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.004084f0
mov edx, dword [ebp - 0x14]
mov eax, 0x46ffc4
call fcn.00404500
mov eax, dword [0x46e200]
mov eax, dword [eax]
call fcn.0045e3cc
mov eax, dword [0x46ffc4]
mov edx, 0x46c394
call fcn.004048b8
je 0x46c2ce
mov eax, dword [0x46ffc4]
mov edx, 0x46c3a4
call fcn.004048b8
je 0x46c2ce
mov eax, dword [0x46ffc4]
mov edx, 0x46c3b4
call fcn.004048b8
jne 0x46c32d
mov dword [0x46ffc8], 0x94
push 0x46ffc8
call sub.kernel32.dll_GetVersionExA
cmp dword [0x46ffcc], 5
jb 0x46c31f
xor ecx, ecx
mov dl, 1
mov eax, dword [0x469d60]
call fcn.00456b10
mov edx, dword [0x46e344]
mov dword [edx], eax
mov eax, dword [0x46e344]
mov eax, dword [eax]
mov edx, dword [0x46ffc4]
call fcn.0046bdf0
mov eax, dword [0x46e344]
mov eax, dword [eax]
call fcn.00403720
mov eax, dword [0x46e200]
mov eax, dword [eax]
call fcn.0045e550
jmp 0x46c362
mov eax, dword [0x46e200]
mov eax, dword [eax]
mov edx, 0x46c3c4
call fcn.0045dfb4
mov ecx, dword [0x46e344]
mov eax, dword [0x46e200]
mov eax, dword [eax]
mov edx, dword [0x469d60]
call fcn.0045e3e4
mov eax, dword [0x46e200]
mov eax, dword [eax]
call fcn.0045e464
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c384
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004044d0
ret