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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov edx, dword [ebp + 8]
push ebx
lea ebx, [edx + eax - 0x21524111]
push esi
mov eax, ebx
push edi
mov esi, ebx
mov dword [ebp - 4], eax
cmp edx, 0xc
jbe switch.0x0040d5a5
lea eax, [edx - 0xd]
push 0xc
xor edx, edx
pop edi
div edi
inc eax
mov dword [ebp - 8], eax
movzx eax, byte [ecx + 7]
movzx edx, byte [ecx + 6]
movzx edi, byte [ecx + 4]
shl eax, 8
add eax, edx
movzx edx, byte [ecx + 5]
add edi, esi
shl eax, 8
add eax, edx
movzx edx, byte [ecx + 0xa]
shl eax, 8
add edi, eax
movzx eax, byte [ecx + 0xb]
movzx esi, byte [ecx + 3]
shl eax, 8
add eax, edx
movzx edx, byte [ecx + 9]
shl eax, 8
add eax, edx
movzx edx, byte [ecx + 8]
add edx, ebx
movzx ebx, byte [ecx + 2]
shl esi, 8
add esi, ebx
movzx ebx, byte [ecx + 1]
shl esi, 8
add esi, ebx
movzx ebx, byte [ecx]
shl esi, 8
add esi, ebx
shl eax, 8
add eax, edx
sub esi, eax
add esi, dword [ebp - 4]
mov edx, eax
rol edx, 4
xor edx, esi
add eax, edi
sub edi, edx
mov esi, edx
rol esi, 6
xor esi, edi
add edx, eax
sub eax, esi
mov edi, esi
add esi, edx
rol edi, 8
xor edi, eax
sub edx, edi
mov eax, edi
rol eax, 0x10
xor eax, edx
add edi, esi
sub esi, eax
mov edx, eax
ror edx, 0xd
xor esi, edx
mov edx, dword [ebp + 8]
add eax, edi
mov ebx, esi
sub edi, esi
rol ebx, 4
sub edx, 0xc
xor ebx, edi
add esi, eax
add ecx, 0xc
dec dword [ebp - 8]
mov dword [ebp - 4], eax
mov dword [ebp + 8], edx
jne 0x40d4e3
cmp edx, 0xc
ja 0x40d60e
jmp dword [edx*4 + 0x40d65f]
movzx edx, byte [ecx + 0xb]
shl edx, 0x18
add ebx, edx
movzx edx, byte [ecx + 0xa]
shl edx, 0x10
add ebx, edx
movzx edx, byte [ecx + 9]
shl edx, 8
add ebx, edx
movzx edx, byte [ecx + 8]
add ebx, edx
movzx edx, byte [ecx + 7]
shl edx, 0x18
add esi, edx
movzx edx, byte [ecx + 6]
shl edx, 0x10
add esi, edx
movzx edx, byte [ecx + 5]
shl edx, 8
add esi, edx
movzx edx, byte [ecx + 4]
add esi, edx
movzx edx, byte [ecx + 3]
shl edx, 0x18
add eax, edx
movzx edx, byte [ecx + 2]
shl edx, 0x10
add eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
add eax, edx
movzx ecx, byte [ecx]
add eax, ecx
xor ebx, esi
mov ecx, esi
rol ecx, 0xe
sub ebx, ecx
mov edx, ebx
rol edx, 0xb
mov ecx, ebx
xor ecx, eax
sub ecx, edx
xor esi, ecx
mov eax, ecx
ror eax, 7
sub esi, eax
xor ebx, esi
mov eax, esi
rol eax, 0x10
sub ebx, eax
mov eax, ebx
mov edi, eax
mov edx, eax
xor edx, ecx
rol edi, 4
sub edx, edi
mov ecx, edx
rol ecx, 0xe
xor esi, edx
sub esi, ecx
mov ecx, esi
ror ecx, 8
xor eax, esi
sub eax, ecx
pop edi
pop esi
pop ebx
leave
ret
mov eax, ebx
jmp 0x40d653

Function at 0x40de4a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41f060]
jne 0x40de54
repz ret
jmp fcn.0040fb8e
Function at 0x416e9c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41f060]
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.00411602
and dword [ebp - 0x14], 0
cmp dword [0x423358], 0
mov dword [ebp - 0x18], eax
jne 0x416f4f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x416ff7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x416ff7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x423358], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42335c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x423360], eax
call edi
push eax
call esi
mov dword [0x423368], eax
test eax, eax
je 0x416f4f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x423364], eax
mov eax, dword [0x423364]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x416fa8
cmp dword [0x423368], ecx
je 0x416fa8
push eax
call esi
push dword [0x423368]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x416fa8
test ebx, ebx
je 0x416fa8
call edi
test eax, eax
je 0x416f9f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x416f9f
test byte [ebp - 8], 1
jne 0x416fa8
or dword [ebp + 0x10], 0x200000
jmp 0x416fdb
mov eax, dword [0x42335c]
cmp eax, dword [ebp - 0x18]
je 0x416fdb
push eax
call esi
test eax, eax
je 0x416fdb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x416fdb
mov eax, dword [0x423360]
cmp eax, dword [ebp - 0x18]
je 0x416fdb
push eax
call esi
test eax, eax
je 0x416fdb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x423358]
call esi
test eax, eax
je 0x416ff7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x416ff9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040de4a
leave
ret
Function at 0x40129f
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
and dword [ebp - 0x10], 0
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x10]
push edi
mov dword [ebp - 0x38], esi
mov eax, dword [esi + 4]
mov edi, dword [esi]
mov dword [ebp - 0x20], eax
mov eax, dword [0x41b5c0]
mov dword [ebp - 0x30], eax
mov eax, dword [0x41b5c4]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x34], eax
call fcn.00401298
mov ebx, dword [ebp - 0x10]
mov eax, dword [0x41b5c8]
add ebx, 0x23f
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [0x41b5cc]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], 0x20
mov dword [ebp - 0x1c], 2
add dword [ebp - 0x1c], 3
mov ecx, dword [0xb1dd64]
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x40132c
push 0x418300
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov eax, dword [ebp - 4]
mov ecx, dword [0xb1dd64]
add eax, dword [ebp - 0x28]
mov edx, 0xedeb2e40
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
mov eax, dword [0xb1dd60]
cmove eax, edx
xor edx, edx
mov dword [0xb1dd60], eax
cmp ecx, 0x3eb
mov eax, dword [0xb1dcb8]
cmove eax, edx
mov dword [0xb1dcb8], eax
lea eax, [ebx + edi]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
shr eax, 5
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
and dword [ebp - 0x14], edx
mov dword [0xb1dd5c], 0xf4ea3dee
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 0x18]
sub esi, eax
mov dword [ebp - 0xc], eax
mov eax, esi
mov dword [ebp - 0x18], esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
and dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
add dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
nop
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1c]
mov edx, esi
mov eax, dword [ebp - 4]
add ebx, 0x61c88647
shr edx, cl
add edx, dword [ebp - 0x34]
mov dword [ebp - 0xc], edx
xor edx, dword [ebp - 0x20]
xor eax, edx
mov dword [ebp - 0x10], ebx
sub edi, eax
mov dword [ebp - 4], eax
dec dword [ebp - 0x24]
mov dword [ebp - 0x18], edi
jne 0x4012fa
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x20]
mov dword [esi], edi
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d328
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a35c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00405145
mov dword [ebp - 0x14], eax
cmp dword [0x479518], esi
jne 0x40d41b
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d3a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d4fb
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d4fb
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d4fb
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x479518], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x47951c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x479520], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x479528], eax
test eax, eax
je 0x40d418
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x479524], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d440
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d433
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d455
push 4
pop eax
jmp 0x40d4fd
cmp dword [ebp - 0x14], esi
je 0x40d455
push dword [0x479518]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d43a
mov eax, dword [0x479524]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d4b3
cmp dword [0x479528], edi
je 0x40d4b3
push eax
call ebx
push dword [0x479528]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d4b3
test eax, eax
je 0x40d4b3
call ecx
test eax, eax
je 0x40d4a8
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d4a8
test byte [ebp - 8], 1
jne 0x40d4b3
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d4e3
mov eax, dword [0x47951c]
cmp eax, edi
je 0x40d4e0
push eax
call ebx
test eax, eax
je 0x40d4e0
call eax
mov esi, eax
test esi, esi
je 0x40d4e0
mov eax, dword [0x479520]
cmp eax, edi
je 0x40d4e0
push eax
call ebx
test eax, eax
je 0x40d4e0
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x479518]
call ebx
test eax, eax
je 0x40d4fb
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d4fd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404457
mov esp, ebp
pop ebp
ret
Function at 0x10002170
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
lea eax, [ecx + 0x2e0d0]
mov dword [0x100dbde8], ecx
push edi
mov dword [0x100dbdec], eax
lea esi, [ecx + 0x2e5a6]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov eax, 0x10001c90
sub eax, esi
push 5
sub eax, 5
push esi
mov dword [esi + 1], eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
push eax
call ebx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [0x100dbde8]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
add esi, 0x1509e
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 0x10001d80
sub eax, esi
push 5
sub eax, 5
push esi
mov dword [esi + 1], eax
call edi
push eax
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push esi
call edi
mov esi, dword [0x100dbde8]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
add esi, 0x159cc
push esi
call edi
mov edi, 0x10001d60
mov eax, edi
sub eax, esi
push 5
sub eax, 5
push esi
mov dword [esi + 1], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [0x100dbde8]
lea eax, [ebp - 4]
add esi, 0x159d4
push eax
push 0x40
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub edi, esi
sub edi, 5
push 5
mov dword [esi + 1], edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push esi
call edi
push eax
call ebx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [0x100dbde8]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
add esi, 0xd82b
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 0x10002160
mov byte [esi], 0xe9
sub eax, esi
push 5
sub eax, 5
push esi
mov dword [esi + 1], eax
call edi
push eax
call ebx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [0x100dbde8]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
add esi, 0x32fe8
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 0x10001ef0
mov byte [esi], 0xe9
sub eax, esi
push 5
sub eax, 5
push esi
mov dword [esi + 1], eax
call edi
push eax
call ebx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002e70
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x100da0b4]
xor eax, ebp
mov dword [ebp - 4], eax
sub dword [ebp + 0xc], 1
jne 0x10002fe9
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call fcn.10031e50
cmp byte [0x100dbe22], 0
jne 0x10002ec1
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003433f
mov esp, ebp
pop ebp
ret 0xc
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
test edi, edi
je 0x10002f14
push esi
mov esi, dword [edi + 0x3c]
lea eax, [ebp - 0x110]
push eax
push 0x40
push dword [esi + edi + 0x50]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [esi + edi + 0x28]
add ecx, edi
pop esi
mov eax, dword [ecx]
mov dword [0x100dc914], eax
mov al, byte [ecx + 4]
mov byte [0x100dc918], al
mov eax, 0x10002e20
sub eax, ecx
mov byte [ecx], 0xe9
sub eax, 5
mov dword [ecx + 1], eax
mov dword [0x100dc910], ecx
push 0
call fcn.1008d305
push eax
call fcn.1008d274
add esp, 8
call fcn.10034140
pop edi
test al, al
je 0x10002f8c
mov ecx, 0x100cca64
mov eax, 0x566c18
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10002f58
test dl, dl
je 0x10002f54
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10002f58
add eax, 2
add ecx, 2
test dl, dl
jne 0x10002f38
xor eax, eax
jmp 0x10002f5d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10002f8c
mov dword [0x100dbe1c], eax
call fcn.10003680
test al, al
jne 0x10002fe9
push 0x40
push str.CoDExtended
push str.Hooking_failed
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0x435d80
call eax
jmp 0x10002fe9
call fcn.10034140
test al, al
je 0x10002fd5
mov ecx, 0x100cca68
mov eax, 0x555494
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10002fc0
test dl, dl
je 0x10002fbc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10002fc0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10002fa0
xor eax, eax
jmp 0x10002fc5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10002fd5
mov dword [0x100dbe1c], 1
jmp 0x10002fe9
push 0x40
push str.CoDExtended
push str.CoD_version_verification_failed
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.1003433f
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10003370
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push esi
push edi
push eax
push 0x40
push 5
push 0x41892b
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov eax, 0x10003350
push 5
sub eax, 0x418930
push 0x41892b
mov dword [0x41892c], eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
push eax
call esi
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x41892b
call ebx
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x41011c
call ebx
mov eax, 0x100024b0
push 5
sub eax, 0x410121
push 0x41011c
mov dword [0x41011d], eax
call edi
push eax
call esi
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x41011c
call ebx
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x40f6da
call ebx
mov eax, 0x40f6da
push 5
push eax
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
call edi
push eax
call esi
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x40f6da
call ebx
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x4117b6
call ebx
mov eax, 0x4117b6
push 5
push eax
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
call edi
push eax
call esi
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x4117b6
call ebx
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x411815
call ebx
mov eax, 0x411815
push 1
push eax
mov byte [eax], 0x90
call edi
push eax
call esi
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 1
push 0x411815
call ebx
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x42d122
call ebx
mov eax, 0x42d122
push 5
push eax
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
call edi
push eax
call esi
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x42d122
call ebx
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x40bc18
call ebx
mov eax, 0x40bc18
push 5
push eax
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
call edi
push eax
call esi
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x40bc18
call ebx
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x43ba04
call ebx
mov eax, 0x43ba04
push 5
push eax
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
call edi
push eax
call esi
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x43ba04
call ebx
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10003660
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
mov eax, dword [ecx + 0x3c]
push 0x40
push dword [eax + ecx + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret
Function at 0x10006710
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 0x1000675c
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x1000673f
cmp edi, 2
jb 0x1000673f
cmp byte [esi], cl
jne 0x1000673f
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100c1290]
test edi, edi
jne 0x10006725
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1000678b
cmp cl, 0x23
jne 0x10006772
cmp byte [esi], cl
jne 0x10006772
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 + 0x100c1290]
test cl, cl
jne 0x10006763
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x10006870
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
test eax, eax
je 0x10006884
mov dword [eax], 0
mov edx, 0x100c5ae0
call fcn.100067a0
mov edi, eax
test edi, edi
je 0x10006936
push edi
call fcn.1008f993
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x1000692d
push 2
push 0
push edi
call fcn.1008ffa6
add esp, 0xc
test eax, eax
jne 0x1000692d
push edi
call fcn.1008f993
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x1000692d
push 0
push esi
push edi
call fcn.1008ffa6
add esp, 0xc
test eax, eax
jne 0x1000692d
cmp ebx, 0xffffffff
je 0x1000692d
mov ecx, ebx
call fcn.10009810
mov dword [ebp - 4], eax
test eax, eax
je 0x1000692d
push edi
push ebx
push 1
push eax
call fcn.1009061b
push edi
mov esi, eax
call fcn.1008f12c
add esp, 0x14
cmp esi, ebx
je 0x1000691a
mov ecx, dword [ebp - 4]
call fcn.100098b0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
test eax, eax
je 0x10006923
mov dword [eax], ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call fcn.1008f12c
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000c6f0
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x1000c72d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x1000c713
cmp byte [esi], bl
jne 0x1000c713
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x100c1290]
test bl, bl
jne 0x1000c704
pop edi
pop esi
not ecx
pop ebx
jmp fcn.1000c680
Function at 0x10019820
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
cmp dword [esi + 0x5e18], 0
lea ecx, [esi + 0x5e1c]
je 0x1001988b
push 0
call fcn.1001b830
push dword [ebp + 8]
lea ecx, [esi + 0x5e1c]
push ebx
call fcn.10006c10
mov edx, dword [esi + 0x5e1c]
mov ecx, 0x100dbe21
push dword [esi + 0x5e18]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x5e24]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call fcn.1008f3e4
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
push ebx
call fcn.10006c10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10019c30
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
push edi
mov edi, dword [0x100dbf3c]
test bl, bl
je 0x10019c76
or edi, 0xffffffff
cmp bl, 0x23
jne 0x10019c57
cmp byte [esi], bl
jne 0x10019c57
cmp byte [esi + 1], bl
cmove eax, edi
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x100c1290]
test bl, bl
jne 0x10019c48
mov edi, dword [0x100dbf3c]
mov ecx, dword [edi + 0x5dbc]
not eax
mov edx, dword [edi + 0x5dc4]
pop edi
pop esi
lea ecx, [ecx + ecx*8]
lea ecx, [edx + ecx*4]
pop ebx
cmp edx, ecx
je 0x10019c9d
cmp dword [edx + 4], eax
je 0x10019ca0
add edx, 0x24
cmp edx, ecx
jne 0x10019c91
xor eax, eax
ret
mov eax, edx
ret

Function at 0x10019e90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x100dbf3c]
push esi
mov esi, ecx
push edi
mov dword [eax + 0x5dac], 0
test esi, esi
je 0x10019ee3
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
call fcn.10019ef0
mov edx, 0x100c5ae4
mov ecx, esi
mov edi, eax
call fcn.100067a0
mov esi, eax
test esi, esi
je 0x10019ee3
push esi
push dword [ebp - 4]
push 1
push edi
call fcn.1008f3e4
push esi
call fcn.1008f12c
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100237a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x100237c3
mov dword [esi + 4], 0
mov dword [esi], 0
call fcn.100098b0
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x100237e4
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
call fcn.100098b0
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10023805
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
call fcn.100098b0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x10023842
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
call fcn.100098b0
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x10023863
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
call fcn.100098b0
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x10023884
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
call fcn.100098b0
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.10025c30