joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100f6a30
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10145e30
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x100f6bd7
mov ecx, dword [0x1025bc94]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x100f6b2c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.100f5750
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.1013227e
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.10132191
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x10258c44
call fcn.101321ff
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.100f5b10
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.1013227e
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.10132191
lea ecx, [esp + 0xc]
call fcn.10132659
mov ecx, dword [esp + 0xc]
push 0x10259684
push ecx
call fcn.1010e7c4
add esp, 8
test eax, eax
je 0x100f6b54
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x100f6a8d
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.10132191
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.10132191
jmp 0x100f6bdb
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.100f67d0
test eax, eax
push 0
je 0x100f6bbf
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.100f4e70
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x100f6ba5
cmp eax, 0x64
jg 0x100f6b93
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x100f6b30
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x100f6b30
cmp eax, 0x64
jge 0x100f6b2c
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x100f6b30
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.100f4e70
mov esi, eax
jmp 0x100f6b30
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x100f6be5
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x101277b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10147040
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.1011c8f3
mov eax, dword [0x10231e38]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.1011c825
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.10128250
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x10127857
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x1012784e
cmp al, 0xff
je 0x1012784e
dec al
mov byte [ecx], al
jmp 0x10127857
push ecx
call fcn.10131efb
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 0x10127888
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x1012787f
cmp al, 0xff
je 0x1012787f
dec al
mov byte [ecx], al
jmp 0x10127888
push ecx
call fcn.10131efb
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 0x1012d2f0
Capabilities:
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x10147359
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea edx, [esp + 0x58]
push 0x1c
lea eax, [esp + 4]
lea ecx, [esp + 4]
push edx
push eax
mov dword [esp + 0xc], ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x5c]
sub eax, edx
mov dword [esp], eax
sub eax, ecx
push 0x4000
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
je 0x1012d475
mov edx, dword [esp + 0x78]
mov eax, dword [esp]
lea ecx, [esp + 0x38]
push ecx
push 0x104
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1012d475
mov cl, byte [esp + 7]
push esi
push edi
mov byte [esp + 0x10], cl
mov edi, str.Out_of_stack_space__while_attempting_to_match_a_regular_expression.
or ecx, 0xffffffff
xor eax, eax
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x14], esi
push ecx
push str.Out_of_stack_space__while_attempting_to_match_a_regular_expression.
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
call fcn.1011c92f
lea edx, [esp + 8]
lea ecx, [esp + 0x24]
push edx
mov dword [esp + 0xac], esi
mov dword [esp + 0xc], 0x102c56ac
call fcn.101106f5
mov al, byte [esp + 0x10]
push esi
lea ecx, [esp + 0x34]
mov byte [esp + 0xac], 1
mov byte [esp + 0x34], al
call fcn.1011c8f3
mov ecx, dword [0x10231e38]
lea edx, [esp + 0x10]
push ecx
push esi
push edx
lea ecx, [esp + 0x3c]
call fcn.1011c825
mov edi, vtable.std::runtime_error.0
mov dword [esp + 0x24], edi
push 1
lea ecx, [esp + 0x14]
mov byte [esp + 0xac], 3
call fcn.1011c8f3
lea eax, [esp + 0x24]
lea ecx, [esp + 0x44]
push eax
call fcn.10110732
mov cl, byte [esp + 0x30]
push esi
mov byte [esp + 0x54], cl
lea ecx, [esp + 0x54]
mov byte [esp + 0xac], 4
call fcn.1011c8f3
mov edx, dword [0x10231e38]
lea eax, [esp + 0x30]
push edx
push esi
push eax
lea ecx, [esp + 0x5c]
call fcn.1011c825
lea ecx, [esp + 0x44]
push 0x1023f998
push ecx
mov dword [esp + 0x4c], edi
mov byte [esp + 0xb0], 3
call fcn.1011069f
pop edi
pop esi
lea edx, [esp + 0x18]
lea ecx, [esp + 8]
push edx
mov dword [esp + 0x1c], str.bad_exception
call fcn.101106f5
lea eax, [esp + 8]
push 0x10240448
push eax
mov dword [esp + 0x10], vtable.std::bad_exception.0
call fcn.1011069f
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x1013459c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x101345d4
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.101325ec
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.101325c4
jmp 0x101345e0
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x10135d9c
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 0x10135dde
call fcn.1013c5fc
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x10135dde
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x10135dd5
xor eax, eax
jmp 0x10135de6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.10135dec
pop edi
pop esi
pop ebx
ret 4
Function at 0x10456058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x104561a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1045607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1045606a
add dl, dl
jne 0x10456089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x104560dc
xor eax, eax
add dl, dl
jne 0x10456096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1045617d
add dl, dl
jne 0x104560a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104560b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104560bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104560c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x104560d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10456075
mov eax, 1
add dl, dl
jne 0x104560ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104560f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x104560e1
sub eax, ebx
mov ebx, 1
jne 0x10456128
mov ecx, 1
add dl, dl
jne 0x1045610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10456119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10456105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10456075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1045613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1045614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10456136
cmp eax, 0x7d00
jae 0x1045616d
cmp eax, 0x500
jb 0x10456168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10456075
cmp eax, 0x7f
ja 0x10456170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10456075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1045619e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10456075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x2957058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x29571a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x295707e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x295706a
add dl, dl
jne 0x2957089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x29570dc
xor eax, eax
add dl, dl
jne 0x2957096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x295717d
add dl, dl
jne 0x29570a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x29570b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x29570bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x29570c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x29570d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x2957075
mov eax, 1
add dl, dl
jne 0x29570ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x29570f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x29570e1
sub eax, ebx
mov ebx, 1
jne 0x2957128
mov ecx, 1
add dl, dl
jne 0x295710e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x2957119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x2957105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2957075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x295713f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x295714a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x2957136
cmp eax, 0x7d00
jae 0x295716d
cmp eax, 0x500
jb 0x2957168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2957075
cmp eax, 0x7f
ja 0x2957170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2957075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x295719e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x2957075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10520
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
call fcn.000104e2
cmp dword [ebp + 0x10], 0
je 0x10559
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
dec dword [ebp + 0x10]
and ecx, 0xff
shr edx, 8
xor edx, dword [ecx*4 + 0x112a0]
inc eax
cmp dword [ebp + 0x10], 0
mov dword [ebp + 8], edx
jne 0x10533
mov eax, dword [ebp + 8]
xor eax, 0x1234abcd
pop ebp
ret 0xc

Function at 0x108d8
Capabilities:
Create device object
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push edi
mov edi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push 0x10fe6
lea eax, [ebp - 0xc]
push eax
call edi
lea eax, [ebp - 4]
push eax
push 1
xor ebx, ebx
push ebx
push 0x8000
lea eax, [ebp - 0xc]
push eax
push 0x14
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_IoCreateDevice]
cmp eax, ebx
jl 0x109f3
mov eax, dword [ebp - 4]
or dword [eax + 0x1c], 0x10
mov eax, dword [ebp - 4]
push esi
mov esi, dword [eax + 0x28]
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
mov dword [esi + 8], eax
push 0x10fba
lea eax, [ebp - 0x14]
push eax
call edi
mov eax, dword [ebp - 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x10], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov esi, eax
cmp esi, ebx
jge 0x1096f
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, esi
jmp 0x109f2
push 0x6c506f43
mov eax, 0x116b0
push 0x10
push ebx
mov dword [0x116b4], eax
mov dword [0x116b0], eax
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov dword [0x116ac], eax
cmp eax, ebx
je 0x109b6
mov dword [0x11288], 0x106dc
mov edi, eax
mov esi, section..data
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [0x116ac]
call dword [sym.imp.ntoskrnl.exe_PsSetLoadImageNotifyRoutine]
push ebx
push 0x10856
push 0x116a4
push ebx
lea eax, [ebp - 0x2c]
push eax
push 0x1f03ff
push 0x116a0
mov dword [ebp - 0x2c], 0x18
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], 0x200
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret 4
Function at 0x402778
Capabilities:
Get common file path
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x800
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
xor ebx, ebx
call edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
cmp ebx, 0x5c9f22f
jg 0x4027a8
inc ebx
cmp ebx, 0x1fa20be2
jl 0x40278e
cmp dword [0x479104], 0x400
jne 0x402809
push 0x46e454
push str.zudutalegexojefupo
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push esi
push esi
lea eax, [ebp - 0x400]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
push esi
push esi
call dword [sym.imp.USER32.dll_DdeCmpStringHandles]
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
push esi
call fcn.00402931
push esi
push esi
call fcn.0040296b
pop ecx
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00402aba
fstp st(0)
push esi
call fcn.00402b2b
add esp, 0xc
xor ebx, ebx
cmp ebx, 0xd0fe
jge 0x40281a
push esi
call dword [sym.imp.USER32.dll_GetCaretPos]
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebx, 0x58bc6e
jg 0x402833
inc ebx
cmp ebx, 0xe52f
jl 0x40280b
mov eax, dword [0x4710b4]
mov dword [0x479104], eax
call fcn.004024d7
mov edi, 0x3078f
cmp dword [0x479104], 0x51f
jne 0x402861
push esi
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec edi
jne 0x402847
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10

Function at 0x405c18
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x470328]
jne 0x405c22
repz ret
jmp fcn.004080fc
Function at 0x406703
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x470328]
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.00403ca3
and dword [ebp - 0x14], 0
cmp dword [0x472d10], 0
mov dword [ebp - 0x18], eax
jne 0x4067b6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40685e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40685e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x472d10], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x472d14], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x472d18], eax
call edi
push eax
call esi
mov dword [0x472d20], eax
test eax, eax
je 0x4067b6
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x472d1c], eax
mov eax, dword [0x472d1c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40680f
cmp dword [0x472d20], ecx
je 0x40680f
push eax
call esi
push dword [0x472d20]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40680f
test ebx, ebx
je 0x40680f
call edi
test eax, eax
je 0x406806
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x406806
test byte [ebp - 8], 1
jne 0x40680f
or dword [ebp + 0x10], 0x200000
jmp 0x406842
mov eax, dword [0x472d14]
cmp eax, dword [ebp - 0x18]
je 0x406842
push eax
call esi
test eax, eax
je 0x406842
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x406842
mov eax, dword [0x472d18]
cmp eax, dword [ebp - 0x18]
je 0x406842
push eax
call esi
test eax, eax
je 0x406842
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x472d10]
call esi
test eax, eax
je 0x40685e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x406860
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405c18
leave
ret
Function at 0x100085e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [0x100351ec], 0x10008580
mov eax, dword [0x10034e40]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x24], 0
je 0x10008610
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x24]
push eax
call fcn.100114e8
add esp, 4
push 0x34
call fcn.1000f203
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10008630
push str.out_of_memory.
call fcn.100114e8
add esp, 4
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
add edx, 0x14
push edx
mov eax, dword [ebp - 4]
add eax, 0x24
push eax
call fcn.100114e8
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x10], 0
jne 0x10008666
push str.lacks_overlay_support.
call fcn.100114e8
add esp, 4
xor eax, eax
mov al, byte [0x10030640]
push eax
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [0x10034cd0]
push eax
call fcn.100114e8
add esp, 0x10
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
jne 0x100086a1
push 0x1003096c
call fcn.100114e8
add esp, 4
mov eax, dword [ebp - 4]
add eax, 0x18
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x1c
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.100114e8
add esp, 0xc
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [0x10034cd0]
push eax
call fcn.100114e8
add esp, 8
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x70]
and ecx, 0x28030
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 8]
cmp dword [edx + 0x5c], 0
je 0x10008723
push 3
push 0
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x20], 1
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x68], 1
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [ecx + 0x24], edx
push 1
call fcn.100114e8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0
je 0x1000877f
push 0x404
call dword [sym.imp.OPENGL32.dll_glDrawBuffer]
push 0x404
call dword [sym.imp.OPENGL32.dll_glReadBuffer]
mov esp, ebp
pop ebp
ret

Function at 0x10008a30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x10034e40]
cmp dword [eax + 0x24], 0
jne 0x10008a4d
push str.glutHideOverlay:_window_has_no_overlay_established
call fcn.100114e8
add esp, 4
jmp 0x10008a72
push 0
mov ecx, dword [0x10034e40]
mov edx, dword [ecx + 0x24]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x10034e40]
mov edx, dword [ecx + 0x24]
mov dword [edx + 0x20], 0
pop ebp
ret
Function at 0x100114e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x100114f7
pop dword [ebp - 0x1c]
mov eax, 0x12ec2347
sub eax, 0x2eb0e50
sub dword [ebp - 0x1c], eax
push 0x40
push 0x1000
push 0x3defd
push 0
mov eax, 0x4d2ea0af
add eax, 0xc2d2e041
add eax, dword [ebp - 0x1c]
call dword [eax]
mov ecx, 0x57e7
xor esi, esi
add esi, eax
mov edx, 0x8d45f861
sub edx, 0x7d423861
add edx, dword [ebp - 0x1c]
mov ebx, 0xd2dbfd13
sub ebx, 0xc601b083
xor dword [ebp - 0x10], esi
mov edi, dword [edx]
xor dword [ebp - 0x10], esi
xor edi, ebx
sub dword [ebp - 8], 0xf26fc798
mov dword [esi], edi
sub dword [ebp - 8], 0x24c31205
add esi, 0x2bae8588
sub esi, 0x2bae8584
add edx, 0x583d6503
sub edx, 0x583d64ff
loop 0x10011552
add eax, 0x298bbb96
add eax, 0xd67596d9
xor ebx, ebx
add ebx, eax
add eax, 0x9601f548
sub eax, 0x9601f543
mov ecx, 0xfcbb203e
sub ecx, 0xecbb203e
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret