joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10014f21
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc4
mov eax, dword [0x1002f060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xfc0], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xfb8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xfb0], ecx
push edi
xor ecx, ecx
or edi, 0xffffffff
mov dword [ebp - 0xfbc], eax
cmp eax, ecx
je 0x10014f77
push ecx
push 0x80
push 2
push ecx
push ecx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
dec dword [esi]
cmp dword [ebp - 0xfbc], 0
je 0x10014f8e
cmp edi, 0xffffffff
jne 0x10014f8e
xor eax, eax
jmp 0x100150ed
mov dword [ebp - 0xfac], 1
jmp 0x100150a9
mov edx, dword [ebp - 0xfb4]
test edx, edx
je 0x10014fef
mov ecx, dword [ebp - 0xfb8]
call fcn.10015367
test eax, eax
jne 0x10014fe8
cmp edi, 0xffffffff
je 0x1001505b
push eax
lea eax, [ebp - 0xfc4]
push eax
push edx
lea eax, [ebp - 0xfa8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0xfb4]
cmp dword [ebp - 0xfc4], edx
je 0x10015095
and dword [ebp - 0xfac], 0
cmp edi, 0xffffffff
je 0x10015019
mov ecx, dword [ebp - 0xfb8]
call fcn.10015367
test eax, eax
jne 0x10015012
cmp dword [ebp - 0xfac], eax
je 0x10015012
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xfb0]
test edx, edx
je 0x100150e7
mov ecx, dword [ebp - 0xfb8]
call fcn.10015367
test eax, eax
jne 0x10015042
cmp dword [ebp - 0xfac], eax
jne 0x100150d6
cmp dword [ebp - 0xfbc], 0
je 0x100150d6
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x100150e7
cmp dword [ebp - 0xfb0], 0
je 0x10015095
cmp edx, dword [esi]
jle 0x10015071
and dword [ebp - 0xfac], 0
jmp 0x10015095
push edx
lea eax, [ebp - 0xfa8]
push eax
push dword [ebp - 0xfb0]
call fcn.10017a90
mov edx, dword [ebp - 0xfb4]
add dword [ebp - 0xfb0], edx
add esp, 0xc
sub dword [esi], edx
test ebx, ebx
je 0x100150a9
cmp dword [ebp - 0xfac], 0
je 0x100150a9
mov eax, dword [ebx]
push edx
mov ecx, ebx
call dword [eax]
push dword [ebp - 0xfc0]
lea ecx, [ebp - 0xfb4]
lea edx, [ebp - 0xfa8]
call fcn.10016860
test eax, eax
jne 0x10014f9d
cmp edi, 0xffffffff
je 0x10015019
jmp 0x10015012
cmp dword [esi], 0
jl 0x100150e7
cmp dword [ebp - 0xfbc], 0
jne 0x100150e7
mov byte [edx], 0
mov eax, dword [ebp - 0xfac]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.10017a76
leave
ret 0xc
Function at 0x10015510
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x10034128], 0
je 0x10015626
cmp dword [0x1003411c], 0
je 0x10015626
cmp dword [0x10034124], 0
je 0x10015626
cmp dword [0x10034118], 0
je 0x10015626
cmp dword [0x10034120], 0
je 0x10015626
push 0x1003412c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x10034144]
mov ecx, eax
inc eax
mov dword [0x10034144], eax
test ecx, ecx
jne 0x1001560c
mov edx, dword [0x10034110]
mov eax, dword [edx]
mov ecx, 0x10034110
mov dword [0x10034148], 0xffffffff
call eax
test eax, eax
je 0x100155f9
mov ecx, dword [0x10034118]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea edx, [ebp - 4]
push edx
push 4
push 0x10034110
push 0x10015740
push 0
push 0
call fcn.1001ad5f
add esp, 0x18
mov dword [0x10034114], eax
test eax, eax
jne 0x100155e4
mov eax, dword [0x10034110]
mov edx, dword [eax + 4]
mov ecx, 0x10034110
call edx
mov eax, dword [0x10034110]
mov edx, dword [eax + 8]
mov ecx, 0x10034110
call edx
jmp 0x100155f9
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x10034114]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp dword [0x10034114], 0
jne 0x1001560c
mov dword [0x10034144], 0
push 0x1003412c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
cmp dword [0x10034114], eax
setne al
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100158f0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x1002f060]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
push edi
cmp eax, str.ReadingFanatic_6xEI:Installer:Shared00
je 0x10015937
push 0x64
lea edi, [ebp - 0x70]
mov esi, str.ReadingFanatic_6xEI:Installer:Shared00
call fcn.10003b1e
add esp, 4
test eax, eax
je 0x10015a63
mov ecx, edi
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [ebp + eax - 0x70]
jmp 0x1001593c
xor edi, edi
lea esi, [ebp - 0x70]
mov word [esi], 0x31
call fcn.10015c20
mov ecx, dword [eax + 0xc]
neg ecx
push edi
sbb ecx, ecx
and ecx, eax
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebx + 4], eax
test eax, eax
je 0x10015a63
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [esi], 0x34
call fcn.10015c20
mov ecx, dword [eax + 0xc]
push edi
push 4
neg ecx
push 0
sbb ecx, ecx
push 4
and ecx, eax
push ecx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebx + 0x10], eax
test eax, eax
je 0x100159aa
push 0
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebx + 0x14], eax
mov byte [esi], 0x32
call fcn.10015c20
mov ecx, dword [eax + 0xc]
neg ecx
push edi
sbb ecx, ecx
and ecx, eax
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebx + 8], eax
mov byte [esi], 0x33
call fcn.10015c20
mov ecx, dword [eax + 0xc]
push edi
neg ecx
push 1
sbb ecx, ecx
and ecx, eax
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp dword [ebx + 0x14], 0
mov dword [ebx + 0xc], eax
mov dword [ebp - 0x74], 0
je 0x10015a4c
cmp dword [ebx + 8], 0
je 0x10015a4c
test eax, eax
je 0x10015a4c
push 0
mov byte [esi], 0x30
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x78], 1
call fcn.10015c20
mov ecx, dword [eax + 0xc]
neg ecx
sbb ecx, ecx
and ecx, eax
push 0
lea eax, [ebp - 0x80]
call section..text
add esp, 4
mov dword [ebx], eax
test eax, eax
je 0x10015a4c
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
cmp eax, 0xb7
setne dl
mov dword [ebp - 0x74], edx
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebx]
test eax, eax
jne 0x10015a75
mov esi, ebx
call fcn.10015ab0
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10017a76
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x74], 0
je 0x10015a8f
mov ecx, dword [ebx + 0x14]
mov dword [ecx], 0
mov edx, dword [ebx]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x10015a98
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 1
pop esi
call fcn.10017a76
mov esp, ebp
pop ebp
ret
Function at 0x10016e70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
test ecx, ecx
je 0x10016ebe
mov eax, dword [esi + 4]
test eax, eax
je 0x10016ebe
mov dword [esi], ecx
mov ecx, dword [ebp + 8]
push eax
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp + 8]
push eax
push 0
push esi
push 0x10016f10
push 0
push 0
call fcn.1001ad5f
add esp, 0x18
mov dword [esi + 8], eax
test eax, eax
je 0x10016eb8
mov eax, 1
pop ebp
ret 4
mov dword [esi], 0
xor eax, eax
pop ebp
ret 4

