joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100164e0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004aa45
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x10061080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], edi
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor ecx, eax
movzx eax, byte [ebx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
push eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.10016890
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10016563
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x100166c7
cmp dword [0x100658b4], 0xccccccc
je 0x100166dd
mov dword [ebp - 0x28], 0x100658b0
mov dword [ebp - 4], 0
push 0x14
mov dword [ebp - 0x24], 0
call fcn.10023e18
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 1
mov ecx, dword [0x100658b4]
mov ebx, dword [0x100658c8]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100566d0]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100566d0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x100658ac]
comiss xmm1, xmm0
jbe 0x10016674
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call fcn.10043760
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.10045bc0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x10016653
cmp ebx, 0x200
jae 0x10016651
shl ebx, 3
cmp ebx, ecx
jae 0x10016653
mov ebx, ecx
push ebx
call fcn.10016710
mov edi, dword [ebp - 0x1c]
lea eax, [esi + 8]
push edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10016890
mov ecx, dword [0x100658b4]
mov edx, dword [eax]
jmp 0x1001667a
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
inc ecx
mov dword [0x100658b4], ecx
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [0x100658c4]
mov ecx, dword [0x100658b8]
and eax, edi
mov edi, dword [ecx + eax*8]
cmp edi, dword [0x100658b0]
jne 0x100166ab
mov dword [ecx + eax*8], esi
jmp 0x100166ba
cmp edi, edx
jne 0x100166b4
mov dword [ecx + eax*8], esi
jmp 0x100166be
cmp dword [ecx + eax*8 + 4], ebx
jne 0x100166be
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x20]
mov dword [edi], esi
mov byte [edi + 4], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.10022969
int3
Function at 0x10016710
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x10
bsr ecx, eax
push ebx
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x1001687d
lea eax, [ecx - 1]
mov esi, dword [0x100658b0]
or eax, edi
mov dword [ebp - 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x100658b8
lea eax, [edi + edi]
push eax
call fcn.10002d20
mov eax, dword [0x100658b0]
lea ebx, [edi - 1]
mov dword [0x100658c4], ebx
mov dword [0x100658c8], edi
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x10016874
nop word [eax + eax]
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
mov edx, dword [0x100658b8]
imul edi, edi, 0x1000193
and edi, ebx
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 0xc], edx
cmp ebx, esi
jne 0x100167d2
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x1001683f
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x1001680c
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x10016804
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], eax
jmp 0x1001683f
cmp ebx, edx
je 0x1001681c
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x10016850
cmp ebx, edx
jne 0x10016810
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 4], edi
mov dword [edx], eax
mov eax, ecx
cmp ecx, esi
je 0x10016874
mov ebx, dword [0x100658c4]
jmp 0x10016780
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x1001683f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.invalid_hash_bucket_count
call fcn.10022969
int3
Function at 0x10016ff0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10061080]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebp + 8], 0
mov edx, dword [0x7f94e0]
push esi
push edi
lea edi, [ecx + 0x84]
je 0x100170ad
mov eax, dword [0x10061bd8]
movss xmm1, dword [0x100566c4]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [eax], 5
movss xmm0, dword [edx + 0x74]
mulss xmm0, dword [0x10056634]
mulss xmm0, dword [0x1005669c]
maxss xmm1, xmm0
movss xmm0, dword [0x10056698]
minss xmm0, xmm1
movss dword [ecx + 0x30], xmm0
movss xmm0, dword [ecx + 0x3c]
addss xmm0, dword [ecx + 0x40]
mov eax, dword [edx + 0x54]
mov dword [ecx + 0x34], eax
xor eax, eax
movss dword [ecx + 0x40], xmm0
cmp byte [edi], al
cmovne edi, eax
lea eax, [ebp - 8]
push eax
push 0x40
push 6
push 0x4db8ce
call esi
test edi, edi
je 0x1001709b
mov ecx, 0x4db8ce
mov eax, dword [ecx]
mov dword [edi], eax
mov ax, word [ecx + 4]
mov word [edi + 4], ax
mov eax, 0x4db8ce
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
jmp 0x1001712a
cmp byte [edi], 0
je 0x1001713a
movss xmm1, dword [ecx + 0x30]
divss xmm1, dword [0x1005669c]
mov eax, dword [0x10061bd8]
movss xmm2, dword [0x100566a4]
movss xmm0, dword [0x100566c8]
mulss xmm1, xmm2
maxss xmm0, xmm1
minss xmm2, xmm0
movss dword [edx + 0x74], xmm2
mov dword [ecx + 0x38], 0
cmp dword [eax], 5
jne 0x10017104
cmp byte [0x798550], 0
je 0x10017104
mov dword [eax], 0
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 6
push 0x4db8ce
call esi
mov eax, dword [edi]
mov ecx, 0x4db8ce
mov dword [ecx], eax
mov ax, word [edi + 4]
mov word [ecx + 4], ax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 6
push 0x4db8ce
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10023e0a
mov esp, ebp
pop ebp
ret 4
Function at 0x100176c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004aae5
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10061080]
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 [0x10061bd8]
lea ecx, [ebp - 0x48]
push 0xe
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push str.MouseSmoothing
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov al, byte [ebp + 8]
mov byte [edi + 0x24], al
mov eax, dword [0x10065874]
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0
mov esi, dword [eax + 4]
call fcn.100033f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push 0x100556f0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
call fcn.100033f0
lea eax, [edi + 0x24]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1000e5b0
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x1001779e
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10017794
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100178cf
push ecx
push edx
call fcn.10023e4d
add esp, 8
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp ecx, 0xf
jbe 0x100177e4
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100177da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100178cf
push ecx
push edx
call fcn.10023e4d
add esp, 8
lea eax, [edi + 0x24]
mov dword [ebp - 0x38], 0
mov al, byte [eax]
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
test al, al
je 0x10017819
mov ecx, dword [ebp - 0x18]
cmp ecx, 5
je 0x1001780c
cmp ecx, 2
jne 0x10017819
push eax
mov ecx, edi
call fcn.10016ff0
jmp 0x100178b2
cmp byte [edi + 0x84], 0
mov eax, dword [0x7f94e0]
je 0x100178b2
movss xmm1, dword [edi + 0x30]
divss xmm1, dword [0x1005669c]
movss xmm2, dword [0x100566a4]
movss xmm0, dword [0x100566c8]
mulss xmm1, xmm2
maxss xmm0, xmm1
minss xmm2, xmm0
movss dword [eax + 0x74], xmm2
mov eax, dword [0x10061bd8]
mov dword [edi + 0x38], 0
cmp dword [eax], 5
jne 0x10017879
cmp byte [0x798550], 0
je 0x10017879
mov dword [eax], 0
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 6
push 0x4db8ce
call esi
mov eax, dword [edi + 0x84]
mov ecx, 0x4db8ce
mov dword [ecx], eax
mov ax, word [edi + 0x88]
mov word [ecx + 4], ax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 6
push ecx
call esi
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.10023e0a
mov esp, ebp
pop ebp
ret 4
call fcn.10028d39
int3
Function at 0x1001b4e0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004af35
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x10061080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], edi
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
push edx
push eax
call fcn.100039f0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1001b56a
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x1001b6ae
cmp dword [ebx + 8], 0xfffffff
je 0x1001b6c4
lea eax, [ebx + 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x28], 0
call fcn.10023e18
mov ecx, dword [ebp - 0x1c]
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov ecx, dword [ecx]
mov dword [esi + 8], ecx
mov byte [esi + 0xc], 0
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100566d0]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100566d0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x1001b661
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call fcn.10043760
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.10045bc0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x1001b643
cmp eax, 0x200
jae 0x1001b641
shl eax, 3
cmp eax, ecx
jae 0x1001b643
mov eax, ecx
push eax
mov ecx, ebx
call fcn.100136a0
push dword [ebp - 0x20]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.100039f0
mov edx, dword [eax]
jmp 0x1001b664
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x2c]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x20]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x1001b68f
mov dword [ecx + eax*8], esi
jmp 0x1001b6a1
cmp ebx, edx
jne 0x1001b698
mov dword [ecx + eax*8], esi
jmp 0x1001b6a5
mov edx, dword [ebp - 0x1c]
cmp dword [ecx + eax*8 + 4], edx
jne 0x1001b6a5
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x24]
mov dword [edi], esi
mov byte [edi + 4], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.10022969
int3
Function at 0x1001b6e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10061080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10061bd8]
mov ecx, dword [ecx + 4]
push ebx
push esi
mov eax, dword [eax]
mov ebx, 6
cmp eax, 3
jne 0x1001b711
cmp byte [ecx + 0x1c], 0
jne 0x1001b722
lea ebx, [eax - 1]
jmp 0x1001b722
cmp eax, 4
jne 0x1001b722
cmp byte [ecx + 0x1d], 0
mov eax, 2
cmove ebx, eax
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x53fa50
call esi
lea eax, [ebp - 8]
mov byte [0x53fa50], bl
push eax
push dword [ebp - 8]
push 1
push 0x53fa50
call esi
lea eax, [ebp - 0xc]
push eax
push 0x40
push 1
push 0x53f648
call esi
lea eax, [ebp - 0xc]
mov byte [0x53f648], bl
push eax
push dword [ebp - 0xc]
push 1
push 0x53f648
call esi
mov ecx, dword [ebp - 4]
xor al, al
pop esi
xor ecx, ebp
pop ebx
call fcn.10023e0a
mov esp, ebp
pop ebp
ret 4
Function at 0x1001e0c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x1001e0f2
jl 0x1001e0e5
test ecx, ecx
jne 0x1001e0f2
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x1001e1b2
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.10007840
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x1001e15e
jg 0x1001e11d
test esi, esi
je 0x1001e15e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x1001e135
mov eax, dword [esp + 0x10]
jl 0x1001e12f
cmp eax, esi
jae 0x1001e135
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.10025670
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x1001e17f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x1001e19b
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x1001e104
jl 0x1001e19b
test ecx, ecx
jne 0x1001e104
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov esi, dword [ebp + 0x10]
sbb esi, edx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x1001e1f0
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x1001e1f0
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push dword [esp + 0x14]
call fcn.10025670
mov eax, dword [ebx + 0x2c]
sub edi, esi
add dword [esp + 0x18], esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x1001e259
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x1001e216
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x1001e244
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.1002fe16
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x1001e259
cmp edi, eax
ja 0x1001e222
test edi, edi
je 0x1001e259
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.1002fe16
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10022420
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10061080]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
mov byte [edi + 0xa0], 1
cmp byte [edi + 0x84], 0
mov eax, dword [0x7f94e0]
je 0x100224d5
movss xmm1, dword [edi + 0x30]
divss xmm1, dword [0x1005669c]
movss xmm2, dword [0x100566a4]
movss xmm0, dword [0x100566c8]
mulss xmm1, xmm2
maxss xmm0, xmm1
minss xmm2, xmm0
movss dword [eax + 0x74], xmm2
mov eax, dword [0x10061bd8]
mov dword [edi + 0x38], 0
cmp dword [eax], 5
jne 0x1002249a
cmp byte [0x798550], 0
je 0x1002249a
mov dword [eax], 0
lea eax, [ebp - 8]
push eax
push 0x40
push 6
push 0x4db8ce
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [edi + 0x84]
mov ecx, 0x4db8ce
mov dword [ecx], eax
mov ax, word [edi + 0x88]
mov word [ecx + 4], ax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 6
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [edi + 0x64]
call fcn.10012ca0
push 0xa8
push edi
call fcn.10023e4d
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, edi
xor ecx, ebp
pop edi
call fcn.10023e0a
mov esp, ebp
pop ebp
ret 4

