joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2f4940
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x338cb0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x352014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
mov ecx, 0x353074
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.00307f00
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0x352a8c
push eax
call fcn.00307f00
mov esi, dword [0x353084]
xor ebx, ebx
mov edi, dword [0x353088]
nop word [eax + eax]
cmp edi, 0x10
mov byte [ebx + 0x3562d0], bl
mov eax, ebx
mov ecx, 0x353074
cmovae ecx, dword [0x353074]
cdq
idiv esi
mov al, byte [edx + ecx]
mov byte [ebx + 0x3563e0], al
inc ebx
cmp ebx, 0x100
jl 0x2f49c0
xor edi, edi
xor esi, esi
mov dl, byte [esi + 0x3562d0]
movzx eax, byte [esi + 0x3563e0]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x2f4a14
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + 0x3562d0]
mov byte [esi + 0x3562d0], al
inc esi
mov byte [edi + 0x3562d0], dl
cmp esi, 0x100
jl 0x2f49f0
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.002f4590
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x2f4a69
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2f4a5f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2f4abf
push edx
push ecx
call fcn.0030d569
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x2f4aab
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2f4aa1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2f4abf
push edx
push ecx
call fcn.0030d569
add esp, 8
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
call fcn.00326b7a
int3
Function at 0x2f7050
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
mov eax, dword [0x352014]
xor eax, esp
mov dword [esp + 0x184], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x84]
mov esi, ecx
push eax
push 0
call 0x4f80000
nop
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x2f7239
mov edi, dword [esi + 0x3c]
add edi, esi
cmp dword [edi], 0x4550
jne 0x2f7239
push 0x44
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.00324000
add esp, 0xc
lea eax, [esp + 0x20]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea eax, [esp + 0xa4]
push eax
call 0x4f60282
nop
test eax, eax
je 0x2f7239
push 4
push 0x1000
push 4
push 0
call 0x4f70d82
nop
push eax
mov dword [esp + 0x1c], eax
mov dword [eax], 0x10007
push dword [esp + 0x28]
call 0x4f6000c
nop
test eax, eax
je 0x2f7239
push 0
push 4
lea eax, [esp + 0x24]
push eax
push 0x348d48
push dword [esp + 0x30]
call 0x4f800db
nop
mov eax, dword [edi + 0x34]
cmp dword [esp + 0x1c], eax
jne 0x2f715c
push 0x348d4c
push 0x348d64
call 0x4f709fd
nop
push eax
call 0x4f600e9
nop
push dword [esp + 0x1c]
push dword [esp + 0x24]
call eax
mov eax, dword [edi + 0x34]
push 0x40
push 0x3000
push dword [edi + 0x50]
push eax
push dword [esp + 0x30]
call 0x4f601c7
nop
mov dword [esp + 0x14], eax
test eax, eax
je 0x2f7239
push 0
push dword [edi + 0x54]
push esi
push eax
push dword [esp + 0x30]
call 0x4f70f49
nop
xor eax, eax
mov dword [esp + 0x10], 0
cmp ax, word [edi + 6]
jae 0x2f71f3
mov dword [esp + 0xc], eax
call fcn.002f6ea0
push eax
call 0x4f709f7
nop
mov ecx, dword [esp + 0xc]
add ecx, esi
add ecx, dword [esi + 0x3c]
push 0
push dword [ecx + 0x108]
mov eax, dword [ecx + 0x10c]
add eax, esi
push eax
mov eax, dword [ecx + 0x104]
add eax, dword [esp + 0x20]
push eax
push dword [esp + 0x30]
call 0x4f70f49
nop
mov ecx, dword [esp + 0x10]
movzx eax, word [edi + 6]
inc ecx
add dword [esp + 0xc], 0x28
mov dword [esp + 0x10], ecx
cmp ecx, eax
jl 0x2f71a2
push 0
push 4
lea eax, [edi + 0x34]
push eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xa4]
add eax, 8
push eax
push dword [esp + 0x30]
call 0x4f70f49
nop
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x28]
add eax, dword [esp + 0x14]
push ecx
mov dword [ecx + 0xb0], eax
push dword [esp + 0x28]
call 0x4f6039c
nop
push dword [esp + 0x24]
call 0x4f70ac9
nop
push 0x8000
push 0
push esi
call 0x4f70e38
nop
mov ecx, dword [esp + 0x18c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.0030cef4
mov esp, ebp
pop ebp
ret
Function at 0x52f090
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd8000]
push edi
jmp 0x52f0aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x52f0b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52f0a0
mov eax, 1
add ebx, ebx
jne 0x52f0c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x52f0d4
jne 0x52f0f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52f0f3
dec eax
add ebx, ebx
jne 0x52f0e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x52f0b8
add ebx, ebx
jne 0x52f0ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x52f145
xor ecx, ecx
sub eax, 3
jb 0x52f10b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x52f17a
sar eax, 1
mov ebp, eax
jmp 0x52f116
add ebx, ebx
jne 0x52f116
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52f0e4
inc ecx
add ebx, ebx
jne 0x52f124
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52f0e4
add ebx, ebx
jne 0x52f131
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x52f126
jne 0x52f142
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x52f126
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x52f164
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x52f156
jmp 0x52f0a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x52f164
add edi, ecx
jmp 0x52f0a6
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x52f182
cmp byte [edi], 0x11
jne 0x52f182
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x52f187
lea edi, [esi + 0x128000]
mov eax, dword [edi]
or eax, eax
je 0x52f1ff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x185774]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1858f0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x52f1b4
mov ecx, edi
jns 0x52f1e3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1858f4]
or eax, eax
je 0x52f1f9
mov dword [ebx], eax
add ebx, 4
jmp 0x52f1d1
call dword [esi + 0x185904]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x52f230
cmp al, 0xef
ja 0x52f223
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x52f205
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x52f212
mov ebp, dword [esi + 0x1858f8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x52f264
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x43f092
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x43f0a1
pop dword [ebp - 0x50]
mov eax, 0x43f0a1
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x4c6b0
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0x3933
xor esi, esi
add esi, eax
mov edi, 0x7eaa31de
sub edi, 0x7e62d3de
add edi, dword [ebp - 0x50]
mov edx, 0x8dc20ecb
add edx, 0x68dd376f
add dword [ebp - 0xc], 0xef0f95e5
mov ebx, dword [edi]
add dword [ebp - 0x3c], 0xc0430ca1
sub ebx, edx
mov dword [esi], ebx
xor dword [ebp - 0x48], eax
add esi, 0x960b9d89
add esi, 0x69f4627b
add edi, 0xfaf079fa
add edi, 0x50f860a
loop 0x43f0f2
add eax, 0x7016bb94
sub eax, 0x7015e3f5
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xb7fec716
sub ecx, 0xb7bec716
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x4400c9
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46c6d0
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x44010c
push str.SystemFunction040
push dword [0x46c6d0]
call edi
push str.SystemFunction041
push dword [0x46c6d0]
mov dword [0x46c6c0], eax
call edi
mov dword [0x46c6c4], eax
jmp 0x440111
mov eax, dword [0x46c6c4]
cmp dword [0x46c6c0], 0
je 0x440122
test eax, eax
jne 0x4401c9
push 0x46c6d4
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x4401d3
push str.CryptProtectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c0], 0
mov dword [0x46c6c8], eax
jne 0x440187
test eax, eax
jne 0x440187
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x440171
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x440178
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work138_s_srclibsdutilcryputil.cpp
call fcn.004038f5
jmp 0x4401d3
push str.CryptUnprotectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c4], 0
mov dword [0x46c6cc], eax
jne 0x4401c9
test eax, eax
jne 0x4401c9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4401bd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4401c4
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x44017b
mov dword [0x46c6d8], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x403371
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
jl 0x40339c
mov ecx, dword [0x42a2b8]
push esi
add eax, ecx
push esi
push eax
mov dword [0x420ef4], eax
push dword [0x40a01c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
call fcn.00403479
cmp eax, esi
jl 0x403473
lea eax, [ebp + 8]
push 4
push eax
push dword [0x40a01c]
call fcn.004061db
test eax, eax
je 0x403463
push dword [ebp + 8]
add dword [0x420ef4], 4
call fcn.00403479
mov ebx, eax
cmp ebx, esi
jl 0x403471
cmp dword [ebp + 0x10], esi
jne 0x40343f
cmp dword [ebp + 8], esi
jle 0x403471
mov esi, 0x414ef0
cmp dword [ebp + 8], 0x4000
mov eax, dword [ebp + 8]
jl 0x403401
mov eax, 0x4000
push eax
push esi
push dword [0x40a01c]
mov dword [ebp - 4], eax
call fcn.004061db
test eax, eax
je 0x403463
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call fcn.0040620a
test eax, eax
je 0x40343b
mov eax, dword [ebp - 4]
sub dword [ebp + 8], eax
add dword [0x420ef4], eax
add ebx, eax
cmp dword [ebp + 8], 0
jg 0x4033f0
jmp 0x403471
push 0xfffffffffffffffe
jmp 0x403465
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x40344a
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push esi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a01c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x403468
push 0xfffffffffffffffd
pop eax
jmp 0x403473
mov ebx, dword [ebp - 4]
add dword [0x420ef4], ebx
mov eax, ebx
pop esi
pop ebx
leave
ret 0x10

Function at 0x40667e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 1
pop eax
test eax, eax
je 0x406d82
test cl, bh
push es
add byte [eax], al

Function at 0x4069c5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmp dword [ebp - 0x6fc], 3
jne 0x406a66
and byte [ebp - 0x7ac], 0
and byte [ebp - 0x7ab], 0
mov byte [ebp - 0x7aa], 0xed
and byte [ebp - 0x7a9], 0
mov byte [ebp - 0x7a8], 0x4e
mov byte [ebp - 0x7a7], 0x55
mov byte [ebp - 0x7a6], 0x56
mov byte [ebp - 0x7a5], 0x7e
mov byte [ebp - 0x7a4], 0x21
mov byte [ebp - 0x7a3], 0x20
mov byte [ebp - 0x7a2], 0x3c
mov byte [ebp - 0x7a1], 0x76
mov byte [ebp - 0x7a0], 0x7e
mov byte [ebp - 0x79f], 0x7e
mov byte [ebp - 0x79e], 0x12
test dword [edx - 8], esp
invalid
call dword [edx]
push 0xb
lea eax, [ebp - 0x7ac]
push eax
call fcn.00404cec
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.00404c4d
add esp, 0xc
jmp 0x406c54
cmp dword [ebp - 0x6fc], 4
jne 0x406b10
add byte [eax], al
cmp dword [ebp - 0x6fc], 5
jne 0x406bb1
and byte [ebp - 0x7cc], 0
cmp dword [ebp - 0x6fc], 6
Function at 0x100026d0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov esi, esp
mov dword [esi + 0x20], ebp
mov dword [esi + 0xc], ecx
mov dword [esi + 8], esp
mov dword [esi + 0x24], esp
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x2c], 0x1000c050
mov eax, dword fs:[0]
mov dword [esi + 0x28], eax
lea eax, [esi + 0x28]
mov dword fs:[0], eax
mov byte [esi + 0x10], 0
mov dword [esi + 0x18], 0
push eax
sub esp, 0xc
mov ecx, esp
movzx eax, byte [ebp + 8]
mov byte [ecx], 5
mov dword [ecx + 8], eax
mov dword [esi + 4], ecx
mov dword [ecx + 0xc], 0
mov dword [esi + 0x30], 4
lea ecx, [esi + 0x10]
push 0
call fcn.100281c0
movzx edx, byte [eax]
mov byte [eax], 5
mov ecx, dword [esi + 4]
mov byte [ecx], dl
movsd xmm0, qword [eax + 8]
movsd xmm1, qword [ecx + 8]
movsd qword [eax + 8], xmm1
lea edi, [ebp + 8]
movsd qword [ecx + 8], xmm0
add ecx, 8
push edx
call fcn.1002ab20
mov esp, dword [esi + 8]
push eax
sub esp, 0xc
mov ecx, esp
movzx eax, byte [edi + 1]
mov byte [ecx], 5
mov dword [ecx + 8], eax
mov dword [esi + 4], ecx
mov dword [ecx + 0xc], 0
mov dword [esi + 0x30], 3
lea ecx, [esi + 0x10]
push 1
call fcn.100281c0
movzx edx, byte [eax]
mov byte [eax], 5
mov edi, dword [esi + 4]
mov byte [edi], dl
movsd xmm0, qword [eax + 8]
mov ecx, edi
add ecx, 8
movsd xmm1, qword [edi + 8]
movsd qword [eax + 8], xmm1
movsd qword [edi + 8], xmm0
push edx
call fcn.1002ab20
mov esp, dword [esi + 8]
push eax
sub esp, 0xc
mov ecx, esp
lea eax, [ebp + 8]
movzx eax, byte [eax + 2]
mov byte [ecx], 5
mov dword [ecx + 8], eax
mov dword [esi + 4], ecx
mov dword [ecx + 0xc], 0
mov dword [esi + 0x30], 2
lea ecx, [esi + 0x10]
push 2
call fcn.100281c0
movzx edx, byte [eax]
mov byte [eax], 5
mov edi, dword [esi + 4]
mov byte [edi], dl
movsd xmm0, qword [eax + 8]
mov ecx, edi
add ecx, 8
movsd xmm1, qword [edi + 8]
movsd qword [eax + 8], xmm1
movsd qword [edi + 8], xmm0
push edx
call fcn.1002ab20
mov esp, dword [esi + 8]
push eax
sub esp, 0xc
mov ecx, esp
lea eax, [ebp + 8]
movzx eax, byte [eax + 3]
mov byte [ecx], 5
mov dword [ecx + 8], eax
mov dword [esi + 4], ecx
mov dword [ecx + 0xc], 0
mov dword [esi + 0x30], 1
lea ecx, [esi + 0x10]
push 3
call fcn.100281c0
movzx edx, byte [eax]
mov byte [eax], 5
mov edi, dword [esi + 4]
mov byte [edi], dl
movsd xmm0, qword [eax + 8]
mov ecx, edi
add ecx, 8
movsd xmm1, qword [edi + 8]
movsd qword [eax + 8], xmm1
movsd qword [edi + 8], xmm0
push edx
call fcn.1002ab20
mov esp, dword [esi + 8]
mov dword [esi + 0x30], 0
sub esp, 0x14
movaps xmm0, xmmword [0x10356840]
movups xmmword [esp + 4], xmm0
mov eax, dword [esi + 0xc]
mov dword [esp], eax
lea ecx, [esi + 0x10]
call fcn.10028360
movzx eax, byte [esi + 0x10]
lea ecx, [esi + 0x18]
push eax
call fcn.1002ab20
mov eax, dword [esi + 0x28]
mov dword fs:[0], eax
mov eax, dword [esi + 0xc]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100069f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov esi, esp
mov dword [esi + 0x30], ebp
mov dword [esi + 8], esp
mov dword [esi + 0x34], esp
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0x1000c080
mov eax, dword fs:[0]
mov dword [esi + 0x38], eax
lea eax, [esi + 0x38]
mov dword fs:[0], eax
push eax
sub esp, 0x34
mov eax, esp
mov dword [eax + 0x2c], 0
lea edx, [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0xc], ecx
mov dword [eax + 4], ecx
mov byte [eax + 0x30], 1
mov byte [eax + 0x34], 0
mov dword [esi + 0x40], 0
call fcn.1002e350
add esp, 0x38
mov esp, dword [esi + 8]
mov dword [esi + 0x40], 1
lea ecx, [esi + 0x10]
push 3
call fcn.100281c0
lea ecx, [esi + 4]
push ecx
push eax
call fcn.1003af40
add esp, 8
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
lea ecx, [esi + 0x10]
push 2
call fcn.100281c0
lea ecx, [esi + 4]
push ecx
push eax
call fcn.1003af40
add esp, 8
mov eax, dword [esi + 4]
mov dword [esi + 0x28], eax
lea ecx, [esi + 0x10]
push 1
call fcn.100281c0
lea ecx, [esi + 4]
push ecx
push eax
call fcn.1003af40
add esp, 8
mov eax, dword [esi + 4]
mov dword [esi + 0x24], eax
lea ecx, [esi + 0x10]
push 0
call fcn.100281c0
lea ecx, [esi + 4]
push ecx
push eax
call fcn.1003af40
add esp, 8
lea ecx, [esi + 0x2c]
push dword [esi + 8]
push dword [esi + 0x28]
push dword [esi + 0x24]
push dword [esi + 4]
call fcn.102c1040
mov ebx, dword [esi + 0xc]
mov edi, dword [ebx + 0x18]
mov eax, dword [edi + 0x24]
and eax, 3
cmp eax, 1
je 0x10006afe
cmp eax, 2
jne 0x10006b09
mov eax, dword [edi + 0x20]
push edi
jmp 0x10006b04
mov eax, dword [edi + 0x20]
push dword [edi + 0x1c]
call dword [eax]
add esp, 4
mov eax, dword [esi + 0x2c]
mov dword [edi], eax
mov dword [edi + 0x20], 0x1035703c
mov eax, 0x103c5400
or eax, 2
mov dword [edi + 0x24], eax
lea ecx, [esi + 0x18]
movzx eax, byte [esi + 0x10]
push eax
call fcn.1002ab20
mov eax, dword [ebx + 0x14]
cmp eax, 0x10
jb 0x10006b60
mov ecx, dword [ebx]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x10006b56
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10006b82
add eax, 0x24
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.102e53ef
add esp, 8
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
mov eax, dword [esi + 0x38]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop dword [eax + eax]
push ebp
sub esp, 0x38
lea esi, [ebp - 0x44]
mov ebp, dword [esi + 0x30]
lea ecx, [esi + 0x18]
movzx eax, byte [esi + 0x10]
push eax
call fcn.1002ab20
add esp, 0x38
pop ebp
ret
Function at 0x1000c1f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov esi, ecx
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x1003bdd0
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov dword [esi], 0
lea eax, [esi + 4]
mov dword [ebp - 0x24], eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0x70
call fcn.102e53ba
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x28], eax
mov dword [esi + 4], eax
movaps xmm0, xmmword [0x10356800]
movups xmmword [esi + 0xc], xmm0
mov dword [esi + 0x1c], 8
mov dword [ebp - 0x20], esi
mov dword [esi], 0x3f800000
mov dword [ebp - 0x10], 0
push 0x40
call fcn.102e53ba
add esp, 4
mov edx, dword [ebp - 0x20]
mov dword [edx + 0xc], eax
mov ecx, eax
add ecx, 0x40
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
movd xmm0, dword [ebp - 0x28]
pshufd xmm0, xmm0, 0
movdqu xmmword [eax], xmm0
movdqu xmmword [eax + 0x10], xmm0
movdqu xmmword [eax + 0x20], xmm0
movdqu xmmword [eax + 0x30], xmm0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10023b70
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov esi, ecx
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x1003be10
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0x4c
call fcn.102e53ba
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x24], eax
mov dword [esi + 4], eax
movaps xmm0, xmmword [0x10356800]
movups xmmword [esi + 0xc], xmm0
mov dword [esi + 0x1c], 8
mov dword [ebp - 0x20], esi
mov dword [esi], 0x3f800000
mov dword [ebp - 0x10], 0
push 0x40
call fcn.102e53ba
add esp, 4
mov edx, dword [ebp - 0x20]
mov dword [edx + 0xc], eax
mov ecx, eax
add ecx, 0x40
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
movd xmm0, dword [ebp - 0x24]
pshufd xmm0, xmm0, 0
movdqu xmmword [eax], xmm0
movdqu xmmword [eax + 0x10], xmm0
movdqu xmmword [eax + 0x20], xmm0
movdqu xmmword [eax + 0x30], xmm0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100241c0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
cmp ebp, eax
je 0x10024294
mov edx, ecx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x10], ecx
mov edi, dword [edx + 0xc]
movzx ecx, byte [ebp + 8]
xor ecx, 0x811c9dc5
imul esi, ecx, 0x1000193
movzx ecx, byte [ebp + 9]
xor ecx, esi
imul esi, ecx, 0x1000193
movzx ecx, byte [ebp + 0xa]
xor ecx, esi
imul esi, ecx, 0x1000193
movzx ecx, byte [ebp + 0xb]
xor ecx, esi
imul esi, ecx, 0x1000193
and esi, dword [edx + 0x18]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x14], ecx
lea ecx, [esi + esi]
lea ebx, [edi + esi*8]
mov dword [esp], ebx
lea ebx, [esi + esi + 1]
mov dword [esp + 0x1c], ebx
mov esi, dword [edi + esi*8]
mov dword [esp + 0x18], esi
cmp esi, ebp
mov dword [esp + 8], edi
mov ecx, dword [edi + ecx*4 + 4]
mov dword [esp + 4], ecx
setne byte [esp + 0xc]
mov edi, ebp
nop
mov ebx, edi
mov edi, dword [edi]
lea ecx, [ebx + 0xc]
mov esi, edx
call fcn.10023e10
push 0x4c
push ebx
call fcn.102e53ef
mov edx, esi
add esp, 8
add dword [esi + 8], 0xffffffff
cmp ebx, dword [esp + 4]
je 0x1002429b
mov eax, dword [esp + 0x38]
cmp edi, eax
setne cl
or cl, byte [esp + 0xc]
cmp cl, 1
jne 0x1002437f
cmp edi, eax
jne 0x10024250
jmp 0x10024384
mov eax, ebp
jmp 0x1002438d
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
jne 0x100242b6
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp]
mov dword [ebx], ecx
mov dword [esp + 4], ecx
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 4]
mov dword [ebx + ecx*4], ebp
cmp edi, eax
je 0x10024384
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
movzx ecx, byte [edi + 9]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [edi + 0xa]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [edi + 0xb]
xor ecx, eax
imul eax, ecx, 0x1000193
and eax, dword [edx + 0x18]
lea ecx, [eax + eax]
mov edx, dword [esp + 8]
lea ebx, [edx + eax*8]
mov dword [esp], ebx
lea eax, [eax + eax + 1]
mov dword [esp + 0xc], eax
mov eax, dword [edx + ecx*4 + 4]
mov dword [esp + 4], eax
nop word cs:[eax + eax]
nop
mov ebx, edi
mov edi, dword [edi]
lea ecx, [ebx + 0xc]
call fcn.10023e10
push 0x4c
push ebx
call fcn.102e53ef
add esp, 8
add dword [esi + 8], 0xffffffff
cmp ebx, dword [esp + 4]
je 0x1002435b
mov eax, dword [esp + 0x38]
cmp edi, eax
jne 0x10024330
jmp 0x1002437f
mov edx, esi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp]
mov dword [ecx], eax
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov dword [ecx + ebx*4], eax
mov eax, dword [esp + 0x38]
cmp edi, eax
jne 0x100242d1
jmp 0x10024384
mov ecx, dword [esp]
mov dword [ecx], eax
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
mov dword [eax + 4], ecx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 8