Function at 0x10017817
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x10033180], 0
push esi
push edi
jne 0x1001778d
call fcn.100176f9
test eax, eax
je 0x100177d2
mov eax, dword [0x10033180]
cmp eax, 1
jne 0x100177ae
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x100177d2
jmp 0x10017814
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x10017814
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x100177d6
xor eax, eax
jmp 0x10017814
mov eax, dword [esi]
push dword [0x10033180]
call edi
mov edi, eax
test edi, edi
je 0x100177f8
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x10017814
lea edi, [esi + 0xff0]
push esi
push dword [0x10033180]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x100177fe
mov eax, esi
pop edi
pop esi
ret
jmp 0x10017779

Function at 0x10017a76
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1002f060]
jne 0x10017a80
repz ret
jmp fcn.1001b02b
Function at 0x10020520
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1002f060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1001c668
and dword [ebp - 0x14], 0
cmp dword [0x10033e84], 0
mov dword [ebp - 0x18], eax
jne 0x100205d3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1002067b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x1002067b
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10033e84], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10033e88], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10033e8c], eax
call edi
push eax
call esi
mov dword [0x10033e94], eax
test eax, eax
je 0x100205d3
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10033e90], eax
mov eax, dword [0x10033e90]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1002062c
cmp dword [0x10033e94], ecx
je 0x1002062c
push eax
call esi
push dword [0x10033e94]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1002062c
test ebx, ebx
je 0x1002062c
call edi
test eax, eax
je 0x10020623
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10020623
test byte [ebp - 8], 1
jne 0x1002062c
or dword [ebp + 0x10], 0x200000
jmp 0x1002065f
mov eax, dword [0x10033e88]
cmp eax, dword [ebp - 0x18]
je 0x1002065f
push eax
call esi
test eax, eax
je 0x1002065f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1002065f
mov eax, dword [0x10033e8c]
cmp eax, dword [ebp - 0x18]
je 0x1002065f
push eax
call esi
test eax, eax
je 0x1002065f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10033e84]
call esi
test eax, eax
je 0x1002067b
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1002067d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10017a76
leave
ret

Function at 0x400e91
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x400ed0
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x400ed0
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x400ed0
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x400ed0
cmp dword [ecx + 0x74], 0xe
jbe 0x400ed0
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4102a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430c03
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x4514c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x10]
call fcn.00410450
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x4102da
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
push 0x20119
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x410431
mov esi, dword [ebp - 0x10]
push 0xc
call fcn.0041bdb2
mov ecx, eax
add esp, 4
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
test ecx, ecx
je 0x410337
mov dword [ecx], vtable.appv::utility::scope_guard_func.0
mov byte [ebp - 4], 1
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ecx], vtable.appv::utility::scope_guard_func_impl_class_std::_Bind_0__void__long_int____stdcall___struct_HKEY______struct_HKEY______.0
mov dword [ecx + 4], eax
mov dword [ecx + 8], esi
mov byte [ebp - 4], 0
jmp 0x410339
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 3
mov esi, dword [ebp + 0xc]
mov dword [ebp + 8], 0
cmp dword [esi + 0x14], 8
jb 0x41035e
mov eax, dword [esi]
jmp 0x410360
mov eax, esi
lea ecx, [ebp + 8]
push ecx
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x410422
mov eax, dword [ebp - 0x14]
cmp eax, 1
je 0x41038f
cmp eax, 7
jne 0x410422
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
mov eax, dword [ebp + 8]
shr eax, 1
add eax, 2
push eax
call fcn.004057e0
mov byte [ebp - 4], 5
cmp dword [esi + 0x14], 8
jb 0x4103c5
mov esi, dword [esi]
mov edi, dword [ebp - 0x28]
lea eax, [ebp + 8]
push eax
push edi
lea eax, [ebp - 0x14]
push eax
push 0
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4103f8
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov edx, dword [ebp + 0x10]
sub eax, edi
sar eax, 1
mov dword [edi + eax*2 - 4], ecx
mov ecx, edi
call fcn.004104a0
mov byte [ebp - 4], 4
test edi, edi
je 0x41041e
push edi
call fcn.0041a537
add esp, 4
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004039b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x415020
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x4514c8]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, edx
push edi
mov edi, ecx
test esi, esi
jne 0x415045
push 0x57
jmp 0x4150d2
push 0x1c
lea eax, [ebp - 0x68]
mov dword [ebp - 0x50], 0
push eax
xorps xmm0, xmm0
push esi
push edi
movdqu xmmword [ebp - 0x68], xmm0
movq qword [ebp - 0x58], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
je 0x4150d8
push 0
push 0x40
lea eax, [ebp - 0x4c]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x4150d8
mov eax, 0x5a4d
cmp word [ebp - 0x4c], ax
jne 0x4150cd
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x5c]
ja 0x4150cd
cmp eax, 0x40
jb 0x4150cd
push 0
push 0xf8
push ebx
add eax, esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x4150d8
cmp dword [ebx], 0x4550
jne 0x4150cd
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041a53c
mov esp, ebp
pop ebp
ret 4
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041a53c
mov esp, ebp
pop ebp
ret 4
Function at 0x415d60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1cc
mov eax, dword [0x4514c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 4
push 0x1000
push 0x1230
mov edi, ecx
mov dword [ebp - 0x1cc], eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
mov dword [ebp - 0x1c8], esi
test esi, esi
je 0x415fca
push 0x40
lea eax, [ebp - 0xc8]
mov dword [ebp - 0x1c4], 0
push 0
push eax
call fcn.0041c100
mov ebx, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
add esp, 0xc
mov eax, 0x5a4d
mov dword [ebp - 0x8c], 0x40
mov word [ebp - 0xc8], ax
lea eax, [ebp - 0x1c4]
push eax
push 0x40
lea eax, [ebp - 0xc8]
push eax
push esi
push edi
call ebx
test eax, eax
je 0x415fca
cmp dword [ebp - 0x1c4], 0x40
jne 0x415fca
push 0xf8
lea eax, [ebp - 0x1c0]
add esi, 0x40
push 0
push eax
call fcn.0041c100
add esp, 0xc
mov dword [ebp - 0x1c0], 0x4550
mov eax, 1
mov dword [ebp - 0x1ac], 0x200000e0
mov word [ebp - 0x1ba], ax
mov eax, 0x10b
mov word [ebp - 0x1a8], ax
lea eax, [ebp - 0x1c4]
push eax
push 0xf8
lea eax, [ebp - 0x1c0]
push eax
push esi
push edi
call ebx
test eax, eax
je 0x415fca
cmp dword [ebp - 0x1c4], 0xf8
jne 0x415fca
mov eax, dword [str..detour]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x44], eax
add esi, 0xf8
mov eax, dword [0x44b2e0]
mov dword [ebp - 0x40], eax
mov eax, esi
sub eax, dword [ebp - 0x1c8]
add eax, 0x28
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x1c4]
push eax
push 0x28
lea eax, [ebp - 0x44]
push eax
push esi
movdqu xmmword [ebp - 0x34], xmm0
push edi
mov dword [ebp - 0x34], 0x10d0
call ebx
test eax, eax
je 0x415fca
cmp dword [ebp - 0x1c4], 0x28
jne 0x415fca
push 0x40
lea eax, [ebp - 0x88]
add esi, 0x28
push 0
push eax
call fcn.0041c100
add esp, 0xc
mov dword [ebp - 0x88], 0x40
lea eax, [ebp - 0x1c4]
mov dword [ebp - 0x84], 0x727444
mov dword [ebp - 0x80], 0x40
mov dword [ebp - 0x7c], 0x10d0
push eax
push 0x40
lea eax, [ebp - 0x88]
push eax
push esi
push edi
call ebx
test eax, eax
je 0x415fca
cmp dword [ebp - 0x1c4], 0x40
jne 0x415fca
lea eax, [ebp - 0x1c4]
xorps xmm0, xmm0
push eax
push 0x18
movdqu xmmword [ebp - 0x1c], xmm0
lea eax, [ebp - 0x1c]
add esi, 0x40
movq qword [ebp - 0xc], xmm0
movdqu xmm0, xmmword [0x44af5c]
push eax
push esi
push edi
mov dword [ebp - 0x1c], 0x1090
mov dword [ebp - 0x18], 0
movdqu xmmword [ebp - 0x14], xmm0
call ebx
test eax, eax
je 0x415fca
cmp dword [ebp - 0x1c4], 0x18
jne 0x415fca
lea eax, [ebp - 0x1c4]
push eax
push 0x1078
push dword [ebp - 0x1cc]
lea ecx, [esi + 0x18]
push ecx
push edi
call ebx
test eax, eax
je 0x415fca
cmp dword [ebp - 0x1c4], 0x1078
jne 0x415fca
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041a53c
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041a53c
mov esp, ebp
pop ebp
ret 8
Function at 0x416100
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x44f4e0
push 0x423e00
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4514c8]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, edx
mov edx, ecx
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x41615e
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, eax
mov dword [ebp - 0x20], eax
test edx, edx
jne 0x41615e
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4162f0
mov dword [ebp - 4], 0
mov eax, 0x5a4d
cmp word [edx], ax
je 0x416179
push 0xc1
jmp 0x4162e3
mov eax, dword [edx + 0x3c]
cmp dword [eax + edx], 0x4550
je 0x41618f
push 0xbf
jmp 0x4162e3
cmp word [eax + edx + 0x14], 0
je 0x4162de
mov eax, dword [eax + edx + 0x80]
test eax, eax
je 0x4162bf
lea ebx, [eax + edx]
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x4162de
jmp 0x4161c0
mov ecx, dword [ebx]
test ecx, ecx
je 0x416284
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4162de
lea esi, [eax + edx]
test esi, esi
je 0x4162de
lea eax, [ecx + edx]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x4161f1
add eax, edx
jmp 0x4161f3
xor eax, eax
mov dword [ebp - 0x24], eax
mov ecx, dword [eax]
call fcn.00415ff0
mov ecx, fcn.004115e0
test ecx, ecx
je 0x416212
push esi
push eax
push edi
call fcn.004115e0
test eax, eax
je 0x416284
xor esi, esi
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x41626d
mov edi, edi
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x41626a
xor eax, eax
test ecx, ecx
js 0x41623b
add ecx, 2
je 0x416239
mov eax, dword [ebp - 0x20]
add eax, ecx
jmp 0x41623b
xor eax, eax
mov ecx, 0x411640
test ecx, ecx
je 0x41627b
mov ecx, dword [ebp - 0x24]
mov ebx, dword [ecx + esi*4]
test edi, edi
je 0x41626a
test eax, eax
je 0x41626a
cmp byte [edi], 0
je 0x41627b
push dword [edi + 0xc]
push eax
call fcn.0041a60c
add esp, 8
test eax, eax
jne 0x41627b
mov dword [edi + 4], ebx
mov ebx, dword [ebp - 0x1c]
add ebx, 0x14
mov dword [ebp - 0x1c], ebx
mov edx, dword [ebp - 0x20]
jmp 0x4161c0
inc esi
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x28]
jmp 0x416220
mov eax, fcn.004115e0
test eax, eax
je 0x416297
push 0
push 0
push edi
call fcn.004115e0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebp - 0x1c], 0
jmp 0x4162de
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4295ba
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4514c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0041ef8b
mov dword [ebp - 0x14], eax
cmp dword [0x454210], esi
jne 0x4296ad
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x42963a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x42978d
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x42978d
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42978d
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x454210], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x454214], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x454218], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x454220], eax
test eax, eax
je 0x4296aa
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45421c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4296d2
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4296c5
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4296e7
push 4
pop eax
jmp 0x42978f
cmp dword [ebp - 0x14], esi
je 0x4296e7
push dword [0x454210]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4296cc
mov eax, dword [0x45421c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x429745
cmp dword [0x454220], edi
je 0x429745
push eax
call ebx
push dword [0x454220]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x429745
test eax, eax
je 0x429745
call ecx
test eax, eax
je 0x42973a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x42973a
test byte [ebp - 8], 1
jne 0x429745
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x429775
mov eax, dword [0x454214]
cmp eax, edi
je 0x429772
push eax
call ebx
test eax, eax
je 0x429772
call eax
mov esi, eax
test esi, esi
je 0x429772
mov eax, dword [0x454218]
cmp eax, edi
je 0x429772
push eax
call ebx
test eax, eax
je 0x429772
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x454210]
call ebx
test eax, eax
je 0x42978d
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x42978f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041a53c
mov esp, ebp
pop ebp
ret