joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464e80
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4e1b66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
mov eax, dword [0x62ef38]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 8], eax
mov dword [esp + 0x15c], 0
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x164]
lea ecx, [esp + 0xc]
push esi
mov byte [esp + 0x160], 1
call fcn.004d2a35
push str..
lea ecx, [esp + 0x10]
call fcn.004d2c88
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x464f23
lea ecx, [esp + 0xc]
mov byte [esp + 0x15c], 0
call fcn.004d28f8
lea ecx, [esp + 8]
mov dword [esp + 0x15c], 0xffffffff
call fcn.004d28f8
xor eax, eax
jmp 0x465068
push ebp
mov ebp, dword [esp + 0x16c]
push edi
mov edi, dword [esp + 0x174]
lea edx, [esp + 0x48]
push 0x628070
push edx
call fcn.004aec34
add esp, 8
test eax, eax
je 0x465019
lea eax, [esp + 0x48]
push 0x62806c
push eax
call fcn.004aec34
add esp, 8
test eax, eax
je 0x465019
test ebp, ebp
jne 0x464f85
lea ecx, [esp + 0x48]
push str.desktop.ini
push ecx
call fcn.004aece3
add esp, 8
test eax, eax
je 0x465019
push esi
lea ecx, [esp + 0x14]
call fcn.004d2a35
push 0x5c
lea ecx, [esp + 0x14]
call fcn.004d2caf
lea edx, [esp + 0x48]
lea ecx, [esp + 0x10]
push edx
call fcn.004d2c88
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x464fc5
mov ecx, dword [esp + 0x10]
and al, 0xfe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test byte [esp + 0x1c], 0x10
je 0x464fe7
mov edx, dword [esp + 0x10]
push edi
push ebp
push edx
mov ecx, ebx
call fcn.00464e80
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x465019
test edi, edi
je 0x46500e
lea ecx, [esp + 0x48]
push str.index.dat
push ecx
call fcn.004aece3
add esp, 8
test eax, eax
jne 0x46500e
lea edx, [esp + 0x48]
mov ecx, ebx
push edx
push esi
call fcn.00465090
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x464f33
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x14]
mov byte [esp + 0x164], 0
call fcn.004d28f8
lea ecx, [esp + 0x10]
mov dword [esp + 0x164], 0xffffffff
call fcn.004d28f8
pop edi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x154]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x158
ret 0xc
Function at 0x465090
Capabilities:
Get file size
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e1b7b
push eax
mov eax, 0x2718
mov dword fs:[0], esp
call fcn.004af4e0
mov eax, dword [0x62ef38]
push edi
mov dword [esp + 4], eax
mov ecx, 0x9c4
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 0x2724], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x272c]
push ecx
lea ecx, [esp + 8]
call fcn.004d2a35
push 0x5c
lea ecx, [esp + 8]
call fcn.004d2caf
mov edx, dword [esp + 0x2730]
lea ecx, [esp + 4]
push edx
call fcn.004d2c88
mov eax, dword [esp + 4]
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x465136
lea ecx, [esp + 4]
mov dword [esp + 0x2724], eax
call fcn.004d28f8
xor eax, eax
jmp 0x4651b3
push ebx
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
mov esi, eax
push 0x40
push edi
sub esi, 0x40
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test esi, esi
jbe 0x465191
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, 0x2710
push 0
jbe 0x465183
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push 0x2710
push edx
push edi
call ebx
sub esi, 0x2710
jne 0x46515d
jmp 0x465191
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push esi
push ecx
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
mov dword [esp + 0x272c], 0xffffffff
call fcn.004d28f8
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x271c]
pop edi
mov dword fs:[0], ecx
add esp, 0x2724
ret 8
Function at 0x4686f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e1cd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.00468ae0
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x67f52c
call fcn.004b0fbf
mov ecx, dword [0x52e61c]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.00465e60
mov esi, 0x52e674
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x468797
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x46878e
cmp al, 0xff
je 0x46878e
dec al
mov byte [ecx], al
jmp 0x468797
push ecx
call fcn.004d2662
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.004ce4b0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x4687dd
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4687d4
cmp al, 0xff
je 0x4687d4
dec al
mov byte [ecx], al
jmp 0x4687dd
push ecx
call fcn.004d2662
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.004b1046
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x46f1d0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
mov ecx, 0x41
xor eax, eax
push edi
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x110]
call fcn.0046efd0
pop edi
add esp, 0x104
ret 4
Function at 0x47a900
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x47a933
push esi
call fcn.0047f630
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x47a92c
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x47a9b9
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x47a9a2
mov eax, dword [esi + 8]
test eax, eax
je 0x47a957
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x47a99e
cmp eax, 2
je 0x47a9a2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x47a94a
cmp eax, 3
je 0x47a97d
cmp eax, 1
jne 0x47a94a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x47a94a
mov edx, dword [esi + 0x144]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x47a94a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0047a9f0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x47a9d9
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.0047a9f0
add esp, 4
pop esi
ret
Function at 0x4c8ab0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4e2eb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.004bd9c3
mov eax, dword [0x60fa20]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.004bd8f5
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.004c95d0
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x4c8b57
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4c8b4e
cmp al, 0xff
je 0x4c8b4e
dec al
mov byte [ecx], al
jmp 0x4c8b57
push ecx
call fcn.004d2662
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x4c8b88
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4c8b7f
cmp al, 0xff
je 0x4c8b7f
dec al
mov byte [ecx], al
jmp 0x4c8b88
push ecx
call fcn.004d2662
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x4d4cc6
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4d4cfe
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004d2d53
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004d2d2b
jmp 0x4d4d0a
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4d63b7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4d63f9
call fcn.004dbf73
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4d63f9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4d63f0
xor eax, eax
jmp 0x4d6401
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004d6407
pop edi
pop esi
pop ebx
ret 4

Function at 0x4dc4a3
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4dc4d1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4dc4ef
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004dc409
jmp 0x4dc4ef
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4dc4ef
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004dc409
test edi, edi
mov eax, edi
jne 0x4dc4d9
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401000
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4964ba
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x158
mov eax, dword [0x4c5d0c]
xor eax, ebp
mov dword [ebp - 0x38], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], 0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x4c7564
call fcn.0040eeb0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x30], ecx
push 0x20
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
call fcn.0040eab0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x54]
call fcn.00401f20
mov dword [ebp - 0x140], eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x34], 0
mov ecx, 1
test ecx, ecx
je 0x4011af
mov edx, dword [ebp - 0x34]
push edx
push 0x49e4b0
lea ecx, [ebp - 0x54]
call fcn.00401fa0
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [0x49e558]
je 0x40113e
mov edx, dword [ebp - 0x58]
sub edx, dword [ebp - 0x34]
je 0x40113c
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
lea edx, [ebp - 0xe0]
push edx
lea ecx, [ebp - 0x54]
call fcn.00401ff0
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x14c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14c]
push ecx
mov ecx, 0x4c754c
call fcn.00402040
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe0]
call fcn.00401f60
jmp 0x4011a1
lea ecx, [ebp - 0x54]
call fcn.0040a0f0
mov dword [ebp - 0x150], eax
mov edx, dword [ebp - 0x150]
sub edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0xfc]
push ecx
lea ecx, [ebp - 0x54]
call fcn.00401ff0
mov dword [ebp - 0x154], eax
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0x158], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x158]
push eax
mov ecx, 0x4c754c
call fcn.00402040
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xfc]
call fcn.00401f60
jmp 0x4011af
mov ecx, dword [ebp - 0x58]
add ecx, 1
mov dword [ebp - 0x34], ecx
jmp 0x4010ac
call fcn.00401c90
call fcn.0040eae0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00401f60
jmp 0x4012f9
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x38]
xor ecx, ebp
call fcn.0047031e
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41e880
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, dword [esi + 0xbf0]
mov ecx, dword [esi + 0xbf4]
push ebx
push ebp
mov ebp, dword [esi + 0xbf8]
push edi
mov edi, dword [esi + 0xbfc]
mov dword [esp + 0x20], edi
xor edi, 0x3b8d12ac
xor eax, 0xb32f4329
mov edx, ebp
xor edx, 0x548a7c7a
xor ecx, 0x90014964
mov dword [esp + 0x18], edi
and eax, 0xdc82880
and edx, 1
xor edi, edi
and ecx, 0x3d84e1ac
xor eax, edx
xor ecx, edi
mov edi, eax
mov dword [esp + 0x10], ecx
mov ebx, 0x20
mov edi, edi
mov edx, dword [esp + 0x10]
mov eax, edi
mov ecx, ebx
call fcn.00473390
xor dword [esp + 0x10], edx
sar ebx, 1
xor edi, eax
test ebx, ebx
jg 0x41e8e0
and edi, 1
mov dword [esp + 0xc], edi
mov eax, 0
je 0x41e90b
test eax, eax
je 0x41e921
mov eax, dword [esp + 0x20]
xor ebp, 1
xor eax, 0
mov dword [esi + 0xbf8], ebp
mov dword [esi + 0xbfc], eax
pop edi
pop ebp
pop ebx
add esp, 0x18
ret

