joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x4074e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4000]
push edi
or ebp, 0xffffffff
jmp 0x407502
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407509
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4074f8
mov eax, 1
add ebx, ebx
jne 0x40751b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407510
jne 0x40752c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407510
xor ecx, ecx
sub eax, 3
jb 0x407540
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4075b2
mov ebp, eax
add ebx, ebx
jne 0x40754b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407558
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40757c
inc ecx
add ebx, ebx
jne 0x407568
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40755d
jne 0x407579
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40755d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40759c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40758d
jmp 0x4074fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40759c
add edi, ecx
jmp 0x4074fe
pop esi
mov edi, esi
mov ecx, 0x1e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4075ba
cmp byte [edi], 1
jne 0x4075ba
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4075bf
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x40762e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x720c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x725c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4075ec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x7264]
or eax, eax
je 0x407628
mov dword [ebx], eax
add ebx, 4
jmp 0x407609
call dword [esi + 0x7260]
mov ebp, dword [esi + 0x7268]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x407662
sub esp, 0xffffff80
jmp 0x403331
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80d008]
jne 0x401010
repz ret
jmp fcn.0040181d

Function at 0x4077ae
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.0040458e
and dword [ebp - 4], 0
cmp dword [0x80f790], 0
mov ebx, eax
jne 0x40785f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407910
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407910
push eax
call fcn.0040451c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x80f790], eax
call esi
push eax
call fcn.0040451c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x80f794], eax
call esi
push eax
call fcn.0040451c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x80f798], eax
call esi
push eax
call fcn.0040451c
pop ecx
mov dword [0x80f7a0], eax
test eax, eax
je 0x40785f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040451c
pop ecx
mov dword [0x80f79c], eax
mov eax, dword [0x80f79c]
cmp eax, ebx
je 0x4078b7
cmp dword [0x80f7a0], ebx
je 0x4078b7
push eax
call fcn.00404597
push dword [0x80f7a0]
mov esi, eax
call fcn.00404597
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4078b7
test edi, edi
je 0x4078b7
call esi
test eax, eax
je 0x4078ae
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4078ae
test byte [ebp - 0xc], 1
jne 0x4078b7
or dword [ebp + 0x10], 0x200000
jmp 0x4078f0
mov eax, dword [0x80f794]
cmp eax, ebx
je 0x4078f0
push eax
call fcn.00404597
pop ecx
test eax, eax
je 0x4078f0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4078f0
mov eax, dword [0x80f798]
cmp eax, ebx
je 0x4078f0
push eax
call fcn.00404597
pop ecx
test eax, eax
je 0x4078f0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x80f790]
call fcn.00404597
pop ecx
test eax, eax
je 0x407910
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407912
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40a920
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x2ec81c4], 0x930
jne 0x40a93d
push 0x80b3b8
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
cmp dword [0x2ec81c4], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x2ec7ee0], eax
jne 0x40a963
call dword [sym.imp.KERNEL32.dll_SetFileApisToANSI]
lea ecx, [ebp - 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
mov esp, ebp
pop ebp
ret
Function at 0x4064ed
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406511
xor eax, eax
test eax, eax
je 0x406524
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406524
xor ecx, ecx
jmp 0x406527
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
leave
ret 4

Function at 0x40660a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dec], 0
push esi
jne 0x406641
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x40661b
mov dword [ecx*4 + 0x427de8], eax
inc ecx
cmp ecx, 0x100
jl 0x406616
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406672
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427de8]
xor eax, esi
inc ecx
dec edx
jne 0x406654
pop edi
not eax
pop esi
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401410
Capabilities:
Check for time delay via gettickcount
Execute anti-debugging instructions
Execute command

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
sub esp, 0x30
call sym.___main
rdtsc
nop
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
call sym._GetTickCount_0
mov dword [ebp - 0x14], eax
mov dword [esp], 0x64
call sym._Sleep_4
sub esp, 4
rdtsc
mov ecx, eax
mov ebx, edx
nop
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
sub ecx, eax
sbb ebx, edx
mov eax, ecx
mov edx, ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
call sym._GetTickCount_0
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], eax
mov dword [esp], str.time_is:_d_n
call sym._printf
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], str.tm2_time_is:_d_n
call sym._printf
mov edx, 0x2faf07f
mov eax, 0
cmp edx, dword [ebp - 0x20]
sbb eax, dword [ebp - 0x1c]
jge 0x4014b2
cmp dword [ebp - 0x24], 0x45
ja 0x4014cc
mov dword [esp], 0x406060
call sym._puts
mov dword [esp], str.pause
call sym._system
jmp 0x4014e4
mov dword [esp], 0x40606a
call sym._puts
mov dword [esp], str.pause
call sym._system
mov eax, 0
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret
Function at 0x401b80
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x408044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40803c]
sub esp, 4
test ebx, ebx
je 0x401bcb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401bc4
test esi, esi
je 0x401bc4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401ba0
mov dword [esp], 0x408044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401db0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
lea esi, [esp + 0x24]
lea ebx, [eax + 0x40]
mov dword [esp + 4], 1
mov dword [esp + 0xc], ebx
mov dword [esp], str.Mingw_runtime_failure:_n
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x401e00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, edx
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x3c
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x401ed4
mov eax, dword [esp + 0x28]
cmp eax, 0x40
je 0x401e3e
cmp eax, 4
jne 0x401e60
test esi, esi
je 0x401e52
xor eax, eax
movzx ecx, byte [edi + eax]
mov byte [ebx + eax], cl
add eax, 1
cmp eax, esi
jb 0x401e44
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x20]
lea ebp, [esp + 0x10]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov ecx, dword [esp + 0x28]
test esi, esi
je 0x401e9f
xor edx, edx
movzx eax, byte [edi + edx]
mov byte [ebx + edx], al
add edx, 1
cmp edx, esi
jb 0x401e91
cmp ecx, 0x40
je 0x401e52
cmp ecx, 4
je 0x401e52
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401db0
lea esi, [esi]

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10007a30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1010e768
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x10007b8c
cmp byte [edi + 0x3d], 0
je 0x10007b8c
mov eax, dword [edi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x10007a88
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0xf
mov byte [ebp - 0x2c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], ecx
cmp ecx, 0x10
movq qword [ebp - 0x2c], xmm0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], 8
cmovae eax, dword [ebp - 0x2c]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
nop
mov eax, dword [edi + 0x38]
lea ebx, [ebp - 0x2c]
cmp edx, 0x10
lea esi, [ebp - 0x2c]
cmovae ebx, ecx
cmovae esi, ecx
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp eax, vtable.std::codecvt_char__char__struct__Mbstatet_.0
jne 0x10007ae5
mov dword [ebp - 0x10], esi
xor eax, eax
jmp 0x10007b06
mov ecx, dword [edi + 0x38]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x1c]
add eax, ebx
push eax
push esi
lea eax, [edi + 0x40]
push eax
mov eax, dword [ebp - 0x14]
call dword [eax + 0x20]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x10]
sub eax, 0
je 0x10007b19
sub eax, 1
je 0x10007b1d
sub eax, 2
je 0x10007b6a
xor bl, bl
jmp 0x10007b6c
mov byte [edi + 0x3d], 0
cmp edx, 0x10
lea eax, [ebp - 0x2c]
cmovae eax, ecx
sub esi, eax
je 0x10007b4c
push dword [edi + 0x4c]
cmp edx, 0x10
lea eax, [ebp - 0x2c]
push esi
cmovae eax, ecx
push 1
push eax
call fcn.100f607a
mov edx, dword [ebp - 0x18]
add esp, 0x10
mov ecx, dword [ebp - 0x2c]
cmp esi, eax
jne 0x10007b15
cmp byte [edi + 0x3d], 0
je 0x10007b6a
test esi, esi
jne 0x10007ac0
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.1000d240
jmp 0x10007ab8
mov bl, 1
cmp edx, 0x10
jb 0x10007b79
push 1
inc edx
call fcn.1000d8e0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10008340
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1010e5e6
push eax
mov dword fs:[0], esp
push esi
push edi
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.100e9ea6
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.100e8dc4
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov ecx, dword [ebp - 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000c250
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010ea0a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.100e9013
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
jne 0x1000c2ff
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.100ec22d
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x1013a7b0
push eax
call fcn.100ec787
push eax
push esi
call fcn.100e8ec7
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x1000e300
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x400
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
xor edx, edx
nop
mov esi, edx
mov eax, edx
shr eax, 1
and esi, 1
neg esi
and esi, 0x1edc6f41
xor esi, eax
mov eax, esi
shr esi, 1
and eax, 1
neg eax
and eax, 0x1edc6f41
xor eax, esi
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0x1edc6f41
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0x1edc6f41
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0x1edc6f41
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0x1edc6f41
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0x1edc6f41
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0x1edc6f41
xor eax, ecx
mov dword [esp + edx*4 + 0xc], eax
inc edx
cmp edx, 0x100
jb 0x1000e310
or eax, 0xffffffff
xor esi, esi
test edi, edi
je 0x1000e3c5
movzx edx, byte [esi + ebx]
inc esi
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [esp + edx*4 + 0xc]
cmp esi, edi
jb 0x1000e3b0
pop edi
pop esi
not eax
pop ebx
add esp, 0x400
ret
Function at 0x1000e760
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
push edi
push 2
mov ebx, ecx
push 0
push ebx
call fcn.100f5dcc
add esp, 0xc
push ebx
call fcn.100f6d14
add esp, 4
mov esi, eax
push esi
call fcn.100ea11b
add esp, 4
mov edi, eax
push 0
push 0
push ebx
call fcn.100f5dcc
add esp, 0xc
push ebx
push esi
push 1
push edi
call fcn.100f6eeb
add esp, 0x10
mov edx, esi
mov ecx, edi
call fcn.1000e300
push edi
mov esi, eax
call fcn.100e9b5e
add esp, 4
mov ecx, esi
call fcn.1000e3e0
xor ecx, ecx
test al, al
pop edi
cmove ecx, esi
pop esi
mov eax, ecx
pop ebx
ret

Function at 0x1000f430
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push ebx
mov bl, cl
test bl, bl
je 0x1000f46e
lea eax, [esp + 4]
push eax
push 0x40
push 4
push 0x506aba
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 4]
mov dword [0x506aba], 0x546734
push eax
push dword [esp + 8]
push 4
push 0x506aba
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1000f475
or dword [0x1013cfbc], 1
push 0x64
mov edx, str.MouseSensitivity
mov ecx, str.Input
call fcn.1000dcb0
cmp eax, 0x64
je 0x1000f4aa
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mov byte [0x10174f80], 1
mulsd xmm0, qword [0x101327d0]
movsd qword [0x101553c8], xmm0
test bl, bl
jne 0x1000f542
push 0
mov edx, str.ReverseMouseButtons
mov ecx, str.Input
call fcn.1000dcb0
test eax, eax
mov edx, str.UseScrollWheel
push 1
mov ecx, str.Input
setne byte [0x1015539c]
call fcn.1000dcb0
test eax, eax
mov edx, str.ScrollMod
push 0
mov ecx, str.Input
setne byte [0x1013ca24]
call fcn.1000dcb0
push 0x30
mov edx, str.MiddleMouse
mov dword [0x10154e8c], eax
mov ecx, str.Input
call fcn.1000dcb0
push 0
mov edx, str.BackgroundKeyboard
mov dword [0x101553c0], eax
mov ecx, str.Input
call fcn.1000dcb0
test eax, eax
mov edx, str.BackgroundMouse
push 0
mov ecx, str.Input
setne byte [0x1015539d]
call fcn.1000dcb0
mov dword [0x1013ca20], eax
pop ebx
pop ecx
ret