Function at 0x10037954
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100504dc
push 0x100504d4
push str.FlsAlloc
push 0x1e
call fcn.10037781
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10037988
push dword [ebp + 8]
mov ecx, esi
call dword [0x1004c18c]
call esi
jmp 0x1003798e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100379d2
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100504ec
push 0x100504e4
push str.FlsGetValue
push 0x20
call fcn.10037781
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10037a09
push dword [ebp + 8]
mov ecx, esi
call dword [0x1004c18c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x1003918e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10038fff

Function at 0x10039633
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.10024f00
mov eax, dword [0x10061080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.10035ade
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x10039675
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x100397d1
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.10045680
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x10065428]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.1003a414
mov ecx, dword [esi*4 + 0x10065428]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x100397ca
cmp eax, dword [edi + ecx + 0x24]
jne 0x100397ca
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100397ca
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1003a414
add esp, 0x14
test edx, edx
jl 0x100397ca
jg 0x10039740
test eax, eax
jb 0x100397ca
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x100397ca
jl 0x1003975a
cmp dword [ebp - 0x1008], eax
ja 0x100397ca
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x10039778
test ebx, ebx
je 0x100397b1
cmp ecx, edi
jae 0x100397b1
mov al, byte [ecx]
cmp al, 0xd
jne 0x10039792
lea eax, [edi - 1]
cmp ecx, eax
jae 0x1003979e
cmp byte [ecx + 1], 0xa
jne 0x1003979e
inc ecx
jmp 0x1003979e
movzx eax, al
movsx eax, byte [eax + 0x100614d8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x10039778
cmp edx, ebx
jne 0x10039778
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x100397cf
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10023e0a
leave
ret
Function at 0x100398cc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x10065428]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1003990c
cmp byte [ebx], 0xa
jne 0x1003990c
or byte [eax + edi + 0x28], 4
jmp 0x10039911
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x10039a0f
mov al, byte [edx]
cmp al, 0x1a
je 0x100399f1
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x10039940
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x10039965
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x1003996f
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x10039922
jmp 0x10039a0f
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100399ec
cmp dword [ebp - 0xc], 0
je 0x100399ec
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x10065428]
test byte [eax + edi + 0x28], 0x48
je 0x100399c6
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x100399b1
mov byte [esi], dl
jmp 0x100399c2
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x10065428]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x10039a0f
cmp byte [ebp - 1], 0xa
jne 0x100399d5
cmp esi, ebx
jne 0x100399d5
mov byte [esi], 0xa
jmp 0x10039a0e
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.1003a432
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x10039a0f
mov byte [esi], 0xd
jmp 0x10039a0e
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x10065428]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x10039a0b
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x10039a0f
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret