joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414dd0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
push dword [esp + 0x10]
mov dword [esp + 8], 0
push dword [0x43cfe0]
call fcn.0041c3ba
mov esi, eax
test esi, esi
je 0x414e4f
cmp dword [esi + 4], 0
je 0x414e20
push 1
lea eax, [esp + 8]
push eax
push esi
call fcn.00415320
test eax, eax
je 0x414e14
inc dword [esi + 0xc]
xor eax, eax
pop esi
add esp, 8
ret 4
mov eax, 1
pop esi
add esp, 8
ret 4
push 0
lea eax, [esp + 0xc]
push eax
push 1
lea eax, [esp + 0x1c]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x414e5a
cmp dword [esp + 8], 0
je 0x414e5a
push 1
push 0
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 4]
pop esi
add esp, 8
ret 4
or eax, 0xffffffff
pop esi
add esp, 8
ret 4

Function at 0x414e70
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push 0x1000
push 0
push dword [0x43c8bc]
mov dword [esp + 0x14], 0x1000
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x414ff4
mov cl, byte [esp + 3]
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x28]
push esi
push edi
mov esi, edx
mov edi, edi
cmp ebp, 0xffffffff
je 0x414ebe
test ebp, ebp
je 0x414f60
dec ebp
cmp dword [ebx + 4], 0
je 0x414ed7
push 1
lea eax, [esp + 0x17]
push eax
push ebx
call fcn.00415320
mov dword [esp + 0x14], eax
jmp 0x414ef1
push 0
lea eax, [esp + 0x18]
push eax
push 1
lea eax, [esp + 0x1f]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x13]
cmp eax, 1
jne 0x414f60
test cl, cl
je 0x414f05
mov byte [esi], cl
inc esi
mov cl, byte [esp + 0x13]
mov eax, dword [esp + 0x18]
mov edi, esi
mov edx, dword [esp + 0x20]
dec eax
sub edi, edx
cmp edi, eax
jle 0x414f40
mov eax, dword [esp + 0x18]
add eax, 0x1000
push eax
push edx
push 8
push dword [0x43c8bc]
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov cl, byte [esp + 0x13]
mov edx, eax
mov dword [esp + 0x20], edx
lea esi, [edi + edx]
test cl, cl
je 0x414f60
cmp dword [esp + 0x2c], 0
jne 0x414eb0
cmp cl, 0xd
je 0x414f67
cmp cl, 0xa
jne 0x414eb0
dec esi
jmp 0x414fd7
cmp dword [esp + 0x2c], 0
jne 0x414fd7
cmp cl, 0xa
jne 0x414f6f
dec esi
jmp 0x414fd7
cmp cl, 0xd
jne 0x414fd7
dec esi
cmp dword [ebx + 4], 0
je 0x414f8e
push 1
lea eax, [esp + 0x17]
push eax
push ebx
call fcn.00415320
mov dword [esp + 0x14], eax
jmp 0x414fa4
push 0
lea eax, [esp + 0x18]
push eax
push 1
lea eax, [esp + 0x1f]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [esp + 0x13], 0xa
je 0x414fd7
cmp dword [ebx + 4], 0
je 0x414fb6
inc dword [ebx + 0xc]
jmp 0x414fd7
push 1
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], 0xffffffff
push eax
push 0xffffffffffffffff
push dword [ebx]
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x34]
mov ecx, esi
sub ecx, dword [esp + 0x20]
pop edi
mov dword [eax], ecx
mov eax, dword [esp + 0x1c]
mov byte [esi], 0
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x10
xor eax, eax
add esp, 0x14
ret 0x10
Function at 0x415000
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
push 0x1000
push 0
push dword [0x43c8bc]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
mov dword [esp + 8], ecx
test ecx, ecx
je 0x4151ad
mov ax, word [esp]
push ebx
mov ebx, dword [esp + 0x20]
push ebp
mov ebp, dword [esp + 0x2c]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x20], 0x1000
mov dword [esp + 0x1c], 0x7ff
cmp ebp, 0xffffffff
je 0x415054
test ebp, ebp
je 0x41510d
dec ebp
cmp dword [ebx + 4], 0
je 0x41506d
push 2
lea eax, [esp + 0x14]
push eax
push ebx
call fcn.00415320
mov dword [esp + 0x14], eax
jmp 0x415087
push 0
lea eax, [esp + 0x18]
push eax
push 2
lea eax, [esp + 0x1c]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x14]
cmp eax, 2
mov ax, word [esp + 0x10]
jne 0x41510d
test ax, ax
je 0x4150a1
mov word [edi], ax
add edi, 2
mov ax, word [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov esi, edi
mov edx, dword [esp + 0x1c]
sub esi, ecx
sar esi, 1
cmp esi, edx
jle 0x4150e8
mov eax, dword [esp + 0x20]
add edx, 0x800
add eax, 0x1000
mov dword [esp + 0x1c], edx
push eax
push ecx
push 8
push dword [0x43c8bc]
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov ecx, eax
mov ax, word [esp + 0x10]
mov dword [esp + 0x18], ecx
lea edi, [ecx + esi*2]
test ax, ax
je 0x41510d
cmp dword [esp + 0x30], 0
jne 0x415046
cmp ax, 0xd
je 0x415114
cmp ax, 0xa
jne 0x415046
sub edi, 2
jmp 0x41518c
cmp dword [esp + 0x30], 0
jne 0x41518c
cmp ax, 0xa
jne 0x41511f
sub edi, 2
jmp 0x41518c
cmp ax, 0xd
jne 0x41518c
sub edi, 2
cmp dword [ebx + 4], 0
je 0x415141
push 2
lea eax, [esp + 0x14]
push eax
push ebx
call fcn.00415320
mov dword [esp + 0x14], eax
jmp 0x415157
push 0
lea eax, [esp + 0x18]
push eax
push 2
lea eax, [esp + 0x1c]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp word [esp + 0x10], 0xa
je 0x41518c
cmp dword [ebx + 4], 0
je 0x41516b
add dword [ebx + 0xc], 2
jmp 0x41518c
push 1
lea eax, [esp + 0x28]
mov dword [esp + 0x24], 0xfffffffe
push eax
push 0xfffffffffffffffe
push dword [ebx]
mov dword [esp + 0x34], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x38]
mov ecx, edi
sub ecx, dword [esp + 0x18]
sar ecx, 1
mov dword [eax], ecx
xor eax, eax
mov word [edi], ax
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x10
xor eax, eax
add esp, 0x18
ret 0x10
Function at 0x4151c0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push 0x1000
push 0
push dword [0x43c8bc]
mov dword [esp + 0x10], 0x1000
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x415310
mov eax, dword [esp + 0x1c]
mov cl, byte [esp + 3]
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, edx
cmp edi, 0xffffffff
je 0x41520c
test edi, edi
je 0x41527d
dec edi
push esi
push ebp
call fcn.00415440
mov dword [esp + 0x20], eax
test eax, eax
jne 0x41521f
xor cl, cl
jmp 0x415221
mov cl, byte [esi]
mov edx, dword [esp + 0x1c]
add esi, eax
mov eax, dword [esp + 0x14]
mov ebx, esi
sub ebx, edx
mov byte [esp + 0x13], cl
add eax, 0xfffffffb
cmp ebx, eax
jle 0x415264
mov eax, dword [esp + 0x14]
add eax, 0x1000
push eax
push edx
push 8
push dword [0x43c8bc]
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov cl, byte [esp + 0x13]
mov edx, eax
mov dword [esp + 0x1c], edx
lea esi, [ebx + edx]
mov eax, dword [esp + 0x2c]
test cl, cl
je 0x41527d
test eax, eax
jne 0x415202
cmp cl, 0xd
je 0x415281
cmp cl, 0xa
jne 0x415202
dec esi
jmp 0x4152f3
test eax, eax
jne 0x4152f3
cmp cl, 0xa
jne 0x415289
dec esi
jmp 0x4152f3
cmp cl, 0xd
jne 0x4152f3
dec esi
cmp dword [ebp + 4], 0
je 0x4152a8
push 1
lea eax, [esp + 0x17]
push eax
push ebp
call fcn.00415320
mov dword [esp + 0x20], eax
jmp 0x4152bf
push 0
lea eax, [esp + 0x24]
push eax
push 1
lea eax, [esp + 0x1f]
push eax
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [esp + 0x13], 0xa
je 0x4152f3
cmp dword [ebp + 4], 0
je 0x4152d1
inc dword [ebp + 0xc]
jmp 0x4152f3
push 1
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], 0xffffffff
push eax
push 0xffffffffffffffff
push dword [ebp]
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x34]
mov ecx, esi
sub ecx, dword [esp + 0x1c]
pop edi
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
mov byte [esi], 0
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x10
xor eax, eax
add esp, 0x14
ret 0x10
Function at 0x415320
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
cmp dword [esi + 0x14], 0
jne 0x415341
push esi
call fcn.00414990
mov dword [esi + 0x14], 1
mov dword [esi + 0xc], 0
mov ebx, dword [esi + 0xc]
mov edi, dword [esp + 0x18]
mov eax, dword [esi + 0x10]
cmp ebx, edi
jl 0x4153b5
add eax, dword [esi + 4]
mov ecx, edi
sub eax, ebx
dec ecx
je 0x4153a2
dec ecx
je 0x41538d
sub ecx, 2
je 0x41537a
push edi
push eax
push dword [esp + 0x1c]
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
ret 0xc
mov ecx, dword [eax]
mov eax, dword [esp + 0x14]
mov dword [eax], ecx
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
ret 0xc
mov cx, word [eax]
mov eax, dword [esp + 0x14]
mov word [eax], cx
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
ret 0xc
mov ecx, dword [esp + 0x14]
mov dl, byte [eax]
mov eax, edi
mov byte [ecx], dl
sub dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
ret 0xc
push ebp
mov ebp, dword [esp + 0x18]
sub eax, ebx
add eax, dword [esi + 4]
push ebx
push eax
push ebp
call sub.MSVCRT.dll_memcpy
mov eax, dword [esi + 8]
add esp, 0xc
sub edi, ebx
add ebp, ebx
push 0
cmp edi, eax
jl 0x4153fa
lea eax, [esp + 0x18]
push eax
push edi
push ebp
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x14]
pop ebp
pop edi
mov dword [esi + 0xc], 0
add eax, ebx
pop esi
pop ebx
ret 0xc
lea ecx, [esp + 0x18]
push ecx
push eax
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x14]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
cmp edi, eax
jle 0x41541b
mov edi, eax
push edi
push dword [esi + 4]
push ebp
call sub.MSVCRT.dll_memcpy
sub dword [esi + 0xc], edi
lea eax, [ebx + edi]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x415440
Capabilities:
Read file on windows

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0xc]
mov dword [esp + 4], 0
cmp dword [edi + 4], 0
je 0x415467
push 1
lea eax, [esp + 0x10]
push eax
push edi
call fcn.00415320
mov dword [esp + 4], eax
jmp 0x415481
push 0
lea eax, [esp + 8]
push eax
push 1
lea eax, [esp + 0x18]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 4]
cmp eax, 1
je 0x41548d
xor eax, eax
pop edi
pop ecx
ret 8
mov cl, byte [esp + 0xc]
test cl, cl
js 0x4154a9
mov eax, dword [esp + 0x10]
pop edi
mov byte [eax], cl
mov byte [eax + 1], 0
mov eax, 1
pop ecx
ret 8
mov al, cl
and al, 0xe0
push esi
cmp al, 0xc0
jne 0x4154b9
mov esi, 2
jmp 0x4154d5
mov al, cl
and al, 0xf0
cmp al, 0xe0
jne 0x4154c8
mov esi, 3
jmp 0x4154d5
mov al, cl
and al, 0xf8
cmp al, 0xf0
jne 0x415532
mov esi, 4
mov edx, dword [esp + 0x14]
mov byte [edx], cl
cmp dword [edi + 4], 0
je 0x415504
lea eax, [esi - 1]
push eax
lea eax, [edx + 1]
push eax
push edi
call fcn.00415320
mov edx, eax
lea ecx, [esi - 1]
xor eax, eax
cmp edx, ecx
setne al
dec eax
and eax, esi
pop esi
pop edi
pop ecx
ret 8
push 0
lea eax, [esp + 0xc]
push eax
lea eax, [esi - 1]
push eax
lea eax, [edx + 1]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [esp + 8]
lea ecx, [esi - 1]
xor eax, eax
cmp edx, ecx
setne al
dec eax
and eax, esi
pop esi
pop edi
pop ecx
ret 8
mov eax, dword [esp + 0x14]
pop esi
pop edi
mov word [eax], 0x3f
mov eax, 1
pop ecx
ret 8

