joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6e047f54
Capabilities:
Print debug messages

Disassembly:
push 0x24
mov eax, 0x6e04e1e0
call fcn.6e04936c
cmp byte [0x6e07047b], 0
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], esi
jne 0x6e047f81
cmp byte [0x6e07047a], 0
je 0x6e047fd0
call fcn.6e03baad
test al, al
mov edx, 0x6e051790
mov ecx, str._in_AppContaner
cmove ecx, edx
push ecx
push str.ASM_Retrieve_retrieving_shared_memory_in_Plug_in_s
push 0x6e071858
call fcn.6e03baad
add esp, 0xc
cmp byte [0x6e07047a], 0
je 0x6e047fbc
push 0x6e071858
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e047fd0
push 0x6e071858
call fcn.6e003fc0
pop ecx
and dword [esi], 0
lea eax, [edi + 4]
and dword [ebx], 0
lea ecx, [ebp - 0x28]
push eax
call fcn.6e03baad
push dword [edi + 0x48]
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.6e03d080
or dword [ebp - 4], 0xffffffff
mov ebx, eax
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
call fcn.6e0108ff
test ebx, ebx
jne 0x6e04804e
cmp byte [0x6e07047b], bl
jne 0x6e04801a
cmp byte [0x6e07047a], bl
je 0x6e0480c2
push str.ASM_Retrieve_ERROR__finding_memory_mapped_file_
mov ebx, 0x6e071858
push ebx
call fcn.6e03baad
cmp byte [0x6e07047a], 0
pop ecx
pop ecx
je 0x6e04803c
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e0480c2
push ebx
call fcn.6e003fc0
pop ecx
jmp 0x6e0480c2
mov eax, dword [ebx]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x6e050848]
mov ecx, ebx
call esi
mov dword [edi + 0x44], eax
test eax, eax
jne 0x6e04807d
cmp byte [0x6e07047b], al
jne 0x6e048076
cmp byte [0x6e07047a], al
je 0x6e0480c2
push str.ASM_Retrieve_ERROR__getting_memory_mapped_file_handle_
jmp 0x6e04801f
mov eax, dword [ebx]
push dword [edi + 0x48]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x6e050848]
mov ecx, ebx
call esi
mov dword [edi + 0x4c], eax
test eax, eax
jne 0x6e0480b2
cmp byte [0x6e07047b], al
jne 0x6e0480a8
cmp byte [0x6e07047a], al
je 0x6e0480c2
push str.ASM_Retrieve_ERROR__mapping_for_writing_
jmp 0x6e04801f
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edi + 0x48]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x30]
mov eax, dword [edi + 0x4c]
mov dword [ecx], eax
call fcn.6e049316
ret

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 0x1000a6a4
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x10011dac], 0
push esi
push edi
jne 0x1000a61a
call fcn.1000a586
test eax, eax
je 0x1000a65f
mov eax, dword [0x10011dac]
cmp eax, 1
jne 0x1000a63b
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x1000a65f
jmp 0x1000a6a1
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x1000a6a1
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x1000a663
xor eax, eax
jmp 0x1000a6a1
mov eax, dword [esi]
push dword [0x10011dac]
call edi
mov edi, eax
test edi, edi
je 0x1000a685
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x1000a6a1
lea edi, [esi + 0xff0]
push esi
push dword [0x10011dac]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x1000a68b
mov eax, esi
pop edi
pop esi
ret
jmp 0x1000a606

Function at 0x1000a812
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10011c4c]
jne 0x1000a81c
repz ret
jmp fcn.1000b021

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 0x100019a0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x100019b5
xor eax, eax
jmp 0x10001a2a
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, 0x10000
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x100019e2
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x38d
jae 0x10001a25
mov edx, dword [ebp - 4]
imul edx, edx, 0x48
mov eax, dword [ebp - 8]
cmp dword [eax + edx + 0x40], 0
je 0x10001a23
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 0xc]
jb 0x10001a1f
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 0x10]
jb 0x10001a23
xor eax, eax
jmp 0x10001a2a
jmp 0x100019d9
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x10001bf0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1004e160]
mov dword [ebp - 4], eax
jmp 0x10001c09
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10001c26
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x10001c00
mov esp, ebp
pop ebp
ret
Function at 0x10002070
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1004e170], eax
je 0x10002095
mov eax, 0x10dd
jmp 0x1000222d
cmp dword [0x1004e174], 0
je 0x100020a8
mov eax, dword [0x1004e174]
jmp 0x1000222d
cmp dword [ebp + 8], 0
jne 0x100020b8
mov eax, 6
jmp 0x1000222d
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x100020e1
mov dword [ebp - 8], 6
mov ecx, dword [ebp - 8]
mov dword [0x1004e174], ecx
mov edx, dword [ebp + 8]
mov dword [0x1004e178], edx
mov eax, dword [ebp - 8]
jmp 0x1000222d
push 0x18
call fcn.10042a53
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000213a
mov dword [ebp - 8], 8
mov ecx, dword [ebp - 8]
mov dword [0x1004e174], ecx
cmp dword [ebp - 4], 0
je 0x10002129
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.10042f32
add esp, 4
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [0x1004e178], ecx
mov eax, dword [ebp - 8]
jmp 0x1000222d
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.10002050
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10002050
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x36]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0xc], 0
je 0x1000217a
cmp dword [ebp - 0xc], 0x1e
jbe 0x10002196
mov dword [ebp - 8], 9
cmp dword [0x1004e168], 0
je 0x10002191
jmp 0x1000210a
jmp 0x10002101
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x100021bd
mov dword [ebp - 8], 9
cmp dword [0x1004e168], 0
je 0x100021b8
jmp 0x1000210a
jmp 0x10002101
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100021ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x10002101
mov edx, dword [ebp - 4]
mov dword [edx + 4], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 4]
mov eax, dword [0x1004e180]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x1004e180], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x10002240
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1004e170], eax
je 0x1000225e
mov eax, 0x10dd
jmp 0x1000233f
mov eax, dword [0x1004e180]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100022dc
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x100022ba
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x100022ba
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.10001710
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.10042f32
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x10002266
mov dword [0x1004e180], 0
call fcn.10001a30
mov ecx, dword [0x1004e17c]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x10002329
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.10042f32
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x100022f4
mov dword [0x1004e17c], 0
mov dword [0x1004e170], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10002830
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x1004e174], 0
je 0x10002849
mov eax, dword [0x1004e174]
jmp 0x100028e9
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x1000285b
xor eax, eax
jmp 0x100028e9
push 8
call fcn.10042a53
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100028b1
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x1000289a
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.10042f32
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x1004e174], eax
mov dword [0x1004e178], 0
mov eax, dword [ebp - 8]
jmp 0x100028e9
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x100028cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x1000287b
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x1004e17c]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x1004e17c], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x10002fe0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0x678
jne 0x10003001
mov edx, dword [ebp - 4]
mov eax, dword [edx]
cmp eax, dword [ebp + 0xc]
jbe 0x10003013
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1000315b
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x18]
push ecx
push 0x40
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10003158
lea eax, [ebp - 0x10]
push eax
push 0x40
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1000313c
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
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 sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 4]
add eax, 0x5c
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
push edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
je 0x10003119
lea ecx, [ebp - 0xc]
push ecx
push 0x40
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10003117
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 4]
add edx, 0x664
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 8], 1
jmp 0x10003120
mov dword [ebp - 8], 1
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x10003e60
Capabilities:
Create thread
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x2d
call esi
test al, 1
je 0x10003e81
mov ecx, dword [0x1004e50c]
cmp byte [ecx], 0
mov byte [ecx + 1], 0
sete al
mov byte [ecx], al
push 0x23
call esi
test al, 1
je 0x10003ebb
call fcn.10042810
cmp dword [eax], 0
je 0x10003ea6
call fcn.10042810
push str.unload_called.
push 0xffffffffffffffff
mov ecx, dword [eax]
call fcn.100427f0
push 0
push 0
push 0
push 0x10004020
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.10004130
cmp byte [0x1004e094], 0
je 0x10003f01
call fcn.100428a0
mov eax, dword [eax]
mov eax, dword [eax + 0x3d5]
mov byte [eax + 0x38], 1
call fcn.100428a0
mov eax, dword [eax]
mov eax, dword [eax + 0x3d5]
mov byte [eax + 0x2f], 0
call fcn.100428a0
mov eax, dword [eax]
mov eax, dword [eax + 0x3d5]
mov dword [eax + 0x27], 0x4479c000
jmp 0x10003f37
call fcn.100428a0
mov eax, dword [eax]
mov eax, dword [eax + 0x3d5]
mov byte [eax + 0x38], 1
call fcn.100428a0
mov eax, dword [eax]
mov eax, dword [eax + 0x3d5]
mov byte [eax + 0x2f], 1
call fcn.100428a0
mov eax, dword [eax]
mov eax, dword [eax + 0x3d5]
mov dword [eax + 0x27], 0x41f00000
cmp byte [0x1004e095], 0
je 0x10003f56
call fcn.10042970
push 0
mov ecx, dword [eax]
movzx eax, byte [0x1004e098]
push eax
call fcn.100429a0
cmp byte [0x1004e09c], 0
je 0x10003f73
call fcn.10042970
mov ecx, dword [eax]
movzx eax, byte [0x1004e0a0]
push eax
call fcn.100429c0
cmp byte [0x1004e0a4], 0
je 0x10003fab
mov ecx, dword [0x1004e510]
push 5
push 0x71d76c
call fcn.100413c0
sub esp, 8
mov edx, 0x100464d8
mov ecx, 0x71d76c
push 5
call fcn.10040eb0
mov byte [0x1004e527], 1
jmp 0x10003fcf
cmp byte [0x1004e527], 0
je 0x10003fd2
sub esp, 8
mov edx, 0x100464e0
mov ecx, 0x71d76c
push 5
call fcn.10040eb0
mov byte [0x1004e527], 0
add esp, 0xc
mov esi, dword [0x1004e50c]
cmp byte [esi], 0
je 0x10003fef
call fcn.10042970
push 0
push 3
mov ecx, dword [eax]
call fcn.10042980
pop esi
ret
cmp byte [esi + 1], 0
jne 0x10004015
call fcn.10042970
push 1
push 0
mov ecx, dword [eax]
call fcn.10042980
call fcn.10042970
mov ecx, dword [eax]
call fcn.10042950
mov byte [esi + 1], 1
pop esi
ret
Function at 0x10004a50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10043b40
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1004e040]
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 + 4], 0
lea edi, [esi + 0x38]
mov dword [esi + 8], 0
lea eax, [edi + 0x10]
mov dword [esi + 0xc], 0
xorps xmm0, xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
movups xmmword [esi], xmm0
mov dword [ebp - 0x10], edi
movups xmmword [esi + 0x10], xmm0
movq qword [esi + 0x20], xmm0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov byte [edi], 0
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10004b4a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x10]
call fcn.1001e680
lea eax, [edi + 0x10]
mov dword [eax], 0
xorps xmm0, xmm0
mov dword [edi + 0x2c], 0
mov eax, esi
mov dword [edi + 0x30], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x34], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x80], 0
movups xmmword [esi + 0x70], xmm0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0x2c], 0xffffffff
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100073a0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x10007401
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x100073e4
cmp edi, 2
jb 0x100073e4
cmp byte [esi], cl
jne 0x100073e4
cmp byte [esi + 1], cl
jne 0x100073e4
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10047610]
jmp 0x100073b5
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10047610]
test edi, edi
jne 0x100073b5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10007430
cmp cl, 0x23
jne 0x10007417
cmp byte [esi], cl
jne 0x10007417
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 + 0x10047610]
test cl, cl
jne 0x10007408
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x100074e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x100074f3
mov dword [ebx], 0
mov edx, 0x10047204
call fcn.10007440
mov esi, eax
test esi, esi
je 0x10007612
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x10007608
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10007608
push esi
call edi
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x10007608
push 0
push dword [ebp + 8]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10007608
mov ecx, edi
call fcn.1000b280
mov dword [ebp + 8], eax
test eax, eax
je 0x10007608
push esi
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, edi
je 0x100075f1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ecx, dword [0x1004e504]
add esp, 4
test ecx, ecx
je 0x100075de
movsx edx, word [ecx + 0x5e6c]
lea eax, [ecx + 0x5e70]
mov esi, dword [ecx + 0x3f08]
lea eax, [eax + edx*8]
cmp dword [eax], esi
je 0x100075d4
lea eax, [edx + 1]
mov edi, 6
cdq
idiv edi
movzx eax, dx
mov word [ecx + 0x5e6c], ax
cwde
add eax, 0xbce
xor edx, edx
lea eax, [ecx + eax*8]
mov dword [eax], esi
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5e68]
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x10007600
mov dword [ebx], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x1000acc0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1004e040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov esi, 4
mov eax, dword [edi + 0xec]
mov ebx, dword [edi + 0xf4]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10047610]
sub esi, 1
jne 0x1000ad00
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x3fc0], ebx
jne 0x1000ad37
push ecx
push dword [ebp - 0xc]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.1001dcc0
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10042a37
mov esp, ebp
pop ebp
ret 4
Function at 0x1000ce80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [0x1004e504]
mov ebx, edx
push edi
mov edi, ecx
mov dword [ebp - 0xc], edi
mov eax, dword [esi + 0x4a00]
mov edx, dword [eax]
inc dword [esi + 0xa4]
mov ecx, dword [edi + 0x26c]
mov dword [ebp - 4], edx
cmp dword [ecx + 0x7c], 1
jle 0x1000cebf
push ecx
add ecx, 0x78
call fcn.1002a2f0
mov edx, dword [ebp - 4]
mov edi, dword [edi + 0x26c]
mov esi, dword [edx + ebx*4 + 0x70]
mov eax, dword [edi]
test eax, eax
je 0x1000cf32
cmp eax, 1
jne 0x1000cee3
mov eax, dword [edi + 8]
cmp dword [eax + 0x1c], 0
jne 0x1000cee3
cmp dword [eax + 0x20], 0
je 0x1000cf32
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, ecx
jne 0x1000cf19
lea edx, [eax + 1]
mov dword [ebp - 8], edx
test ecx, ecx
je 0x1000cf04
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 8]
sar eax, 1
add eax, ecx
jmp 0x1000cf09
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.1001e680
mov edx, dword [ebp - 4]
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov dword [eax + ecx*4], edi
inc dword [esi]
inc dword [edx + 0x3c]
mov eax, dword [edi + 0x18]
add dword [edx + 0x44], eax
mov eax, dword [edi + 0xc]
add dword [edx + 0x40], eax
mov eax, dword [ebp - 0xc]
mov esi, dword [eax + 0x190]
mov eax, dword [eax + 0x188]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x1000cf72
nop dword [eax + eax]
mov ecx, dword [esi]
cmp byte [ecx + 0xae], 0
je 0x1000cf6b
cmp byte [ecx + 0xb5], 0
jne 0x1000cf6b
mov edx, ebx
call fcn.1000ce80
add esi, 4
cmp esi, edi
jne 0x1000cf50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret