joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001020
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
mov esi, dword [ebp + 0xc]
xor edx, edx
or eax, 0xffffffff
mov ecx, dword [ebp + 8]
lea esp, [esp]
lea esp, [esp]
nop
mov dl, byte [esi]
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x10001060]
add esi, 1
sub ecx, 1
jne 0x10001040
not eax
pop edx
pop ecx
pop esi
leave
ret 8

Function at 0x100065ae
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
push edx
push esi
push edi
mov esi, dword [ebp + 8]
xor ecx, ecx
jmp 0x100065f2
inc ecx
cmp ecx, dword [0x1000e519]
jne 0x100065f2
push 0x400
push 0x10021e45
push 0x16
push dword [0x1000d8a2]
call fcn.10006a56
push 0x10021e45
call fcn.100022c0
xor eax, eax
pop edi
pop esi
pop edx
pop ecx
pop ebx
leave
ret 0x14
cmp dword [ecx + esi], 0x4550
jne 0x100065bd
add esi, ecx
mov eax, dword [ebp + 8]
add eax, dword [0x1000e519]
cmp dword [eax - 4], 0x32505564
jne 0x10006632
push 0x400
push 0x10022245
push 0x17
push dword [0x1000d8a2]
call fcn.10006a56
push 0x10022245
call fcn.100022c0
jmp 0x100065e7
push esi
movzx eax, word [esi + 6]
dec eax
imul eax, eax, 0x28
movzx ecx, word [esi + 0x14]
add esi, 0x18
add esi, ecx
mov edi, esi
or dword [edi + 0x24], 0x80000000
add edi, eax
pop esi
mov dword [0x1000698d], 0
cmp dword [ebp + 0xc], 4
jne 0x10006667
or dword [0x1000698d], 1
test dword [ebp + 0x18], 0x40
je 0x10006677
or dword [0x1000698d], 2
mov ebx, dword [esi + 0x28]
mov dword [0x10006985], ebx
mov eax, dword [edi + 0xc]
add eax, dword [edi + 0x10]
mov dword [esi + 0x28], eax
cmp dword [ebp + 0xc], 4
jne 0x10006699
mov eax, dword [edi + 0xc]
mov ebx, dword [edi + 0x10]
add eax, ebx
jmp 0x1000669b
xor eax, eax
mov dword [0x10006991], eax
mov eax, dword [ebp + 8]
add eax, dword [edi + 0x14]
add eax, dword [edi + 0x10]
mov ecx, 0x10006730
mov ebx, 0x278
mov edx, eax
add edx, ebx
push edx
push ebx
push ecx
push eax
call fcn.10006b6a
pop edx
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 0x16]
lea ecx, [eax + ecx]
mov ebx, dword [0x1000d880]
sub ebx, eax
push ebx
push ecx
push edx
call fcn.10006b6a
mov eax, dword [ebp + 0x10]
push 0x100
push eax
call fcn.10006ee0
add dword [edi + 8], eax
mov eax, dword [ebp + 0x10]
add dword [edi + 0x10], eax
or dword [edi + 0x24], 0xe0000000
mov eax, dword [edi + 0xc]
add eax, dword [edi + 8]
mov ebx, dword [esi + 0x38]
push ebx
push eax
call fcn.10006ee0
mov dword [esi + 0x50], eax
mov ecx, dword [ebp + 8]
add ecx, dword [0x1000e529]
mov byte [ecx - 1], 0x32
mov byte [ecx - 2], 0x50
mov byte [ecx - 3], 0x55
mov byte [ecx - 4], 0x64
xor eax, eax
inc eax
pop edi
pop esi
pop edx
pop ecx
pop ebx
leave
ret 0x14
Function at 0x10006807
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
push edx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov edx, ebx
movzx eax, word [ebx + 0x3c]
add ebx, eax
mov ebx, dword [ebx + 0x78]
add ebx, edx
or edi, edi
je 0x10006866
mov ecx, dword [ebx + 0x18]
mov esi, dword [ebx + 0x20]
add esi, edx
push ebx
xor ebx, ebx
lodsd eax, dword [esi]
add eax, edx
push esi
push edi
xchg edi, esi
xchg edi, eax
lodsb al, byte [esi]
or al, al
jne 0x10006845
cmp byte [edi], 0
je 0x1000684e
jmp 0x1000684c
cmp byte [edi], al
jne 0x1000684c
inc edi
jmp 0x10006839
mov al, 1
pop edi
pop esi
or al, al
je 0x10006857
inc ebx
loop 0x10006831
xchg ebx, eax
pop ebx
mov esi, dword [ebx + 0x24]
add esi, edx
inc eax
shl eax, 1
add esi, eax
movzx ecx, word [esi]
mov esi, dword [ebx + 0x1c]
add esi, edx
sub ecx, dword [ebx + 0x10]
xchg ecx, eax
shl eax, 2
add esi, eax
mov eax, dword [esi]
add eax, edx
pop esi
pop edi
pop edx
pop ecx
pop ebx
leave
ret 8
Function at 0x40d5c8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419428]
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.0040804b
mov dword [ebp - 0x14], eax
cmp dword [0x4483e0], esi
jne 0x40d6bb
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d648
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d79b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d79b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d79b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4483e0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4483e4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4483e8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4483f0], eax
test eax, eax
je 0x40d6b8
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4483ec], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d6e0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d6d3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d6f5
push 4
pop eax
jmp 0x40d79d
cmp dword [ebp - 0x14], esi
je 0x40d6f5
push dword [0x4483e0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d6da
mov eax, dword [0x4483ec]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d753
cmp dword [0x4483f0], edi
je 0x40d753
push eax
call ebx
push dword [0x4483f0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d753
test eax, eax
je 0x40d753
call ecx
test eax, eax
je 0x40d748
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 0x40d748
test byte [ebp - 8], 1
jne 0x40d753
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d783
mov eax, dword [0x4483e4]
cmp eax, edi
je 0x40d780
push eax
call ebx
test eax, eax
je 0x40d780
call eax
mov esi, eax
test esi, esi
je 0x40d780
mov eax, dword [0x4483e8]
cmp eax, edi
je 0x40d780
push eax
call ebx
test eax, eax
je 0x40d780
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4483e0]
call ebx
test eax, eax
je 0x40d79b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d79d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040434c
mov esp, ebp
pop ebp
ret
Function at 0x401780
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
push ebx
push esi
mov esi, edx
push edi
test ecx, ecx
je 0x4017e0
mov edx, dword [ecx + 0x3c]
add edx, ecx
xor ecx, ecx
movzx eax, word [edx + 0x14]
movzx edi, word [edx + 6]
add eax, 0x18
mov ebx, dword [edx + 0x3c]
add eax, edx
mov dword [ebp - 4], eax
xor eax, eax
cmp cx, di
jae 0x4017e0
nop
mov edx, dword [ebp - 4]
movzx ecx, ax
lea ecx, [ecx + ecx*4]
lea edx, [edx + ecx*8]
mov ecx, dword [esi]
cmp ecx, dword [edx]
jne 0x4017da
mov ecx, dword [esi + 4]
cmp ecx, dword [edx + 4]
je 0x4017e9
inc eax
cmp ax, di
jb 0x4017c0
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x4017f8
mov eax, dword [edx + 0xc]
add eax, dword [ebp - 0xc]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x40180b
mov eax, dword [edx + 0x10]
dec eax
add eax, ebx
neg ebx
and eax, ebx
mov dword [ecx], eax
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403620
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
add eax, edi
mov dword [esp + 0xc], eax
cmp edi, eax
je 0x403672
nop dword [eax]
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 4]
dec ecx
and ecx, edi
mov esi, dword [eax + ecx*4]
lea eax, [esi + 8]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esp + 0xc]
jne 0x403640
mov ecx, ebx
call fcn.0040b7c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408ae0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ce1d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4b0040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov ecx, eax
shr ecx, 0x10
mov edx, eax
mov dword [ebp - 0x38], ecx
mov ecx, eax
shr ecx, 8
shr edx, 0x18
mov dword [ebp - 0x14], ecx
test eax, eax
je 0x408ca8
cmp dword [edi + 4], 0
je 0x408ca8
cmp dword [edi + 0xc], 0
jne 0x408ca8
cmp dword [ebp + 8], 0
je 0x408ca8
movzx eax, al
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, dword [ebp - 0x14]
movzx eax, al
xor ecx, eax
mov eax, dword [ebp - 0x38]
imul ecx, ecx, 0x1000193
movzx eax, al
xor ecx, eax
imul eax, ecx, 0x1000193
xor eax, edx
imul eax, eax, 0x1000193
push eax
push edi
lea eax, [ebp - 0x3c]
push eax
call fcn.0040da80
mov edx, dword [0x4b1784]
mov eax, dword [eax + 4]
test eax, eax
cmovne edx, eax
mov dword [ebp - 0x38], edx
cmp edx, dword [0x4b1784]
jne 0x408ca8
push 0x10
call fcn.00418830
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov byte [esi + 8], 1
mov dword [esi + 0xc], 0
test ecx, ecx
je 0x408c00
test edx, edx
je 0x408c00
push 0x1c
lea eax, [ebp - 0x30]
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
push eax
push ecx
movups xmmword [ebp - 0x30], xmm0
movq qword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp eax, 0x1c
jne 0x408c00
lea ecx, [esi + 0xc]
test ecx, ecx
je 0x408c00
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov eax, dword [esi]
test eax, eax
je 0x408c75
cmp dword [esi + 4], 0
je 0x408c75
push 0x1c
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
push ecx
push eax
movups xmmword [ebp - 0x30], xmm0
movq qword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp eax, 0x1c
jne 0x408c75
mov eax, dword [ebp - 0x1c]
mov ecx, 2
and eax, 0xffffff8f
cmove eax, ecx
mov ecx, esi
push eax
call fcn.00404800
test al, al
je 0x408c75
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp - 0x38]
lea eax, [ebp - 0x38]
push eax
call fcn.0040c120
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x14]
mov dword [edi + 0xc], eax
mov byte [ebp - 0x31], 1
jmp 0x408c79
mov byte [ebp - 0x31], 0
test esi, esi
je 0x408ca3
cmp dword [esi], 0
je 0x408c98
cmp dword [esi + 4], 0
je 0x408c98
cmp byte [esi + 8], 0
je 0x408c98
push dword [esi + 0xc]
mov ecx, esi
call fcn.00404800
push 0x10
push esi
call fcn.00418ab1
add esp, 8
mov al, byte [ebp - 0x31]
jmp 0x408caa
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041881d
mov esp, ebp
pop ebp
ret 4
Function at 0x408cd0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
mov edx, eax
mov ebx, eax
shr edx, 0x18
mov ecx, eax
shr ebx, 0x10
shr ecx, 8
mov dword [ebp - 4], ecx
test eax, eax
je 0x408d93
cmp dword [esi + 4], 0
je 0x408d93
cmp dword [esi + 0xc], 0
je 0x408d93
movzx eax, al
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, dword [ebp - 4]
movzx eax, al
xor ecx, eax
movzx eax, bl
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
xor eax, edx
imul eax, eax, 0x1000193
push eax
push esi
lea eax, [ebp - 8]
push eax
call fcn.0040da80
mov edi, dword [0x4b1784]
mov eax, dword [eax + 4]
test eax, eax
cmovne edi, eax
cmp edi, dword [0x4b1784]
je 0x408d93
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x408d93
cmp dword [ecx], 0
je 0x408d93
cmp dword [ecx + 4], 0
je 0x408d93
push dword [ecx + 0xc]
call fcn.00404800
test al, al
je 0x408d93
push edi
lea eax, [ebp - 4]
push eax
call fcn.0040c370
pop edi
mov dword [esi + 0xc], 0
mov al, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x408da0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, ecx
push ebx
push esi
mov eax, dword [edx]
mov esi, eax
mov ebx, eax
shr esi, 0x18
mov ecx, eax
shr ebx, 0x10
shr ecx, 8
mov dword [ebp - 4], ecx
test eax, eax
je 0x408e47
cmp dword [edx + 4], 0
je 0x408e47
cmp dword [edx + 0xc], 0
je 0x408e47
movzx eax, al
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, dword [ebp - 4]
movzx eax, al
xor ecx, eax
movzx eax, bl
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
xor eax, esi
imul eax, eax, 0x1000193
push eax
push edx
lea eax, [ebp - 8]
push eax
call fcn.0040da80
mov edx, dword [0x4b1784]
mov eax, dword [eax + 4]
test eax, eax
cmovne edx, eax
cmp edx, dword [0x4b1784]
je 0x408e47
mov ecx, dword [edx + 0xc]
test ecx, ecx
je 0x408e47
cmp dword [ecx], 0
je 0x408e47
cmp dword [ecx + 4], 0
je 0x408e47
push dword [ecx + 0xc]
call fcn.00404800
test al, al
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408e50
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, 0x4149c0
mov dword [ebp - 4], 0x4149c0
movzx eax, al
mov edx, 0x4149c0
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, edx
shr eax, 8
movzx eax, al
push esi
xor ecx, eax
mov eax, edx
shr eax, 0x10
movzx eax, al
imul ecx, ecx, 0x1000193
shr edx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
xor eax, edx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040db60
mov edx, dword [0x4b1764]
mov esi, edx
mov eax, dword [eax + 4]
test eax, eax
cmovne esi, eax
cmp esi, edx
je 0x408f8c
mov eax, dword [esi + 0xc]
test eax, eax
je 0x408f8c
cmp dword [eax + 4], 0
je 0x408ee5
mov dword [eax + 4], 0
mov edx, dword [0x4b1764]
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [0x4b176c]
imul ecx, ecx, 0x1000193
and ecx, dword [0x4b1778]
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x408f40
cmp eax, esi
jne 0x408f38
mov dword [ecx], edx
mov dword [ecx + 4], edx
jmp 0x408f48
mov edx, dword [esi + 4]
mov dword [ecx + 4], edx
jmp 0x408f48
cmp eax, esi
jne 0x408f48
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
dec dword [0x4b1768]
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x408f7a
cmp dword [eax + 4], 0
je 0x408f6f
mov dword [eax + 4], 0
push 8
push eax
call fcn.00418ab1
add esp, 8
push 0x10
push esi
call fcn.00418ab1
add esp, 8
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x408fa0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ce5d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4b0040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x3c], eax
cmp byte [eax], 0
je 0x409166
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x409166
cmp dword [eax + 0xc], 0
je 0x409166
cmp dword [ebp + 8], 0
je 0x409166
mov eax, dword [eax + 8]
lea edx, [ecx + eax*4]
mov eax, edx
mov dword [ebp - 0x14], edx
shr eax, 8
movzx ecx, al
movzx eax, dl
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
xor ecx, eax
mov eax, edx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
xor ecx, eax
mov eax, edx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0040da80
mov edx, dword [0x4b1784]
mov eax, dword [eax + 4]
test eax, eax
cmovne edx, eax
mov dword [ebp - 0x40], edx
cmp edx, dword [0x4b1784]
jne 0x409166
push 0x10
call fcn.00418830
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov edi, dword [ebp - 0x14]
mov dword [esi], edi
mov dword [esi + 4], 4
mov byte [esi + 8], 1
mov dword [esi + 0xc], 0
test edi, edi
je 0x4090c1
push 0x1c
lea eax, [ebp - 0x34]
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
push eax
push edi
movups xmmword [ebp - 0x34], xmm0
movq qword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp eax, 0x1c
jne 0x4090c1
lea ecx, [esi + 0xc]
test ecx, ecx
je 0x4090c1
mov eax, dword [ebp - 0x20]
mov dword [ecx], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov eax, dword [esi]
test eax, eax
je 0x409133
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x409133
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push edx
push 4
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x409133
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edi]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [edi], eax
cmp dword [esi], 0
je 0x409113
cmp dword [esi + 4], 0
je 0x409113
push dword [esi + 0xc]
mov ecx, esi
call fcn.00404800
lea eax, [ebp - 0x14]
mov dword [ebp - 0x3c], edi
push eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x40]
lea eax, [ebp - 0x40]
push eax
call fcn.0040c120
mov esi, dword [ebp - 0x14]
mov byte [ebp - 0x35], 1
jmp 0x409137
mov byte [ebp - 0x35], 0
test esi, esi
je 0x409161
cmp dword [esi], 0
je 0x409156
cmp dword [esi + 4], 0
je 0x409156
cmp byte [esi + 8], 0
je 0x409156
push dword [esi + 0xc]
mov ecx, esi
call fcn.00404800
push 0x10
push esi
call fcn.00418ab1
add esp, 8
mov al, byte [ebp - 0x35]
jmp 0x409168
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041881d
mov esp, ebp
pop ebp
ret 4
Function at 0x409190
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4b0040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi], 0
je 0x409297
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x409297
cmp dword [esi + 0xc], 0
je 0x409297
mov eax, dword [esi + 8]
lea ebx, [ecx + eax*4]
movzx eax, bl
xor eax, 0x811c9dc5
mov dword [ebp - 8], ebx
imul ecx, eax, 0x1000193
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, eax
mov eax, ebx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040da80
mov edi, dword [0x4b1784]
mov eax, dword [eax + 4]
test eax, eax
cmovne edi, eax
cmp edi, dword [0x4b1784]
je 0x409297
mov eax, dword [edi + 0xc]
test eax, eax
je 0x409297
mov ecx, dword [eax]
test ecx, ecx
je 0x409297
mov eax, dword [eax + 4]
test eax, eax
je 0x409297
lea edx, [ebp - 8]
mov dword [ebp - 8], 0
push edx
push 4
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x409297
mov eax, dword [esi + 0xc]
mov dword [ebx], eax
mov dword [esi + 0xc], 0
mov ecx, dword [edi + 0xc]
cmp dword [ecx], 0
je 0x40927a
cmp dword [ecx + 4], 0
je 0x40927a
push dword [ecx + 0xc]
call fcn.00404800
push edi
lea eax, [ebp - 8]
push eax
call fcn.0040c370
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041881d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041881d
mov esp, ebp
pop ebp
ret
Function at 0x40bf90
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d033
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4b0040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 4], 0x7ffffff
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
je 0x40c10e
mov dword [ebp - 0x48], ebx
mov dword [ebp - 4], 0
push 0x20
mov dword [ebp - 0x44], 0
call fcn.00418830
mov edi, eax
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], edi
lea esi, [edi + 8]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
lea eax, [esi + 8]
push 0x18
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x3c], eax
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.00418830
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi + 8], eax
add esi, 0x10
mov byte [ebp - 4], 1
mov dword [ebp - 0x50], esi
push 0x18
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00418830
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 2
mov ecx, dword [0x4b1738]
test ecx, ecx
je 0x40c07a
mov eax, dword [0x4b173c]
test eax, eax
jne 0x40c095
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x18]
mov dword [0x4b1738], ecx
mov dword [0x4b173c], eax
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x40c0aa
cmp edx, ecx
jb 0x40c0aa
lea ecx, [edx - 1]
add ecx, eax
dec eax
not eax
and ecx, eax
push 4
push 0x3000
push ecx
push 0
mov dword [ebp - 0x38], ecx
mov dword [edi + 8], ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [edi + 0xc], eax
lea edx, [edi + 0xc]
test eax, eax
je 0x40c0db
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
push eax
push edx
lea eax, [ebp - 0x54]
push eax
call fcn.0040be90
mov eax, dword [ebp - 0x40]
inc dword [ebx + 4]
mov ecx, dword [eax + 4]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov dword [eax + 4], edi
mov eax, edi
mov dword [ecx], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041881d
mov esp, ebp
pop ebp
ret 8
push str.list_too_long
call fcn.004187fd
int3
Function at 0x40c370
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
lea ecx, [eax + 8]
mov dword [ebp - 4], ecx
movzx ecx, byte [ecx]
xor ecx, 0x811c9dc5
imul edx, ecx, 0x1000193
movzx ecx, byte [eax + 9]
push edi
xor edx, ecx
movzx ecx, byte [eax + 0xa]
imul edx, edx, 0x1000193
xor edx, ecx
movzx ecx, byte [eax + 0xb]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [0x4b1798]
and edx, ecx
mov ecx, dword [0x4b178c]
mov esi, dword [ecx + edx*8]
cmp dword [ecx + edx*8 + 4], eax
jne 0x40c3e8
cmp esi, eax
jne 0x40c3df
mov eax, dword [0x4b1784]
mov dword [ecx + edx*8], eax
mov dword [ecx + edx*8 + 4], eax
jmp 0x40c3f1
mov eax, dword [eax + 4]
mov dword [ecx + edx*8 + 4], eax
jmp 0x40c3f1
cmp esi, eax
jne 0x40c3f4
mov eax, dword [eax]
mov dword [ecx + edx*8], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
dec dword [0x4b1788]
mov ecx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ecx], edi
mov eax, dword [eax + 4]
mov dword [edi + 4], eax
mov esi, dword [esi + 4]
test esi, esi
je 0x40c437
cmp dword [esi], 0
je 0x40c42c
cmp dword [esi + 4], 0
je 0x40c42c
cmp byte [esi + 8], 0
je 0x40c42c
push dword [esi + 0xc]
mov ecx, esi
call fcn.00404800
push 0x10
push esi
call fcn.00418ab1
add esp, 8
push 0x10
push dword [ebp + 0xc]
call fcn.00418ab1
add esp, 8
mov dword [ebx], edi
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8