Function at 0x41800a
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x43ce64], eax
test eax, eax
je 0x418038
push str.AlphaBlend
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x43ce60], eax
lea eax, [ebp - 0x114]
mov dword [0x43ce68], 1
push eax
mov dword [ebp - 0x114], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41809a
cmp dword [ebp - 0x104], 1
jne 0x41806f
and dword [0x43ce68], 0
jmp 0x4180b2
cmp dword [ebp - 0x104], 2
jne 0x41809a
cmp dword [ebp - 0x110], 5
jb 0x418066
jne 0x41809a
mov eax, dword [ebp - 0x10c]
neg eax
sbb eax, eax
and eax, dword [0x43ce68]
mov dword [0x43ce68], eax
jmp 0x41809f
mov eax, dword [0x43ce68]
test eax, eax
je 0x4180b2
call fcn.00417952
neg eax
sbb eax, eax
and dword [0x43ce68], eax
mov esp, ebp
pop ebp
ret

Function at 0x419120
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0xc]
mov eax, dword [edi]
test eax, eax
je 0x419152
push 0
lea ecx, [esp + 0x10]
push ecx
push esi
push dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41914d
cmp dword [esp + 0xc], esi
je 0x419169
pop edi
xor eax, eax
pop esi
ret
mov eax, dword [edi + 4]
add eax, dword [edi + 8]
push esi
push dword [esp + 0x14]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
add dword [edi + 8], esi
pop edi
mov eax, 1
pop esi
ret
Function at 0x100017c1
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push edi
push 0x14
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x1000185c
push str.jvm.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x100017f3
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
xor eax, eax
jmp 0x1000185e
push esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.JVM_DTraceGetVersion
push ebx
call esi
push str.JVM_DTraceIsSupported
push ebx
mov dword [edi], eax
call esi
push str.JVM_DTraceActivate
push ebx
mov dword [edi + 4], eax
call esi
push str.JVM_DTraceDispose
push ebx
mov dword [edi + 8], eax
call esi
push str.JVM_DTraceIsProbeEnabled
push ebx
mov dword [edi + 0xc], eax
call esi
push ebx
mov dword [edi + 0x10], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
xor esi, esi
cmp dword [edi], esi
je 0x10001851
cmp dword [edi + 4], esi
je 0x10001851
cmp dword [edi + 8], esi
je 0x10001851
cmp dword [edi + 0xc], esi
je 0x10001851
cmp dword [edi + 0x10], esi
jne 0x1000185b
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
mov edi, esi
pop esi
mov eax, edi
pop edi
pop ebx
ret

Function at 0x100022cf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x100022de
pop dword [ebp - 0x14]
mov eax, 0x100022de
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x3e139b79
sub dword [ebp - 0x24], 0xefc1562e
mov dword [ebp - 0x20], 0xcf8223bf
add dword [ebp - 0x20], 0x62b12886
mov dword [ebp - 0x1c], 0xbb53bd26
add dword [ebp - 0x1c], 0x90f88708
mov dword [ebp - 0x18], 0x31486da9
add dword [ebp - 0x18], 0xceb79257
lea eax, [ebp - 0x24]
push eax
mov eax, 0x9674517d
add eax, 0x798bde87
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x37e738db
add dword [ebp - 0x24], 0x3c8b307b
mov dword [ebp - 0x20], 0x8cb0fd59
add dword [ebp - 0x20], 0xb4bb641c
mov dword [ebp - 0x1c], 0xf0985652
sub dword [ebp - 0x1c], 0x8d28e9e6
mov dword [ebp - 0x18], 0xf829036f
add dword [ebp - 0x18], 0x7d6fc91
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x37422
push 0
call eax
mov ecx, 0x4b16
xor edi, edi
add edi, eax
mov ebx, 0x4605a1d1
add ebx, 0xc9fac02f
add ebx, dword [ebp - 0x14]
mov edx, 0xd99df101
xor dword [ebp - 0xc], 0xc07b5b65
mov esi, dword [ebx]
sub dword [ebp - 4], esi
sub esi, edx
xor dword [ebp - 0x10], 0xd191643
mov dword [edi], esi
xor dword [ebp - 8], 0x1477c97d
add edi, 4
add ebx, 0xfe857852
add ebx, 0x17a87b2
loop 0x100023ec
add eax, 0xa1166f00
add eax, 0x5eeab02b
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x4d8299c6
add ecx, 0xc27d663a
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x40de73
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a440]
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.0040931a
mov dword [ebp - 0x14], eax
cmp dword [0x4ae720], esi
jne 0x40df66
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40def3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40e046
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40e046
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e046
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4ae720], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4ae724], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4ae728], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4ae730], eax
test eax, eax
je 0x40df63
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4ae72c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40df8b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40df7e
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40dfa0
push 4
pop eax
jmp 0x40e048
cmp dword [ebp - 0x14], esi
je 0x40dfa0
push dword [0x4ae720]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40df85
mov eax, dword [0x4ae72c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40dffe
cmp dword [0x4ae730], edi
je 0x40dffe
push eax
call ebx
push dword [0x4ae730]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40dffe
test eax, eax
je 0x40dffe
call ecx
test eax, eax
je 0x40dff3
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 0x40dff3
test byte [ebp - 8], 1
jne 0x40dffe
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40e02e
mov eax, dword [0x4ae724]
cmp eax, edi
je 0x40e02b
push eax
call ebx
test eax, eax
je 0x40e02b
call eax
mov esi, eax
test esi, esi
je 0x40e02b
mov eax, dword [0x4ae728]
cmp eax, edi
je 0x40e02b
push eax
call ebx
test eax, eax
je 0x40e02b
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4ae720]
call ebx
test eax, eax
je 0x40e046
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40e048
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404429
mov esp, ebp
pop ebp
ret
Function at 0x1000709b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10028a50]
jne 0x100070a5
repz ret
jmp fcn.1000def4