Function at 0x1000f550
Capabilities:
Get keyboard layout

Disassembly:
push str.dinput.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp byte [0x10174f83], 0
je 0x1000f56b
mov dword [0x563450], eax
jmp 0x1000f570
mov dword [0x51e450], eax
test eax, eax
jne 0x1000f57a
or eax, 0xffffffff
ret 0x10
push 0x1011fbf0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000f574
push esi
push edi
push dword [esp + 0x18]
mov edi, dword [esp + 0x18]
push edi
push dword [esp + 0x18]
push dword [esp + 0x18]
call eax
mov esi, eax
test esi, esi
js 0x1000f5d6
push 0xc
call fcn.100e9ea6
mov ecx, dword [edi]
add esp, 4
mov dword [esp + 0x18], eax
mov dword [eax], 0x1011fc18
mov dword [eax + 4], ecx
mov dword [eax + 8], 1
push 0
mov dword [edi], eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [0x101553d4], eax
mov eax, esi
pop edi
pop esi
ret 0x10
Function at 0x10010fb0
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
sub esp, 0x208
lea eax, [esp + 0x104]
mov edx, str.WrapperDLL
mov ecx, 0x1011f8fc
push esi
push edi
push 0x104
push eax
push 0x1011f824
call fcn.1000dde0
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x10011033
push 4
mov edx, str.Mode
mov ecx, str.Graphics
call fcn.1000dcb0
cmp eax, 3
ja 0x10011033
mov ecx, 2
call fcn.1007b380
cmp eax, 1
je 0x1001100c
test eax, eax
jne 0x10011033
push 0x104
lea eax, [esp + 0x110]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.100f739d
add esp, 0xc
lea eax, [esp + 8]
push eax
call esi
mov edi, eax
test edi, edi
jne 0x10011077
push 0xf9
lea eax, [esp + 0xc]
mov byte [0x1013ca25], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
movq xmm0, qword [0x10120564]
lea ecx, [esp + 8]
add ecx, eax
mov ax, word [0x1012056c]
movq qword [ecx], xmm0
mov word [ecx + 8], ax
mov al, byte [0x1012056e]
mov byte [ecx + 0xa], al
lea eax, [esp + 8]
push eax
call esi
mov edi, eax
mov dword [0x10142bbc], edi
test edi, edi
je 0x100111b6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10120570
push edi
call esi
push 0x10120584
push edi
mov dword [0x10142bcc], eax
call esi
push 0x10120594
push edi
mov dword [0x10142bd4], eax
call esi
push 0x101205b0
push edi
mov dword [0x10142bd8], eax
call esi
push 0x101205c8
push edi
mov dword [0x10142bdc], eax
call esi
push 0x101205e0
push edi
mov dword [0x10142be0], eax
call esi
push 0x101205f0
push edi
mov dword [0x10142be4], eax
call esi
push 0x10120604
push edi
mov dword [0x10142be8], eax
call esi
push 0x10120610
push edi
mov dword [0x10142bec], eax
call esi
push 0x10120628
push edi
mov dword [0x10142bf0], eax
call esi
push 0x1012063c
push edi
mov dword [0x10142bc4], eax
call esi
push 0x10120650
push edi
mov dword [0x10142bc8], eax
call esi
push 0x10120668
push edi
mov dword [0x10142bf4], eax
call esi
push 0x10120680
push edi
mov dword [0x10142bc0], eax
call esi
push 0x10120698
push edi
mov dword [0x10142bf8], eax
call esi
push 0x101206b0
push edi
mov dword [0x10142bfc], eax
call esi
push 0x101206c0
push edi
mov dword [0x10142c00], eax
call esi
push 0x101206d4
push edi
mov dword [0x10142c04], eax
call esi
push 0x101206e8
push edi
mov dword [0x10142c08], eax
call esi
push 0x101206f8
push edi
mov dword [0x10142c0c], eax
call esi
mov dword [0x10142c10], eax
push 0x1012070c
push edi
call esi
push 0x10120720
push edi
mov dword [0x10142c14], eax
call esi
push 0x10120734
push edi
mov dword [0x10142bd0], eax
call esi
mov dword [0x10142c18], eax
pop edi
pop esi
add esp, 0x208
ret