joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001a230
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10070080]
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 0x1001a2ed
mov eax, dword [0x10070bc8]
movss xmm1, dword [0x100645d4]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [eax], 5
movss xmm0, dword [edx + 0x74]
mulss xmm0, dword [0x1006453c]
mulss xmm0, dword [0x100645ac]
maxss xmm1, xmm0
movss xmm0, dword [0x100645a8]
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 0x1001a2db
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 0x1001a36a
cmp byte [edi], 0
je 0x1001a37a
movss xmm1, dword [ecx + 0x30]
divss xmm1, dword [0x100645ac]
mov eax, dword [0x10070bc8]
movss xmm2, dword [0x100645b4]
movss xmm0, dword [0x100645d8]
mulss xmm1, xmm2
maxss xmm0, xmm1
minss xmm2, xmm0
movss dword [edx + 0x74], xmm2
mov dword [ecx + 0x38], 0
cmp dword [eax], 5
jne 0x1001a344
cmp byte [0x798550], 0
je 0x1001a344
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.10030080
mov esp, ebp
pop ebp
ret 4
Function at 0x1001a930
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100573c5
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10070080]
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 [0x10070bc8]
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 [0x10075784]
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0
mov esi, dword [eax + 4]
call fcn.100054b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push 0x100611e8
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
call fcn.100054b0
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.10007180
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x1001aa0e
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001aa04
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001ab3f
push ecx
push edx
call fcn.100300c8
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 0x1001aa54
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001aa4a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001ab3f
push ecx
push edx
call fcn.100300c8
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 0x1001aa89
mov ecx, dword [ebp - 0x18]
cmp ecx, 5
je 0x1001aa7c
cmp ecx, 2
jne 0x1001aa89
push eax
mov ecx, edi
call fcn.1001a230
jmp 0x1001ab22
cmp byte [edi + 0x84], 0
mov eax, dword [0x7f94e0]
je 0x1001ab22
movss xmm1, dword [edi + 0x30]
divss xmm1, dword [0x100645ac]
movss xmm2, dword [0x100645b4]
movss xmm0, dword [0x100645d8]
mulss xmm1, xmm2
maxss xmm0, xmm1
minss xmm2, xmm0
movss dword [eax + 0x74], xmm2
mov eax, dword [0x10070bc8]
mov dword [edi + 0x38], 0
cmp dword [eax], 5
jne 0x1001aae9
cmp byte [0x798550], 0
je 0x1001aae9
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.10030080
mov esp, ebp
pop ebp
ret 4
call fcn.10037284
int3
Function at 0x1001e570
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100577d5
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x10070080]
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.1000d7c0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1001e5fa
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x1001e73e
cmp dword [ebx + 8], 0xfffffff
je 0x1001e754
lea eax, [ebx + 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x28], 0
call fcn.10030093
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 + 0x100645f0]
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 + 0x100645f0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x1001e6f1
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call fcn.1004fb70
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.10052140
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x1001e6d3
cmp eax, 0x200
jae 0x1001e6d1
shl eax, 3
cmp eax, ecx
jae 0x1001e6d3
mov eax, ecx
push eax
mov ecx, ebx
call fcn.10016110
push dword [ebp - 0x20]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1000d7c0
mov edx, dword [eax]
jmp 0x1001e6f4
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 0x1001e71f
mov dword [ecx + eax*8], esi
jmp 0x1001e731
cmp ebx, edx
jne 0x1001e728
mov dword [ecx + eax*8], esi
jmp 0x1001e735
mov edx, dword [ebp - 0x1c]
cmp dword [ecx + eax*8 + 4], edx
jne 0x1001e735
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.1002ec15
int3
Function at 0x1001e770
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10070080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10070bc8]
mov ecx, dword [ecx + 4]
push ebx
push esi
mov eax, dword [eax]
mov ebx, 6
cmp eax, 3
jne 0x1001e7a1
cmp byte [ecx + 0x1c], 0
jne 0x1001e7b2
lea ebx, [eax - 1]
jmp 0x1001e7b2
cmp eax, 4
jne 0x1001e7b2
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.10030080
mov esp, ebp
pop ebp
ret 4

Function at 0x1001ec90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10070080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10075784]
push edi
mov edi, dword [eax + 0x3c]
mov eax, dword [0x7f94e0]
cmp byte [edi + 0x84], 0
je 0x1001ed44
movss xmm1, dword [edi + 0x30]
divss xmm1, dword [0x100645ac]
movss xmm2, dword [0x100645b4]
movss xmm0, dword [0x100645d8]
mulss xmm1, xmm2
maxss xmm0, xmm1
minss xmm2, xmm0
movss dword [eax + 0x74], xmm2
mov eax, dword [0x10070bc8]
mov dword [edi + 0x38], 0
cmp dword [eax], 5
jne 0x1001ed09
cmp byte [0x798550], 0
je 0x1001ed09
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]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.10030080
mov esp, ebp
pop ebp
ret

Function at 0x1001ed90
Capabilities:
Get number of processors

Disassembly:
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0x24], 0
je 0x1001edb9
cmp byte [0x7985ea], 0
jne 0x1001edb9
cmp byte [0x798550], 0
je 0x1001edb9
mov eax, dword [0x10070bc8]
cmp dword [eax], 5
je fcn.10019d20
ret
Function at 0x1001ef90
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100573c5
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10070080]
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
call dword [0x10070ba4]
mov esi, eax
xor al, al
mov byte [ebp - 0x15], al
cmp byte [0x8092d8], al
je 0x1001eff9
mov ecx, dword [0x809db4]
xor edx, edx
call dword [0x10070b9c]
test eax, eax
je 0x1001eff6
push 2
xor edx, edx
mov ecx, eax
call dword [0x10070bac]
test eax, eax
setne al
jmp 0x1001eff9
mov al, byte [ebp - 0x15]
test esi, esi
jne 0x1001f121
test al, al
jne 0x1001f121
cmp dword [ebp + 8], esi
je 0x1001f121
cmp byte [edi], al
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
sete al
mov byte [ebp - 0x15], al
mov byte [edi], al
lea eax, [ebp - 0x14]
push eax
push 0x40
push 1
push 0x7985ec
call esi
mov al, byte [ebp - 0x15]
mov byte [0x7985ec], al
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 1
push 0x7985ec
call esi
mov esi, dword [edi + 4]
lea ecx, [ebp - 0x48]
push 0x16
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push str.NetstatVisibilityState
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0
call fcn.100054b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push 0x100611e8
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
call fcn.100054b0
push edi
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.10007180
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x1001f0df
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001f0d5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001f13e
push ecx
push edx
call fcn.100300c8
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 0x1001f121
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001f117
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001f13e
push ecx
push edx
call fcn.100300c8
add esp, 8
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.10030080
mov esp, ebp
pop ebp
ret 4
call fcn.10037284
int3
Function at 0x1001f4d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10070080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 4]
push ebx
mov bl, byte [eax]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x7985ec
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
mov byte [0x7985ec], bl
push eax
push dword [ebp - 8]
push 1
push 0x7985ec
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10030080
mov esp, ebp
pop ebp
ret
Function at 0x100219a0
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 0x100219d2
jl 0x100219c5
test ecx, ecx
jne 0x100219d2
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 0x10021a92
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.10003f40
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x10021a3e
jg 0x100219fd
test esi, esi
je 0x10021a3e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x10021a15
mov eax, dword [esp + 0x10]
jl 0x10021a0f
cmp eax, esi
jae 0x10021a15
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.10031830
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 0x10021a5f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x10021a7b
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 0x100219e4
jl 0x10021a7b
test ecx, ecx
jne 0x100219e4
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 0x10021ad0
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x10021ad0
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push dword [esp + 0x14]
call fcn.10031830
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 0x10021b39
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x10021af6
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 0x10021b24
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.1003c0e3
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x10021b39
cmp edi, eax
ja 0x10021b02
test edi, edi
je 0x10021b39
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.1003c0e3
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 0x10023000
Capabilities:
Read .ini file

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 0x10057c02
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1028
call fcn.10031170
mov eax, dword [0x10070080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebx + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x1038], edi
mov dword [ebp - 0x101c], 1
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
mov eax, esi
cmp dword [esi + 0x14], 0xf
mov dword [ebp - 0x101c], 1
jbe 0x10023097
mov eax, dword [esi]
push eax
push 0x1000
lea eax, [ebp - 0x1018]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
test eax, eax
jne 0x10023100
mov edx, str.Failed_to_read_INI_file:
mov ecx, 0x10074938
call fcn.10004f20
cmp dword [esi + 0x14], 0xf
mov ecx, dword [esi + 0x10]
jbe 0x100230c8
mov esi, dword [esi]
push ecx
mov edx, esi
mov ecx, eax
call fcn.10013360
add esp, 4
push eax
call fcn.100051c0
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10030080
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
cmp byte [ebp - 0x1018], 0
lea esi, [ebp - 0x1018]
je 0x100230de
nop
mov ecx, esi
mov dword [ebp - 0x1024], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1020], 0
movups xmmword [ebp - 0x1034], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10023133
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x1034]
call fcn.100054b0
mov dword [ebp - 4], 1
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x10023181
movups xmm0, xmmword [ebp - 0x1034]
mov ecx, 0xf
mov byte [ebp - 0x1034], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1024]
movq qword [eax + 0x10], xmm0
add dword [edi + 4], 0x18
jmp 0x10023196
lea ecx, [ebp - 0x1034]
push ecx
push eax
mov ecx, edi
call fcn.1002be20
mov ecx, dword [ebp - 0x1020]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x100231ca
mov edx, dword [ebp - 0x1034]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100231c0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100231e9
push ecx
push edx
call fcn.100300c8
add esp, 8
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100231d0
sub eax, edx
inc esi
add esi, eax
cmp byte [esi], cl
jne 0x10023110
jmp 0x100230de
call fcn.10037284
int3
Function at 0x1002e410
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10070080]
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 0x1002e4c5
movss xmm1, dword [edi + 0x30]
divss xmm1, dword [0x100645ac]
movss xmm2, dword [0x100645b4]
movss xmm0, dword [0x100645d8]
mulss xmm1, xmm2
maxss xmm0, xmm1
minss xmm2, xmm0
movss dword [eax + 0x74], xmm2
mov eax, dword [0x10070bc8]
mov dword [edi + 0x38], 0
cmp dword [eax], 5
jne 0x1002e48a
cmp byte [0x798550], 0
je 0x1002e48a
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.10015710
push 0xa8
push edi
call fcn.100300c8
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, edi
xor ecx, ebp
pop edi
call fcn.10030080
mov esp, ebp
pop ebp
ret 4