Function at 0x41eba0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [esp + 0xc], 0x4de1
je 0x41ebc7
push 0x49f9c0
call fcn.00473f73
add eax, 0x40
push eax
call fcn.00473e57
add esp, 8
push 1
call fcn.00473dbf
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
mov dword [esi], eax
mov eax, 1
mov ecx, esi
push edi
lea ebx, [ebx]
mov edx, dword [ecx]
mov edi, edx
shr edi, 0x1e
xor edi, edx
imul edi, edi, 0x6c078965
add edi, eax
mov dword [ecx + 4], edi
inc eax
add ecx, 4
cmp eax, 0x300
jl 0x41ebe0
xor eax, eax
pop edi
mov edx, dword [esi + eax*8 + 4]
mov ecx, dword [esi + eax*8]
and edx, 0xfffff
or edx, 0x3ff00000
mov dword [esi + eax*8], ecx
mov dword [esi + eax*8 + 4], edx
inc eax
cmp eax, 0x17e
jl 0x41ec02
call fcn.0041e880
mov dword [esi + 0xc00], 0x17e
pop esi
ret

Function at 0x420990
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4983a3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4c5d0c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
lea ecx, [esi + 0x6c]
mov dword [esp + 0x14], 1
call fcn.00420350
cmp dword [esi + 0x30], 0x10
jb 0x4209da
mov eax, dword [esi + 0x1c]
push eax
call fcn.00470751
add esp, 4
xor eax, eax
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], eax
mov byte [esi + 0x1c], al
mov ecx, dword [esi]
push ecx
call fcn.00470751
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x428870
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x498e5f
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push esi
push edi
mov eax, dword [0x4c5d0c]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
push 0x400
call fcn.0046f264
push 0x400
mov esi, eax
push 0
push esi
call fcn.004723e0
add esp, 0x10
push 0x400
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4288d0
sub eax, edx
push eax
push esi
mov ecx, 0x4ca2e8
call fcn.004025a0
push 1
push 0xffffffffffffffff
lea eax, [esp + 0x14]
push eax
mov ecx, 0x4ca2e8
mov byte [esp + 0x18], 0x5c
call fcn.00428470
push 0xffffffffffffffff
inc eax
push eax
mov ecx, 0x4ca2e8
call fcn.00402220
push 0x4a0018
lea ecx, [esp + 0x1c]
push 0x4ca2e8
push ecx
call fcn.0040e940
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x4ca324
mov dword [esp + 0xa0], 0
call fcn.00402130
cmp dword [esp + 0x30], 0x10
mov dword [esp + 0x94], 0xffffffff
jb 0x42895b
mov edx, dword [esp + 0x1c]
push edx
call fcn.00470751
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push 0x400
push esi
push str.USERPROFILE
call edi
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x428973
sub eax, edx
push eax
push esi
mov ecx, 0x4ca360
call fcn.004025a0
push 1
push 0x4a0030
mov ecx, 0x4ca360
call fcn.0040b1b0
push 0x400
push esi
push str.APPDATA
call edi
mov eax, esi
lea ecx, [eax + 1]
jmp 0x4289b0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4289b0
sub eax, ecx
push eax
push esi
mov ecx, 0x4ca39c
call fcn.004025a0
push 1
push 0x4a003c
mov ecx, 0x4ca39c
call fcn.0040b1b0
push esi
call fcn.00472230
push 0x400
call fcn.0046f264
push 0x400
mov esi, eax
push 0
push esi
call fcn.004723e0
add esp, 0x14
lea eax, [esp + 0x10]
push eax
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerUser_Shell_Folders
push 0x80000001
mov dword [esp + 0x28], 0x400
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x428a3e
push str.Failed_to_get_user_home_path.
push 0x4a0023
push 0x4c1c3c
lea ecx, [esp + 0x40]
call fcn.0040e5a0
lea ecx, [esp + 0x34]
call fcn.00401d20
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push esi
push 0
push 0
push str.Personal
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x428a68
sub eax, edx
push eax
push esi
mov ecx, 0x4ca414
call fcn.004025a0
push 1
push 0x4a00b4
mov ecx, 0x4ca414
call fcn.0040b1b0
push esi
call fcn.00472230
add esp, 4
call fcn.004286b0
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x8c
ret
Function at 0x4389b0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x78
push esi
push edi
mov esi, ecx
call fcn.00438900
mov eax, dword [esp + 0x88]
cmp dword [eax + 0x30], 0x10
jb 0x4389ce
mov eax, dword [eax + 0x1c]
jmp 0x4389d1
add eax, 0x1c
mov edi, dword [esp + 0x84]
push 0
push 4
push 0
push edi
push eax
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsExA]
test eax, eax
je 0x438a11
push str.API_Error__Failed_to_switch_display_mode_
push 0x4a123c
push 0x4c1810
lea ecx, [esp + 0x34]
call fcn.0040e5a0
push 0x4b9b04
lea eax, [esp + 0x2c]
push eax
call fcn.00471f1d
mov ecx, dword [edi + 0x6c]
mov dword [esi + 0x16c], ecx
mov edx, dword [edi + 0x70]
mov dword [esi + 0x170], edx
mov eax, dword [edi + 0x68]
mov dword [esi + 0x174], eax
fild dword [edi + 0x78]
mov ecx, dword [edi + 0x78]
test ecx, ecx
jge 0x438a3c
fadd qword [0x49f008]
push 0
fstp qword [esi + 0x178]
call dword [sym.imp.USER32.dll_ShowCursor]
mov edx, dword [0x4c8de0]
mov eax, dword [esi + 0x170]
mov ecx, dword [esi + 0x16c]
push 0
push edx
mov edx, dword [esi + 0x154]
push 0
push 0
push eax
mov eax, dword [esi + 0x14c]
push ecx
mov ecx, dword [0x4c7588]
push edx
push eax
push 0x80000000
push 0x4a1248
push ecx
push 0x40008
call dword [sym.imp.USER32.dll_CreateWindowExA]
lea edi, [esi + 0xc]
mov dword [edi], eax
test eax, eax
jne 0x438abf
push 0x4a125c
push 0x4a127c
push 0x4c1810
lea ecx, [esp + 0x34]
call fcn.0040e5a0
push 0x4b9b04
lea edx, [esp + 0x2c]
push edx
call fcn.00471f1d
mov eax, dword [esi + 0x7c]
push eax
lea ecx, [esi + 0x10]
push ecx
lea edx, [esi + 8]
push edx
push edi
mov ecx, esi
call fcn.00437ac0
push 1
push 0
push 0
push 0
lea eax, [esp + 0x1c]
push eax
mov byte [esi + 0x15c], 1
mov dword [esi + 0x7a4], 0
call dword [sym.imp.USER32.dll_PeekMessageA]
mov ecx, dword [0x4c7570]
mov edx, dword [edi]
push ecx
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
add esp, 0x78
ret 8
Function at 0x438b10
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x74
push esi
push edi
mov esi, ecx
call fcn.00438900
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
push 0
mov dword [esi + 0x16c], eax
mov dword [esi + 0x170], ecx
mov edx, dword [0x4c8de0]
push edx
mov edx, dword [0x4c7588]
push 0
push 0
push ecx
mov ecx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x9c]
push eax
push ecx
push 0x80000000
push str.Psychlops_Window
push edx
push 0x40010
call dword [sym.imp.USER32.dll_CreateWindowExA]
lea edi, [esi + 0xc]
mov dword [edi], eax
test eax, eax
jne 0x438ba1
push str.Failed_to_regist_main_window.
push str.API_ERROR
push 0x4c1810
lea ecx, [esp + 0x30]
call fcn.0040e5a0
push 0x4b9b04
lea eax, [esp + 0x28]
push eax
call fcn.00471f1d
push ebx
push eax
call dword [sym.imp.USER32.dll_GetDC]
push 0xc
lea ebx, [esi + 8]
push eax
mov dword [ebx], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
lea ecx, [esi + 0x10]
push ecx
push ebx
push edi
mov ecx, esi
call fcn.00437ac0
push 1
push 0
push 0
push 0
lea edx, [esp + 0x1c]
push edx
mov byte [esi + 0x15c], 1
mov dword [esi + 0x7a4], 0
call dword [sym.imp.USER32.dll_PeekMessageA]
mov eax, dword [0x4c7570]
mov ecx, dword [edi]
push eax
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
call dword [sym.imp.USER32.dll_ShowCursor]
pop ebx
pop edi
pop esi
add esp, 0x74
ret 0x10

Function at 0x4415d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x49abe0
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x4c5d0c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
fld qword [esp + 0x50]
sub esp, 0x38
mov eax, esp
fstp qword [esp + 0x30]
fld qword [esp + 0x80]
mov dword [eax], vtable.Psychlops::Interval.0
mov ecx, dword [esp + 0x60]
fstp qword [esp + 0x28]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x64]
mov dword [eax + 0xc], edx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x10], ecx
mov edx, dword [esp + 0x6c]
mov dword [eax + 0x14], edx
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x18], ecx
mov edx, dword [esp + 0x74]
mov dword [eax + 0x1c], edx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0x20], ecx
mov edx, dword [esp + 0x7c]
xor ebx, ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x88], esp
mov dword [eax + 0x24], edx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x9c], esp
push 1
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push 0x4a1a20
mov byte [esp + 0x70], 1
mov byte [ecx + 4], bl
call fcn.004025a0
mov eax, dword [esp + 0x70]
push eax
mov ecx, esi
mov byte [esp + 0x6c], bl
call fcn.00441470
lea ecx, [esp + 0x20]
mov esi, eax
mov dword [esp + 0x14], 0xffffffff
call fcn.0040f470
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 0x3c