Function at 0x1000f3f5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1000536f
and dword [ebp - 4], 0
cmp dword [0x10029d64], 0
mov ebx, eax
jne 0x1000f4a6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1000f557
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1000f557
push eax
call fcn.100052fd
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10029d64], eax
call esi
push eax
call fcn.100052fd
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10029d68], eax
call esi
push eax
call fcn.100052fd
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10029d6c], eax
call esi
push eax
call fcn.100052fd
pop ecx
mov dword [0x10029d74], eax
test eax, eax
je 0x1000f4a6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100052fd
pop ecx
mov dword [0x10029d70], eax
mov eax, dword [0x10029d70]
cmp eax, ebx
je 0x1000f4fe
cmp dword [0x10029d74], ebx
je 0x1000f4fe
push eax
call fcn.10005378
push dword [0x10029d74]
mov esi, eax
call fcn.10005378
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1000f4fe
test edi, edi
je 0x1000f4fe
call esi
test eax, eax
je 0x1000f4f5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1000f4f5
test byte [ebp - 0xc], 1
jne 0x1000f4fe
or dword [ebp + 0x10], 0x200000
jmp 0x1000f537
mov eax, dword [0x10029d68]
cmp eax, ebx
je 0x1000f537
push eax
call fcn.10005378
pop ecx
test eax, eax
je 0x1000f537
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1000f537
mov eax, dword [0x10029d6c]
cmp eax, ebx
je 0x1000f537
push eax
call fcn.10005378
pop ecx
test eax, eax
je 0x1000f537
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10029d64]
call fcn.10005378
pop ecx
test eax, eax
je 0x1000f557
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1000f559
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100120a5
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x10028068]
add esi, 0x1ff0
mov dword [0x10028068], esi
mov dword [0x1002806c], 0x2369
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x10014436]
mov dh, byte [eax + 0x10014407]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x100120d9
lea eax, [ebp - 0x24]
mov dword [0x10028068], 0x2213
mov dword [ebp - 0x34], eax
call fcn.100129ba
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.10011e30
xor ecx, ecx
mov dword [0x10028068], 0x1b06
cmp eax, 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
je 0x100121f8
mov eax, dword [ebp - 0x38]
mov dword [0x10028068], 0x8b
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.100126b9
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x1002806c], 0x1162
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov dword [0x10028068], 0x1ca3
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x48], ecx
mov ecx, dword [0x10028068]
mov esi, dword [ebp - 0x40]
mov dword [edx + 0x10], esi
add ecx, 0xfffff50a
mov dword [0x10028068], ecx
cmp esi, 0
mov dword [ebp - 0x3c], eax
je 0x100121f8
mov dword [0x10028068], 0x236c
mov eax, dword [ebp - 0x40]
add eax, 0x1af6
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
add esp, 0x4c
pop esi
pop ebp
ret