Function at 0x10043eb4
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1005d58c
push 0x1005d584
push str.FlsAlloc
push 0x1e
call fcn.10043ce1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10043ee8
push dword [ebp + 8]
mov ecx, esi
call dword [0x100591b0]
call esi
jmp 0x10043eee
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10043f32
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1005d59c
push 0x1005d594
push str.FlsGetValue
push 0x20
call fcn.10043ce1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10043f69
push dword [ebp + 8]
mov ecx, esi
call dword [0x100591b0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x100456ee
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1004555f

Function at 0x10045b93
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.10031170
mov eax, dword [0x10070080]
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.100401ea
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x10045bd5
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x10045d31
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.10051c00
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 + 0x10075338]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.10046974
mov ecx, dword [esi*4 + 0x10075338]
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 0x10045d2a
cmp eax, dword [edi + ecx + 0x24]
jne 0x10045d2a
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 0x10045d2a
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10046974
add esp, 0x14
test edx, edx
jl 0x10045d2a
jg 0x10045ca0
test eax, eax
jb 0x10045d2a
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x10045d2a
jl 0x10045cba
cmp dword [ebp - 0x1008], eax
ja 0x10045d2a
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x10045cd8
test ebx, ebx
je 0x10045d11
cmp ecx, edi
jae 0x10045d11
mov al, byte [ecx]
cmp al, 0xd
jne 0x10045cf2
lea eax, [edi - 1]
cmp ecx, eax
jae 0x10045cfe
cmp byte [ecx + 1], 0xa
jne 0x10045cfe
inc ecx
jmp 0x10045cfe
movzx eax, al
movsx eax, byte [eax + 0x100704d8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x10045cd8
cmp edx, ebx
jne 0x10045cd8
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x10045d2f
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10030080
leave
ret