joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420294
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x7968af
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4202cf
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4202e8
lea eax, [ebp - 0x10]
mov edx, dword [0x7b3348]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x4202fb
lea eax, [ebp - 0x10]
mov edx, dword [0x7b3348]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x420307
adc edx, 0
mov edx, dword [edx*4 + 0x7b2178]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x420481
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x420474
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
cmp dword [eax], 0x4550
jne 0x420474
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x420412
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x420412
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420412
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420412
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x420474
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x420474
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x420474
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420474
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x420499
inc ebx
cmp ebx, 0x19
jne 0x4202c1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7968b6
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x401a40
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8

Function at 0x401000
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
jmp 0x403a1c
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405220], eax
mov dword [0x4051a8], 0x403098
mov dword [0x4051a4], 2
jmp 0x403a4c
mov dword [0x4051ac], 0
mov dword [0x4051b0], 0
mov dword [0x4051a0], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051b4], eax
mov dword [0x4051c8], 0x40426e
mov dword [0x4051c0], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051b8], eax
mov dword [0x4051cc], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051bc], eax
push 0x4051a0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.justam
push 0x40426e
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405218], eax
push 5
push dword [0x405218]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405218]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x403b1f
push 0
push 0
push 0
push 0x4051d0
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x403b4c
push 0x4051d0
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x4051d0
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x403b1f
mov eax, dword [0x4051d8]
jmp 0x403b59
call 0x402be1
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
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0xa0376b1
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x2ceb6ef1
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x1000c470
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x101383dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
cmp byte [edi + 8], 0
je 0x1000c4bc
mov eax, dword [edi]
cmp ebx, eax
jne 0x1000c4a7
cmp dword [edi + 4], esi
je 0x1000c4a7
mov dword [edi + 4], esi
jmp 0x1000c639
test eax, eax
je 0x1000c4bc
push eax
call fcn.100bf270
push dword [edi]
call fcn.100bf130
mov byte [edi + 8], 0
lea eax, [ebp - 0x210]
mov dword [edi], ebx
push eax
push 0x40
push 0xe
push ebx
mov dword [edi + 4], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1000c4ec
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100c2ed5
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi]
mov cl, byte [eax]
cmp cl, 0xe9
je 0x1000c4fe
cmp cl, 0xe8
jne 0x1000c620
mov esi, dword [eax + 1]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
add esi, eax
push 0x1c
lea eax, [ebp - 0x22c]
push eax
push esi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
je 0x1000c532
cmp dword [ebp - 0x21c], 0x1000
jne 0x1000c532
mov esi, dword [ebp - 0x228]
push 0x103
lea eax, [ebp - 0x108]
push eax
push esi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_K32GetMappedFileNameA]
test eax, eax
lea eax, [ebp - 0x108]
je 0x1000c55a
mov dword [ebp - 0x230], eax
jmp 0x1000c57d
push 0x103
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
lea ecx, [ebp - 0x108]
mov eax, str.unknown
cmove ecx, eax
mov dword [ebp - 0x230], ecx
mov esi, dword [edi]
call ebx
push 0x1c
lea ecx, [ebp - 0x22c]
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
je 0x1000c5a8
cmp dword [ebp - 0x21c], 0x1000
mov esi, dword [ebp - 0x228]
je 0x1000c5aa
mov esi, dword [edi]
push 0x103
lea eax, [ebp - 0x20c]
push eax
push esi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_K32GetMappedFileNameA]
test eax, eax
je 0x1000c5cc
lea esi, [ebp - 0x20c]
jmp 0x1000c5ef
push 0x103
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
lea esi, [ebp - 0x20c]
mov eax, str.unknown
cmove esi, eax
push 0x5c
push esi
call fcn.100c5660
add esp, 8
test eax, eax
je 0x1000c601
lea esi, [eax + 1]
mov ecx, dword [0x10188200]
test ecx, ecx
je 0x1000c620
push dword [ebp - 0x230]
mov eax, dword [ecx]
push esi
push str.WARNING:_Another_hook_is_already_present_while_trying_to_hook__s__hook_target_is__s._If_you_experience_crashes__try_disabling_the_other_hooking_application._n
push ecx
call dword [eax + 0x1c]
add esp, 0x10
mov ecx, dword [edi]
movq xmm0, qword [ecx]
movq qword [edi + 9], xmm0
mov eax, dword [ecx + 8]
mov dword [edi + 0x11], eax
mov ax, word [ecx + 0xc]
mov word [edi + 0x15], ax
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100c2ed5
mov esp, ebp
pop ebp
ret 8
Function at 0x100168c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x100168f2
jl 0x100168e5
test ecx, ecx
jne 0x100168f2
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x100169b2
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.10017d50
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x1001695e
jg 0x1001691d
test esi, esi
je 0x1001695e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x10016935
mov eax, dword [esp + 0x10]
jl 0x1001692f
cmp eax, esi
jae 0x10016935
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.100c58f0
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x1001697f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x1001699b
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x10016904
jl 0x1001699b
test ecx, ecx
jne 0x10016904
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x100169f6
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x100169f6
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.100c58f0
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x10016a67
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x10016a1c
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x10016a52
nop dword [eax + eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.100ce3e9
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x10016a67
cmp edi, eax
ja 0x10016a30
test edi, edi
je 0x10016a67
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.100ce3e9
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10018110
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100efcd0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x101383dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.100c30f1
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.100c237d
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001c0e0
Capabilities:
Create thread
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x101383dc]
xor eax, esp
mov dword [esp + 0x24], eax
cmp dword [ebp + 0xc], 1
push esi
mov esi, dword [ebp + 8]
push edi
jne 0x1001c2a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1001c2bf
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov dword [0x10186a08], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
mov dword [esp + 0x28], 0
lea eax, [esp + 0x24]
mov dword [0x10186a10], edi
push eax
push 0x1001bb80
mov dword [esp + 0x2c], edi
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [esp + 0x28]
test ecx, ecx
jne 0x1001c16a
push edi
push str.FindWindowById
push str._s:_handle_window_by_process_id__lu_not_found._n
call fcn.100a3ed0
mov ecx, dword [esp + 0x34]
add esp, 0xc
cmp dword [0x10186a08], 0
mov dword [0x10186a0c], ecx
je 0x1001c2bf
cmp dword [0x10186a10], 0
je 0x1001c2bf
test ecx, ecx
je 0x1001c2bf
call fcn.1001bbf0
test eax, eax
je 0x1001c2bf
mov ecx, dword [0x10186a24]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 9
jb 0x1001c2c8
cmp dword [0x10186a28], 0x10
mov eax, 0x10186a14
push 9
cmovae eax, dword [0x10186a14]
push str.debug.log
push ecx
push eax
push ecx
push dword [esp + 0x38]
lea ecx, [esp + 0x24]
call fcn.10018fb0
lea eax, [esp + 0xc]
mov ecx, 0x10186a2c
push eax
call fcn.1001c2e0
mov ecx, dword [esp + 0x20]
cmp ecx, 0x10
jb 0x1001c224
mov edx, dword [esp + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001c21a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001c2cd
push ecx
push edx
call fcn.100c3236
add esp, 8
push dword [0x10186a10]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0
push 0
push 0
push 0x1001c090
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xff
push 0x10183324
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, 0x10183324
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001c280
sub ecx, edx
lea eax, [ecx + 0x10183324]
cmp eax, 0x10183324
jb 0x1001c2a3
cmp byte [eax], 0x5c
je 0x1001c2a3
dec eax
cmp eax, 0x10183324
jae 0x1001c296
mov byte [eax + 1], 0
mov ecx, dword [esp + 0x2c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.100c2ed5
mov esp, ebp
pop ebp
ret 0xc
push 0
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]
call fcn.100030c0
call fcn.100cbff5
int3
Function at 0x1001f4c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x101da21c], 0
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
jne 0x1001f57a
xor ebx, ebx
nop dword [eax]
mov edx, ebx
mov eax, ebx
shr eax, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, eax
mov eax, edx
shr edx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, edx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [ebx*4 + 0x101da218], eax
inc ebx
cmp ebx, 0x100
jb 0x1001f4e0
mov ebx, dword [ebp + 8]
not ebx
mov eax, ebx
test edi, edi
jle 0x1001f5a6
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101da218]
sub edi, 1
jne 0x1001f585
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1001f5d8
nop dword [eax]
cmp cl, 0x23
jne 0x1001f5bf
cmp byte [esi], cl
jne 0x1001f5bf
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x101da218]
test cl, cl
jne 0x1001f5b0
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x1001fe10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
test ebx, ebx
je 0x1001fe22
mov dword [ebx], 0
mov edx, 0x10102914
call fcn.1001fc10
mov esi, eax
test esi, esi
jne 0x1001fe36
pop esi
pop ebx
pop ebp
ret
push edi
push 2
push 0
push esi
call fcn.100ce839
add esp, 0xc
test eax, eax
jne 0x1001feff
push esi
call fcn.100d4258
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x1001feff
push 0
push 0
push esi
call fcn.100ce839
add esp, 0xc
test eax, eax
jne 0x1001feff
mov eax, dword [0x10138e58]
inc dword [eax + 0x318]
mov ecx, dword [eax + 0xc0]
mov eax, dword [ebp + 0xc]
add eax, edi
push eax
call ecx
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x1001feff
push esi
push edi
push 1
push eax
call fcn.100ce3e9
add esp, 0x10
cmp eax, edi
je 0x1001fed0
push esi
call fcn.100cd7dc
mov eax, dword [0x10138e58]
mov ecx, dword [ebp + 8]
push ecx
dec dword [eax + 0x318]
mov eax, dword [eax + 0xc4]
call eax
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x1001fee8
push eax
mov eax, dword [ebp + 8]
add eax, edi
push 0
push eax
call fcn.100c5e70
add esp, 0xc
push esi
call fcn.100cd7dc
add esp, 4
test ebx, ebx
je 0x1001fef7
mov dword [ebx], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call fcn.100cd7dc
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x100472a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f05f6
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101383dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x30], 0
mov byte [ebp - 4], 2
mov eax, 0x3f
mov dword [esi + 4], 0x3f800000
mov word [esi + 0x3c], ax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0x3f800000
call fcn.10047400
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100496a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x101383dc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10188938], 0
push ebx
push esi
push edi
jne 0x100497f4
mov eax, dword [0x10138e58]
mov ebx, dword [eax + 0x84]
lea ecx, [eax + 0x84]
mov dword [ebp - 0x18], ecx
cmp dword [ebx + 0x10], 0
jne 0x10049749
cmp dword [ebx + 0xc], 0
jne 0x100496fa
cmp dword [ebx + 0x44], 0
jne 0x100496ee
push ecx
mov ecx, ebx
call fcn.100459c0
mov ecx, ebx
call fcn.10045fc0
mov eax, dword [0x10138e58]
mov esi, dword [ebx + 0xc]
test esi, esi
je 0x10049749
mov ecx, dword [ebx + 0x14]
imul ecx, dword [ebx + 0x18]
inc dword [eax + 0x318]
mov eax, dword [eax + 0xc0]
shl ecx, 2
push ecx
call eax
mov ecx, dword [ebx + 0x14]
add esp, 4
imul ecx, dword [ebx + 0x18]
mov edx, eax
mov dword [ebx + 0x10], edx
test ecx, ecx
jle 0x10049749
nop dword [eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
shl eax, 0x18
lea edx, [edx + 4]
or eax, 0xffffff
dec ecx
mov dword [edx - 4], eax
test ecx, ecx
jg 0x10049730
mov eax, dword [ebx + 0x14]
mov edi, dword [ebx + 0x10]
mov ebx, dword [ebx + 0x18]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
push eax
push 0x8069
call dword [sym.imp.OPENGL32.dll_glGetIntegerv]
push 0x10188938
push 1
call dword [sym.imp.OPENGL32.dll_glGenTextures]
push dword [0x10188938]
push 0xde1
call dword [sym.imp.OPENGL32.dll_glBindTexture]
mov esi, dword [sym.imp.OPENGL32.dll_glTexParameteri]
push 0x2601
push 0x2801
push 0xde1
call esi
push 0x2601
push 0x2800
push 0xde1
call esi
push 0
push 0xcf2
call dword [sym.imp.OPENGL32.dll_glPixelStorei]
push edi
push 0x1401
push 0x1908
push 0
push ebx
push dword [ebp - 0x1c]
push 0x1908
push 0
push 0xde1
call dword [sym.imp.OPENGL32.dll_glTexImage2D]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [0x10188938]
mov dword [ecx], eax
push dword [ebp - 0x14]
push 0xde1
call dword [sym.imp.OPENGL32.dll_glBindTexture]
movd xmm0, dword [0x10188494]
lea eax, [ebp - 0x10]
movd xmm1, dword [0x10188498]
mov edi, dword [0x10138e58]
cvtdq2ps xmm0, xmm0
push eax
mov dword [edi + 0x94], 0x3f800000
mov dword [edi + 0x98], 0x3f800000
cvtdq2ps xmm1, xmm1
movss dword [edi + 4], xmm0
movss dword [edi + 8], xmm1
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [0x10188930]
mov edx, dword [ebp - 0xc]
sbb edx, dword [0x10188934]
call fcn.100eb670
mov edx, dword [0x1018892c]
mov ecx, dword [0x10188928]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x18], xmm0
call fcn.100eb670
movss xmm1, dword [ebp - 0x18]
cvtsd2ss xmm0, xmm0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
divss xmm1, xmm0
movss dword [edi + 0xc], xmm1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [0x10188930], eax
mov dword [0x10188934], ecx
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [edi + 0xe9], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [edi + 0xea], al
call esi
shr eax, 0xf
and al, 1
mov byte [edi + 0xec], 0
mov byte [edi + 0xeb], al
call fcn.100211c0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100c2ed5
mov esp, ebp
pop ebp
ret
Function at 0x1004d350
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 8]
mov edi, ecx
and edi, 7
je 0x1004d37d
cmp ecx, edi
jge 0x1004d36d
mov ecx, esi
call fcn.1004cc50
mov eax, dword [esi + 0xc]
mov ecx, edi
shr eax, cl
sub dword [esi + 8], edi
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
xor eax, eax
mov edx, ecx
test ecx, ecx
jle 0x1004d3ad
mov ecx, dword [esi + 0xc]
push ebx
mov bl, cl
nop dword [eax + eax]
mov byte [ebp + eax - 4], bl
sub edx, 8
shr ecx, 8
inc eax
mov dword [esi + 0xc], ecx
mov bl, cl
test edx, edx
jg 0x1004d390
mov dword [esi + 8], edx
pop ebx
cmp eax, 4
jge 0x1004d3c9
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, edi
jb 0x1004d3ba
xor dl, dl
jmp 0x1004d3bf
mov dl, byte [ecx]
inc ecx
mov dword [esi], ecx
mov byte [ebp + eax - 4], dl
inc eax
cmp eax, 4
jl 0x1004d3b2
mov eax, dword [ebp - 4]
movzx ecx, byte [ebp - 1]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp - 2]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
jne 0x1004d42d
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
ja 0x1004d42d
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x1004d40f
mov edx, edi
mov ecx, esi
call fcn.1004cc90
test eax, eax
je 0x1004d437
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.100c58f0
add dword [esi], edi
add esp, 0xc
add dword [esi + 0x10], edi
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [0x1018d91c], str.Corrupt_PNG
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret