joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401e00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
test ebx, ebx
je 0x401e74
push 0x41518c
push 0x7d2
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x401e74
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
mov edi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x401e74
test edi, edi
je 0x401e74
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
lea esi, [edi + 1]
mov dword [ebp + 8], eax
push esi
call fcn.004091e0
push esi
push 0
push eax
mov dword [ebx], eax
call fcn.00408e80
push edi
push dword [ebp + 8]
push dword [ebx]
call fcn.00408b40
add esp, 0x1c
mov al, 1
jmp 0x401e76
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x6ce43dfe
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x2be90cf5
nop
nop
nop
nop
test eax, eax
je 0x433084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x409b78
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409c2c
jmp 0x409c21
cmp dword [esi + 0x10], 0x1000
jne 0x409c0d
test byte [esi + 0x15], 1
jne 0x409c0d
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409bcc
cmp eax, 2
je 0x409bcc
cmp eax, 0x10
je 0x409bcc
cmp eax, 0x20
jne 0x409be1
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409be1
mov bl, 1
xor ebp, ebp
jmp 0x409bf2
mov eax, dword [esi]
add eax, ebp
call fcn.00409b70
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409be5
test bl, bl
je 0x409c0d
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409c2c
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409ba4
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x41129a
Capabilities:
Check for time delay via gettickcount
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0x1f3432d7
push 0xa
push 0
push 0
push 0xffffffffffffffff
call sub.PSAPI.DLL_GetModuleBaseNameA
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x30]
push eax
push 0
call dword [sym.imp.USER32.dll_LoadBitmapA]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebp - 0x24], 0
je 0x41130a
cmp dword [ebp - 4], 0
jne 0x411312
push 0
call dword [sym.imp.USER32.dll_IsWindowUnicode]
push 0
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.USER32.dll_FindWindowA]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test eax, eax
jne 0x41133d
jl 0x411345
xchg esi, eax
out dx, eax
test al, 0x99
and dh, bh
sub al, dh
loop 0x411333
push dword [ebp - 4]
jne 0x411332
pop ecx
mov edx, ecx
call edx
jmp 0x4113b2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x40], eax
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
shr byte [edx + 0x64], 0xff
adc eax, sym.imp.KERNEL32.dll_Sleep
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
jmp 0x411367
mov edx, dword [ebp - 0x48]
add edx, 1
mov dword [ebp - 0x48], edx
cmp dword [ebp - 0x48], 0x2710
jae 0x411385
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x44], eax
push 0
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
jmp 0x41135e
push 0
push 0
push 0
call sub.AVIFIL32.dll_AVIFileInfoA
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x8000000
jbe 0x4113ab
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0x561
jmp 0x4113b2
mov dword [ebp - 0x24], 0
cmp dword [ebp - 4], 0x561
jne 0x4113de
mov ecx, dword [ebp - 0x24]
push ecx
call section..text
add esp, 4
call dword [sym.imp.KERNEL32.dll_CreateTimerQueue]
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4114ea
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
push 0x8000
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov word [ebp - 0x34], 0x16
movzx ecx, word [ebp - 0x34]
test ecx, ecx
je 0x411563
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov eax, dword [ebp - 0x20]
push eax
call fcn.0041129a
add esp, 4
call fcn.004113e4
mov ecx, dword [ebp - 0x38]
push ecx
push 0
mov edx, dword [ebp - 0x24]
push edx
push 1
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
push 0
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4115f3
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x43c450
call fcn.004124e4
mov edi, 0x94
mov eax, edi
call fcn.00412530
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x443ae4], ecx
mov eax, dword [esi + 4]
mov dword [0x443af0], eax
mov edx, dword [esi + 8]
mov dword [0x443af4], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x443ae8], esi
cmp ecx, 2
je 0x411653
or esi, 0x8000
mov dword [0x443ae8], esi
shl eax, 8
add eax, edx
mov dword [0x443aec], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x41168e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41168e
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x4116a6
cmp eax, 0x20b
je 0x411693
mov dword [ebp - 0x1c], esi
jmp 0x4116ba
cmp dword [ecx + 0x84], 0xe
jbe 0x41168e
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x4116b4
cmp dword [ecx + 0x74], 0xe
jbe 0x41168e
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.00412491
pop ecx
test eax, eax
jne 0x4116ce
push 0x1c
call fcn.004115cf
pop ecx
call fcn.00412408
test eax, eax
jne 0x4116df
push 0x10
call fcn.004115cf
pop ecx
call fcn.004122f1
mov dword [ebp - 4], esi
call fcn.004120f3
test eax, eax
jge 0x4116f8
push 0x1b
call fcn.004115aa
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x444294], eax
call fcn.00411fd1
mov dword [0x443ad4], eax
call fcn.00411f2f
test eax, eax
jge 0x41171e
push 8
call fcn.004115aa
pop ecx
call fcn.00411cfc
test eax, eax
jge 0x41172f
push 9
call fcn.004115aa
pop ecx
call fcn.00411807
mov dword [ebp - 0x20], eax
cmp eax, esi
je 0x411742
push eax
call fcn.004115aa
pop ecx
mov dword [ebp - 0x38], esi
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00411c93
mov dword [ebp - 0x68], eax
test byte [ebp - 0x38], 1
je 0x411763
movzx eax, word [ebp - 0x34]
jmp 0x411766
push 0xa
pop eax
push eax
push dword [ebp - 0x68]
push esi
push esi
call edi
push eax
call fcn.004114ea
mov edi, eax
mov dword [ebp - 0x6c], edi
cmp dword [ebp - 0x1c], esi
jne 0x411784
push edi
call fcn.0041193f
call fcn.00411961
jmp 0x4117b6
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.0041251f
ret
Function at 0x4127c2
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x443d90], ebx
push esi
push edi
jne 0x412842
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x41287d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x443d90], eax
je 0x41287d
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x443d94], eax
call esi
cmp dword [0x443ae4], 2
mov dword [0x443d98], eax
jne 0x412842
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x443da0], eax
je 0x412842
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x443d9c], eax
mov eax, dword [0x443d9c]
test eax, eax
je 0x412887
call eax
test eax, eax
je 0x41286e
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x443da0]
test eax, eax
je 0x41286e
test byte [ebp - 8], 1
jne 0x412887
cmp dword [0x443af0], 4
jb 0x412881
or byte [ebp + 0x12], 0x20
jmp 0x4128a6
xor eax, eax
jmp 0x4128b6
or byte [ebp + 0x12], 4
jmp 0x4128a6
mov eax, dword [0x443d94]
test eax, eax
je 0x4128a6
call eax
mov ebx, eax
test ebx, ebx
je 0x4128a6
mov eax, dword [0x443d98]
test eax, eax
je 0x4128a6
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x443d90]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x415975
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
call fcn.00412530
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x415a0a
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
lea esi, [eax - 1]
not esi
and esi, ebx
sub esi, eax
mov dword [ebp - 4], eax
mov eax, dword [0x443ae4]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffff1000
add ecx, 0x11000
add ecx, edi
cmp esi, ecx
jb 0x415a0a
cmp eax, 1
je 0x415a22
mov ebx, edi
mov edi, 0x1000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x415a0a
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x4159df
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x415a06
xor eax, eax
inc eax
jmp 0x415a3e
cmp esi, ebx
jae 0x415a0e
xor eax, eax
jmp 0x415a3e
push 4
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x443ae4]
jmp 0x415a24
mov ebx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 8]
push ecx
inc eax
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430004
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x79b43261
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e3d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x1cc36e99
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x40e800
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov dword [ebp - 0x1c], 0
mov eax, dword [0x4ffbfc]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0xe66c7d45
mov eax, dword [ebp - 0x20]
mov ecx, eax
sub ecx, 0xe66c7d44
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jg 0x40e851
jmp 0x40e83b
mov eax, dword [ebp - 0x24]
sub eax, 0xc065b8d2
mov dword [ebp - 0x2c], eax
je 0x40e94e
jmp 0x40e917
mov eax, dword [ebp - 0x24]
sub eax, 0x5d6a471c
mov dword [ebp - 0x30], eax
jg 0x40e901
jmp 0x40e867
mov eax, dword [ebp - 0x24]
sub eax, 0x54d9bf29
mov dword [ebp - 0x34], eax
jg 0x40e8eb
jmp 0x40e87d
mov eax, dword [ebp - 0x24]
sub eax, 0x41ef8652
mov dword [ebp - 0x38], eax
jg 0x40e8d5
jmp 0x40e893
mov eax, dword [ebp - 0x24]
sub eax, 0xe66c7d45
mov dword [ebp - 0x3c], eax
je 0x40e91c
jmp 0x40e8a9
mov eax, dword [ebp - 0x24]
sub eax, 0xeae64532
mov dword [ebp - 0x40], eax
je 0x40ea3c
jmp 0x40e8bf
mov eax, dword [ebp - 0x24]
sub eax, 0xf78c9baa
mov dword [ebp - 0x44], eax
je 0x40e97a
jmp 0x40e917
mov eax, dword [ebp - 0x24]
sub eax, 0x41ef8653
mov dword [ebp - 0x48], eax
je 0x40ea31
jmp 0x40e917
mov eax, dword [ebp - 0x24]
sub eax, 0x54d9bf2a
mov dword [ebp - 0x4c], eax
je 0x40e93a
jmp 0x40e917
mov eax, dword [ebp - 0x24]
sub eax, 0x5d6a471d
mov dword [ebp - 0x50], eax
je 0x40e9d0
jmp 0x40e917
jmp 0x40ea43
mov eax, 0xc065b8d2
mov ecx, 0x54d9bf2a
mov edx, dword [ebp - 0x14]
cmp edx, 0
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x40ea43
mov eax, dword [0x4ffbfc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0xf78c9baa
jmp 0x40ea43
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [0x4ffbfc], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0xf78c9baa
jmp 0x40ea43
mov eax, 0xeae64532
mov ecx, 0x5d6a471d
mov edx, 0
mov esi, dword [0x501040]
mov edi, dword [0x50103c]
sub edx, 1
mov ebx, esi
add ebx, edx
imul esi, ebx
and esi, 1
cmp esi, 0
sete dl
cmp edi, 0xa
setl dh
mov bl, dl
and bl, dh
xor dl, dh
or bl, dl
test bl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x40ea43
mov eax, 0xeae64532
mov ecx, 0x41ef8653
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x10], edx
mov edx, dword [0x501040]
mov esi, dword [0x50103c]
mov edi, edx
add edi, 0xf2461b6
sub edi, 1
sub edi, 0xf2461b6
imul edx, edi
and edx, 1
cmp edx, 0
sete bl
cmp esi, 0xa
setl bh
mov dl, bl
and dl, bh
xor bl, bh
or dl, bl
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x40ea43
mov eax, dword [ebp - 0x10]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x20], 0x5d6a471d
jmp 0x40e81f
Function at 0x4b31c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x13e4
call fcn.004ddc10
lea eax, [ebp - 0x10a0]
mov ecx, 0x20a
lea edx, [ebp - 0xe6a]
lea esi, [ebp - 0x642]
lea edi, [ebp - 0x84c]
lea ebx, [ebp - 0x438]
mov dword [ebp - 0x10c8], eax
lea eax, [ebp - 0xc60]
mov dword [ebp - 0x10cc], eax
mov eax, 0
mov dword [ebp - 0x10d0], eax
mov eax, 0x14
mov dword [ebp - 0x10d4], eax
lea eax, [ebp - 0x109c]
mov dword [ebp - 0x10d8], eax
lea eax, [ebp - 0x1088]
mov dword [ebp - 0x10dc], eax
lea eax, [ebp - 0x1074]
mov dword [ebp - 0x10e0], eax
lea eax, [ebp - 0x22e]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x20a
mov dword [ebp - 0x10e4], ebx
mov dword [ebp - 0x10e8], ecx
mov dword [ebp - 0x10ec], edx
mov dword [ebp - 0x10f0], esi
mov dword [ebp - 0x10f4], edi
call fcn.004de490
mov eax, dword [ebp - 0x10e4]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x20a
call fcn.004de490
mov eax, dword [ebp - 0x10f0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x20a
call fcn.004de490
mov eax, dword [ebp - 0x10f4]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x20a
call fcn.004de490
mov eax, dword [ebp - 0x10cc]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x20a
call fcn.004de490
mov eax, dword [ebp - 0x10ec]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x20a
call fcn.004de490
mov eax, dword [ebp - 0x10e0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x20a
call fcn.004de490
mov eax, dword [ebp - 0x10dc]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x14
call fcn.004de490
mov eax, dword [ebp - 0x10d8]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x14
call fcn.004de490
mov dword [ebp - 0x10a8], 0xffffffff
mov eax, dword [ebp - 0x10ec]
mov dword [esp], eax
mov ecx, dword [ebp - 0x10c8]
mov dword [esp + 4], ecx
mov edx, dword [ebp - 0x10f0]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x20a
mov esi, dword [ebp - 0x10f4]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 0x20a
mov edi, dword [ebp - 0x10e4]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], 0x20a
mov ebx, dword [ebp - 0x10cc]
mov dword [esp + 0x20], ebx
call fcn.004af820
mov eax, 0x20a
lea ecx, [ebp - 0x1074]
mov dword [esp], ecx
mov dword [esp + 4], 0x20a
mov dword [ebp - 0x10f8], eax
call fcn.00413150
lea eax, [ebp - 0x1074]
mov ecx, dword [0x5013cc]
mov edx, esp
mov dword [edx + 8], eax
mov dword [edx + 4], 0
mov dword [edx], 0
call ecx
sub esp, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10c4], 0x9b68f1e2
Function at 0x4e15fa
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4ff4b0]
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
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004df9ea
mov dword [ebp - 0x14], eax
cmp dword [0x500c4c], edi
jne 0x4e16eb
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4e1678
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4e17cb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4e17cb
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4e17cb
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x500c4c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x500c50], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x500c54], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x500c5c], eax
test eax, eax
je 0x4e16e8
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x500c58], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4e1710
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4e1703
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x4e1725
push 4
pop eax
jmp 0x4e17cd
cmp dword [ebp - 0x14], edi
je 0x4e1725
push dword [0x500c4c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4e170a
mov eax, dword [0x500c58]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x4e1783
cmp dword [0x500c5c], esi
je 0x4e1783
push eax
call ebx
push dword [0x500c5c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4e1783
test eax, eax
je 0x4e1783
call ecx
test eax, eax
je 0x4e1778
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 0x4e1778
test byte [ebp - 8], 1
jne 0x4e1783
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x4e17b3
mov eax, dword [0x500c50]
cmp eax, esi
je 0x4e17b0
push eax
call ebx
test eax, eax
je 0x4e17b0
call eax
mov edi, eax
test edi, edi
je 0x4e17b0
mov eax, dword [0x500c54]
cmp eax, esi
je 0x4e17b0
push eax
call ebx
test eax, eax
je 0x4e17b0
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x500c4c]
call ebx
test eax, eax
je 0x4e17cb
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x4e17cd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e17dc
leave
ret