joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4886d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x4e16fc]
mov edx, dword fs:[0x2c]
mov eax, dword [0x4e3ff8]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4886fb
mov ecx, 0x4e3ff0
pop ebp
jmp fcn.0043ad10
push 0x4e3ff8
call fcn.004956e7
add esp, 4
cmp dword [0x4e3ff8], 0xffffffff
jne 0x4886f0
mov dword [0x4e3ff4], 0
mov dword [0x4e3ff0], 0
mov ecx, 0x4e3ff0
push 0
call fcn.0043ad80
push 0x4e3ff8
call fcn.0049575d
add esp, 4
jmp 0x4886f0

Function at 0x489110
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x4df19c]
xor eax, ebp
mov dword [esp + 0x18], eax
mov edi, dword [ecx + 0x38]
test edi, edi
jne 0x4891b3
mov esi, ecx
mov dword [esp + 0x10], 0
mov byte [esp + 0x13], 9
mov dword [esp + 0xc], 0x65647261
mov dword [esp + 8], 0x63736964
mov word [esp + 0x10], 0x64
push 0x40
call fcn.004955e6
add esp, 4
mov ebx, eax
lea eax, [esp + 8]
mov edi, esp
mov ecx, esi
push eax
push edi
call fcn.00489080
mov ecx, ebx
push edi
push dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
call fcn.004891d0
mov edi, dword [esi + 0x38]
mov dword [esi + 0x38], ebx
test edi, edi
je 0x48919d
mov ecx, edi
call fcn.00489220
push edi
call fcn.00495666
add esp, 4
cmp byte [esp + 0x13], 0
jns 0x4891b0
push dword [esp + 8]
call fcn.00495666
add esp, 4
mov edi, dword [esi + 0x38]
mov ecx, dword [esp + 0x18]
xor ecx, ebp
call fcn.004956a1
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x48ede0
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xe4
mov eax, dword [0x4df19c]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
lea edi, [ebp - 0x50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push 0x20
push esi
call fcn.0044fcf3
add esp, 0xc
and byte [edi], 0xf8
mov al, byte [edi + 0x1f]
and al, 0x3f
or al, 0x40
mov byte [edi + 0x1f], al
lea eax, [ebp - 0xf0]
push 0x4d1a18
push edi
push eax
call fcn.0048ce08
add esp, 0xc
mov edi, dword [ebp + 8]
lea edx, [ebp - 0xf0]
mov ecx, edi
call fcn.00492560
movsd xmm0, qword [esi + 0x18]
movsd qword [ebx + 0x18], xmm0
movsd xmm0, qword [esi + 0x10]
movsd qword [ebx + 0x10], xmm0
movsd xmm0, qword [esi]
movsd xmm1, qword [esi + 8]
movsd qword [ebx + 8], xmm1
movsd qword [ebx], xmm0
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
movsd qword [ebx + 0x20], xmm0
movsd qword [ebx + 0x28], xmm1
movsd xmm0, qword [edi + 0x10]
movsd qword [ebx + 0x30], xmm0
movsd xmm0, qword [edi + 0x18]
movsd qword [ebx + 0x38], xmm0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004956a1
add esp, 0xe4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4b6dfe
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004b6e09
Function at 0x10018d20
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b6f06
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3c
push esi
mov eax, dword [0x100cd008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x100f15b0]
test al, 1
jne 0x10018e62
or eax, 1
mov dword [0x100f15b0], eax
mov dword [ebp - 4], 0
mov eax, 0x10
movaps xmm0, xmmword [0x100c2e40]
pxor xmm0, xmmword [0x100c3250]
mov dword [ebp - 0x1c], 0x77687768
mov dword [ebp - 0x18], 0x1177156f
mov word [ebp - 0x14], 0x5766
movups xmmword [ebp - 0x2c], xmm0
xor byte [ebp + eax - 0x2c], 0x57
inc eax
cmp eax, 0x1a
jb 0x10018da4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x48], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10018dc7
sub ecx, edx
lea eax, [ebp - 0x2c]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.1001e780
mov byte [ebp - 4], 1
mov edx, dword [0x100f16b4]
test edx, edx
je 0x10018df0
mov edx, dword [edx + 0x50]
jmp 0x10018df2
xor edx, edx
mov eax, dword [0x100f16ac]
test eax, eax
je 0x10018e00
mov eax, dword [eax + 0x18]
jmp 0x10018e02
xor eax, eax
lea ecx, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10018940
mov eax, dword [ebp - 0x30]
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x34]
mov dword [0x100f15b4], eax
cmp edx, 0x10
jb 0x10018e59
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10018e4a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10018e4a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100b5d3a
mov eax, dword [0x100f15b4]
add esp, 8
mov dword [ebp - 4], 0xffffffff
jmp 0x10018e67
mov eax, dword [0x100f15b4]
test eax, eax
je 0x10018e6f
mov ecx, esi
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x1001ea40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b7162
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100cd008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x10], ecx
push 0x40c
call fcn.100b58c6
mov ebx, eax
add esp, 4
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
lea edi, [ebx + 0xc]
mov dword [ebx + 4], 1
mov dword [ebx + 8], 1
mov dword [ebx], 0x100c15c8
mov ecx, dword [esi]
mov dword [edi + 0xc], 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 dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x3b4], 0
mov dword [edi + 0x3b8], 0
mov dword [edi + 0x3bc], 0
mov byte [edi + 0x3c0], 0
mov dword [edi + 0x3c4], 0
mov word [edi + 0x3c8], 0
mov dword [edi + 0x3cc], 0
mov dword [edi + 0x3d0], 0
mov dword [edi + 0x3d4], 0
push ecx
mov dword [edi + 0x3d8], 0
mov ecx, edi
mov dword [edi + 0x3dc], 0
mov dword [edi + 0x3e0], 0
mov word [edi + 0x3f0], 0
call fcn.10018e90
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax], edi
mov dword [eax + 4], ebx
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 0x10023820
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x10], 0x3233381a
xor eax, eax
mov dword [ebp - 0xc], 0x3223773b
mov dword [ebp - 8], 0x2522232f
mov word [ebp - 4], 0x2432
mov byte [ebp - 2], 0x57
xor byte [ebp + eax - 0x10], 0x57
inc eax
cmp eax, 0xf
jb 0x10023847
movaps xmm0, xmmword [0x100c2b60]
mov eax, 0x10
pxor xmm0, xmmword [0x100c2e40]
mov dword [ebp - 0x18], 0x22342339
mov word [ebp - 0x14], 0x3235
mov byte [ebp - 0x12], 0x57
movups xmmword [ebp - 0x28], xmm0
nop dword [eax + eax]
xor byte [ebp + eax - 0x28], 0x57
inc eax
cmp eax, 0x17
jb 0x10023880
mov ecx, dword [0x100f1720]
lea edx, [ebp - 0x10]
push 0
push 1
push edx
mov eax, dword [ecx]
lea edx, [ebp - 0x28]
push edx
mov eax, dword [eax + 0x150]
call eax
mov ecx, eax
mov dword [0x100f166c], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov dword [ebp - 0x10], 0x3233381a
xor eax, eax
mov dword [ebp - 0xc], 0x3223773b
mov dword [ebp - 8], 0x2522232f
mov word [ebp - 4], 0x2432
mov byte [ebp - 2], 0x57
xor byte [ebp + eax - 0x10], 0x57
inc eax
cmp eax, 0xf
jb 0x100238d7
movaps xmm0, xmmword [0x100c2ab0]
mov eax, 0x10
pxor xmm0, xmmword [0x100c2e40]
mov dword [ebp - 0x18], 0x5723363b
movups xmmword [ebp - 0x28], xmm0
xor byte [ebp + eax - 0x28], 0x57
inc eax
cmp eax, 0x14
jb 0x10023901
mov ecx, dword [0x100f1720]
lea edx, [ebp - 0x10]
push 0
push 1
push edx
mov eax, dword [ecx]
lea edx, [ebp - 0x28]
push edx
mov eax, dword [eax + 0x150]
call eax
mov ecx, eax
mov dword [0x100f1670], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esp, ebp
pop ebp
ret
Function at 0x10026d20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov ecx, dword [0x100f16f0]
sub esp, 0xc
mov eax, dword [ecx]
push ebx
push esi
push edi
mov eax, dword [eax + 0x14]
push 0x100e04a8
push 0x100e04a4
call eax
call fcn.100af1b0
call fcn.100922b0
call fcn.10026370
call fcn.10026860
cmp byte [0x100ef9f4], 0
je 0x10026ee4
mov ecx, dword [0x100f16f0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x10026ee4
mov ecx, dword [0x100f1774]
xor ebx, ebx
mov dword [esp + 0x10], ecx
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x14], eax
test eax, eax
je 0x10026ee4
mov eax, dword [ecx + 0x1c]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, eax
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x10026db0
xor edx, edx
test ecx, ecx
je 0x10026dd9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10026dc0
cmp edi, 0x5ff56dc5
je 0x10026dea
inc ebx
cmp ebx, dword [esp + 0x14]
jae 0x10026ee4
mov ecx, dword [esp + 0x10]
jmp 0x10026d94
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x1c]
mov ebx, dword [eax + ebx*4]
test ebx, ebx
je 0x10026ee4
mov esi, dword [ebx + 0x88]
test esi, esi
je 0x10026ee4
movss xmm1, dword [0x100c2690]
xor edx, edx
cmp esi, 4
jl 0x10026eb1
mov eax, dword [ebx + 0x7c]
lea edi, [esi - 4]
shr edi, 2
inc edi
lea ecx, [eax + 0x838]
lea edx, [eax + 0x1078]
lea eax, [edi*4]
mov dword [esp + 0x14], eax
nop
movss xmm0, dword [ecx - 0x420]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10026e5b
mov dword [ecx - 0x420], 0x7f7fffff
movss xmm0, dword [ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10026e6e
mov dword [ecx], 0x7f7fffff
movss xmm0, dword [edx - 0x420]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10026e89
mov dword [edx - 0x420], 0x7f7fffff
movss xmm0, dword [edx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10026e9c
mov dword [edx], 0x7f7fffff
add ecx, 0x1080
add edx, 0x1080
sub edi, 1
jne 0x10026e40
mov edx, dword [esp + 0x14]
cmp edx, esi
jge 0x10026ee4
imul ecx, edx, 0x420
add ecx, 0x418
add ecx, dword [ebx + 0x7c]
sub esi, edx
movss xmm0, dword [ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10026ed9
mov dword [ecx], 0x7f7fffff
add ecx, 0x420
sub esi, 1
jne 0x10026ec6
call fcn.10093b70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10028770
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b75d0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100cd008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 1
cmp dword [ebp + 0x1c], 0
je 0x100288c2
cmp dword [ebp + 0x20], 0x10
lea ecx, [ebp + 0x24]
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
xor edx, edx
push ecx
push eax
xor ecx, ecx
call fcn.10026100
mov ecx, dword [ebp - 0x1c]
mov esi, eax
add esp, 8
cmp esi, ecx
ja 0x100287f9
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
cmovae ecx, dword [ebp - 0x2c]
mov byte [ecx + esi], 0
jmp 0x10028806
sub eax, ecx
lea ecx, [ebp - 0x2c]
push 0
push eax
call fcn.10028fe0
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
lea edx, [ebp + 0x24]
cmovae eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
push edx
cmovae ecx, dword [ebp - 0x2c]
lea edx, [esi + 1]
push eax
call fcn.10026100
add esp, 8
mov dword [ebp - 0x3c], 0x2722240c
mov dword [ebp - 0x38], 0x363a3225
xor eax, eax
mov dword [ebp - 0x34], 0x770a2e34
mov byte [ebp - 0x30], 0x57
xor byte [ebp + eax - 0x3c], 0x57
inc eax
cmp eax, 0xd
jb 0x10028847
mov eax, dword [0x100f16ec]
lea edx, [ebp - 0x3c]
push edx
push 0x100e03b0
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x64]
call eax
mov eax, dword [0x100f16ec]
lea edx, [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], 0x10
cmovae edx, dword [ebp - 0x2c]
mov ecx, dword [eax]
push edx
push 0x100e03ac
push eax
mov eax, dword [ecx + 0x64]
call eax
mov edx, dword [ebp - 0x18]
add esp, 0xc
cmp edx, 0x10
jb 0x100288c2
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100288b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100288b8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100b5d3a
add esp, 8
mov edx, dword [ebp + 0x20]
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
cmp edx, 0x10
jb 0x1002890a
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10028900
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10028900
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100b5d3a
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100b58a7
mov esp, ebp
pop ebp
ret
Function at 0x10029db0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
movzx edx, byte [eax + 8]
mov edi, ecx
movzx ecx, byte [eax + 9]
xor edx, 0x811c9dc5
imul edx, edx, 0x1000193
mov ebx, dword [ebp + 8]
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 [edi + 0x18]
and edx, ecx
lea esi, [edx*8]
mov edx, dword [edi + 0xc]
add edx, esi
mov ecx, dword [edx]
cmp dword [edx + 4], eax
jne 0x10029e27
cmp ecx, eax
jne 0x10029e1f
mov ecx, dword [edi + 4]
mov dword [edx], ecx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov dword [esi + edx + 4], ecx
jmp 0x10029e2f
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x10029e2f
cmp ecx, eax
jne 0x10029e2f
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
push 0x10
push eax
mov dword [ecx], esi
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
dec dword [edi + 8]
call fcn.100b5d3a
add esp, 8
mov dword [ebx], esi
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x100310c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100cd008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x10031163
cmp byte [esi + 0x3d], 0
je 0x10031163
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x10031118
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x1003112a
sub eax, 1
je 0x1003112e
sub eax, 2
je 0x10031163
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b58a7
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1003114c
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x10031118
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b58a7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.100b58a7
mov esp, ebp
pop ebp
ret

Function at 0x10035b90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b8710
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100cd008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.10035ed0
mov ecx, dword [ebp + 0xc]
mov esi, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov word [esi + 0xc], 0
push dword [ecx]
lea ecx, [esi + 0x10]
call fcn.100229f0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
push 0
mov byte [esi + 0x28], 0
call fcn.10031840
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100377d0
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b8888
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x100cd008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x100f1760]
mov edi, dword [esi + 0x174]
test edi, edi
jle 0x1003782d
mov edx, dword [esi + 0x4cb0]
mov ecx, dword [0x100f1708]
add edx, dword [esi + 0x4cac]
push edx
push dword [esi + 0x4cb4]
mov eax, dword [ecx]
push 1
push edi
mov eax, dword [eax + 0xc]
call eax
cmp byte [0x100f6660], 0
jne 0x1003795d
movaps xmm0, xmmword [0x100c2ff0]
xor eax, eax
movaps xmm2, xmmword [0x100c2e40]
movups xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x1c], 0x1411
movaps xmm0, xmmword [0x100c3130]
movups xmmword [ebp - 0x2c], xmm0
mov byte [ebp - 0x1a], 0x57
movups xmm0, xmmword [ebp + eax - 0x3c]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0x3c], xmm1
add eax, 0x10
cmp eax, 0x20
jb 0x10037863
cmp eax, 0x23
jae 0x1003788c
xor byte [ebp + eax - 0x3c], 0x57
inc eax
cmp eax, 0x23
jb 0x10037881
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x54], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100378a4
sub ecx, edx
lea eax, [ebp - 0x3c]
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.1001e780
mov dword [ebp - 4], 0
mov edx, dword [0x100f16c0]
test edx, edx
je 0x100378d0
mov edx, dword [edx + 0x50]
jmp 0x100378d2
xor edx, edx
mov eax, dword [0x100f16b8]
test eax, eax
je 0x100378e0
mov eax, dword [eax + 0x18]
jmp 0x100378e2
xor eax, eax
lea ecx, [ebp - 0x54]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.10037170
mov edi, dword [ebp - 0x18]
add esp, 8
mov edx, dword [ebp - 0x40]
inc edi
cmp edx, 0x10
jb 0x1003792c
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10037922
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10037922
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100b5d3a
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push edi
mov dword [ebp - 0x14], 0
call esi
lea eax, [ebp - 0x14]
mov dword [edi], 0x3e
push eax
push dword [ebp - 0x14]
push 4
push edi
call esi
mov byte [0x100f6660], 1
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.100b58a7
mov esp, ebp
pop ebp
ret
Function at 0x10037b40
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100cd008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword fs:[0x30]
push esi
push edi
mov edi, ecx
test ebx, ebx
jne 0x10037b73
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b58a7
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebx + 0xc]
add ebx, 0x14
mov esi, dword [ebx]
cmp esi, ebx
je 0x10037be0
mov ecx, 0x5a4d
lea edx, [esi - 8]
test edx, edx
je 0x10037bda
mov eax, dword [edx + 0x18]
test eax, eax
je 0x10037bda
cmp word [eax], cx
jne 0x10037bda
mov ecx, dword [eax + 0x3c]
add ecx, eax
je 0x10037bd5
cmp dword [ecx], 0x4550
jne 0x10037bd5
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], ecx
cmp dword [edi + 8], eax
je 0x10037bc9
movq xmm0, qword [ebp - 0x10]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
add dword [edi + 4], 0xc
jmp 0x10037bd5
lea ecx, [ebp - 0x10]
push ecx
push eax
mov ecx, edi
call fcn.1003d9d0
mov ecx, 0x5a4d
mov esi, dword [esi]
cmp esi, ebx
jne 0x10037b84
mov eax, dword [edi]
cmp eax, dword [edi + 4]
mov ecx, dword [ebp - 4]
pop edi
setne al
xor ecx, ebp
pop esi
pop ebx
call fcn.100b58a7
mov esp, ebp
pop ebp
ret
Function at 0x10038b70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, edx
push edi
mov dword [ebp - 4], eax
mov ebx, ecx
cmp dword [esi + 0x14], 0x10
mov edi, dword [esi + 0x10]
jb 0x10038b8c
mov esi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x10038bab
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x10038b97
mov eax, dword [ebp - 4]
push edx
mov edx, eax
mov ecx, ebx
call fcn.10038640
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003d240
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor ecx, eax
movzx eax, byte [esi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul edx, ecx, 0x1000193
mov ecx, dword [0x100f65d4]
and edx, dword [0x100f65e0]
mov edi, dword [ecx + edx*8]
lea ebx, [ecx + edx*8]
mov edx, dword [0x100f65cc]
mov eax, edi
cmp edi, edx
jne 0x1003d2a0
mov ecx, edx
jmp 0x1003d2a5
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x1003d2b8
mov ecx, dword [eax + 8]
cmp ecx, dword [esi]
je 0x1003d2b4
mov eax, dword [eax]
jmp 0x1003d298
mov ecx, eax
jmp 0x1003d2bc
mov eax, edx
mov ecx, edx
cmp ecx, edx
jne 0x1003d31b
push ecx
mov dword [ebp - 4], esi
lea eax, [ebp - 4]
mov esi, dword [edx]
push eax
push ecx
mov edi, dword [esi + 4]
push edi
push esi
call fcn.10029d80
mov edx, eax
mov ecx, 0xffffffe
mov eax, dword [0x100f65d0]
sub ecx, eax
cmp ecx, 1
jae 0x1003d2f3
push str.list_T__too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
inc eax
mov ecx, 0x100f65c8
mov dword [0x100f65d0], eax
mov dword [esi + 4], edx
mov dword [edi], edx
mov eax, dword [0x100f65cc]
mov eax, dword [eax]
push eax
add eax, 8
push eax
lea eax, [ebp - 8]
push eax
call fcn.10029b60
mov eax, dword [ebp - 8]
pop edi
pop esi
add eax, 0xc
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1003e100
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b8fd0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100cd008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.1003e3e0
mov ecx, dword [ebp + 0xc]
mov esi, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov word [esi + 0xc], 0
push dword [ecx]
lea ecx, [esi + 0x10]
call fcn.100229f0
mov dword [esi + 0x28], 0
mov eax, esi
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 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 0xc