joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006ca00
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x1006ff20
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], ecx
mov dword [ebp - 0x10], 5
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
add eax, 0x30
mov dword [ebp - 0x24], eax
push eax
call fcn.100e37a0
add esp, 4
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov eax, dword [eax]
test eax, eax
je 0x1006ca69
shl eax, 3
push 4
push eax
push dword [esi + 0x34]
call fcn.10013780
add esp, 0xc
mov eax, dword [esi + 0x64]
test eax, eax
je 0x1006ca87
lock dec dword [eax]
jne 0x1006ca87
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 4
lea ecx, [eax + 0x64]
call fcn.1006c050
mov eax, dword [ebp - 0x20]
mov esi, dword [eax + 0x68]
test esi, esi
je 0x1006cace
mov edi, dword [ebp - 0x20]
push dword [edi + 0x70]
call dword [sym.imp.kernel32.dll_CloseHandle]
lock dec dword [esi]
mov esi, edi
jne 0x1006cab0
lea eax, [esi + 0x68]
push eax
call fcn.10006c40
add esp, 4
mov eax, dword [esi + 0x6c]
lock dec dword [eax]
jne 0x1006cace
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 3
add eax, 0x6c
push eax
call fcn.1006c140
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 2
add eax, 0x40
push eax
call fcn.100b2ee0
add esp, 4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x20]
lock dec dword [eax]
jne 0x1006cb05
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 1
add eax, 0x20
push eax
call fcn.10006ea0
add esp, 4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x80]
test eax, eax
je 0x1006cb2f
lock dec dword [eax]
jne 0x1006cb2f
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 0
add eax, 0x80
push eax
call fcn.10006ea0
add esp, 4
mov esi, dword [ebp - 0x20]
mov eax, dword [esi + 0x88]
test eax, eax
je 0x1006cb57
lock dec dword [eax]
jne 0x1006cb57
lea eax, [esi + 0x88]
mov dword [ebp - 0x10], 0xffffffff
push eax
call fcn.10006ea0
add esp, 4
cmp esi, 0xffffffff
je 0x1006cb72
lock dec dword [esi + 4]
jne 0x1006cb72
push 8
push 0xa8
push esi
call fcn.10013780
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1006ecf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x10070010
mov dword [ebp - 0x40], edx
mov edi, ecx
lea ecx, [ebp - 0x18]
mov eax, dword [ebp + 8]
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
add ecx, eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x2c]
mov word [ebp - 0x20], 0
mov dword [ebp - 0x2c], 1
push ecx
push eax
call fcn.100adb00
add esp, 8
mov dword [ebp - 0x30], 0x800
mov dword [ebp - 0x3c], 0
movzx eax, byte [0x10284b49]
push 1
push 0x800
call fcn.10013770
add esp, 8
test eax, eax
je 0x1006ee5c
mov ecx, dword [ebp - 0x48]
mov esi, eax
mov dword [ebp - 0x2c], 0x800
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x38], ecx
mov ebx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x24]
sub ebx, edi
nop
lea eax, [ebp - 0x30]
push eax
push esi
lea eax, [ebp - 0x3c]
push eax
push 0
push dword [ebp - 0x38]
push dword [ebp - 0x40]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
cmp eax, 0xea
jne 0x1006ede3
mov eax, dword [ebp - 0x30]
cmp ebx, eax
jae 0x1006eda0
mov dword [ebp - 0x10], 1
push 1
push 1
push eax
push edi
lea eax, [ebp - 0x2c]
push eax
call fcn.101c6630
add esp, 0x14
mov esi, dword [ebp - 0x28]
jmp 0x1006ed96
test eax, eax
jne 0x1006ee11
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov eax, 0xde
cmp ecx, 0xb
ja 0x1006ee14
mov eax, dword [ebp - 0x24]
movsd xmm0, qword [ebp - 0x2c]
mov dword [edx + 8], eax
movsd qword [edx], xmm0
mov byte [edx + 0xc], cl
jmp 0x1006ee34
mov edx, dword [ebp - 0x34]
mov byte [edx + 4], 0
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [edx], 0x80000000
test eax, eax
je 0x1006ee34
push 1
push eax
push esi
call fcn.10013780
add esp, 0xc
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x1006ee4b
add eax, eax
push 2
push eax
push dword [ebp - 0x38]
call fcn.10013780
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
push 0x800
push 1
call fcn.101cc661
add esp, 8
ud2
Function at 0x1007f470
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Check for peb ntglobalflag flag
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd8
mov esi, esp
mov dword [esi + 0xc0], ebp
mov dword [esi + 0xc4], esp
mov dword [esi + 0xd0], 0xffffffff
mov dword [esi + 0xcc], 0x10080970
mov edi, dword [ebp + 0xc]
lea eax, [esi + 0xc8]
mov ecx, dword fs:[0]
mov dword [esi + 0xc8], ecx
mov dword fs:[0], eax
movzx eax, byte [edi + 0x82]
mov byte [esi + 2], al
movzx eax, word [edi + 0x80]
mov word [esi], ax
mov eax, dword [edi + 0x50]
test eax, eax
mov dword [esi + 4], eax
je 0x1007f4e5
mov ecx, dword [edi + 0x54]
lock inc dword [eax]
jg 0x1007f4e5
ud2
mov edx, dword [edi + 0x5c]
movsd xmm0, qword [edi + 0x18]
mov eax, dword [ebp + 0x10]
lea ebx, [edi + 0x50]
mov dword [esi + 0x64], edx
mov edx, dword [edi + 0x59]
mov dword [esi + 0x61], edx
mov edx, dword [esi + 4]
mov dword [esi + 0x58], edx
mov dword [esi + 0x5c], ecx
movzx ecx, byte [edi + 0x58]
movzx edx, byte [edi + 0x63]
mov byte [esi + 0x60], cl
movzx ecx, word [edi + 0x60]
mov byte [esi + 0x6b], dl
mov word [esi + 0x68], cx
mov ecx, dword [edi]
mov dword [esi + 8], ecx
mov ecx, dword [edi + 4]
mov dword [esi + 0xc], ecx
mov ecx, dword [edi + 8]
mov dword [esi + 0x10], ecx
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x14], ecx
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x18], ecx
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x1c], ecx
mov ecx, dword [edi + 0x20]
movsd qword [esi + 0x20], xmm0
movsd xmm0, qword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov ecx, dword [edi + 0x30]
movsd qword [esi + 0x30], xmm0
movups xmm0, xmmword [edi + 0x38]
mov dword [esi + 0x38], ecx
movzx ecx, word [edi + 0x48]
movups xmmword [esi + 0x40], xmm0
mov word [esi + 0x50], cx
movzx ecx, byte [edi + 0x62]
mov byte [esi + 0x6a], cl
lea ecx, [esi + 0x70]
push 0x50
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add edi, 0x68
mov dword [esi + 0xd0], 0
push ebx
push edi
call fcn.1008fda0
add esp, 8
mov ebx, eax
mov edi, dword [ebp + 8]
movzx eax, byte [esi + 2]
mov byte [edi + 0xbe], al
movzx eax, word [esi]
mov word [edi + 0xbc], ax
lea eax, [esi + 8]
push 0x68
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [edi + 0x68]
push 0x50
lea ecx, [esi + 0x70]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0xc8]
mov dword [edi + 0xb8], ebx
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1008b790
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x1008cb50
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ebp - 0x20], ecx
push ecx
mov dword [ebp - 0x24], eax
call dword [eax + 0x20]
add esp, 4
mov ebx, eax
movzx eax, byte [0x10284b49]
push 1
push 0x2000
call fcn.10013770
add esp, 8
test eax, eax
je 0x1008b898
mov ecx, eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [eax], 0x2000
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x20]
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 4
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0x66000
mov byte [eax + 0x24], bl
mov word [eax + 0x50], 0
mov dword [eax + 0x34], ecx
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x38], ecx
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 8]
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], 1
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 1
mov word [eax + 0x28], 0
mov dword [eax + 0x2c], 0x2000
mov dword [eax + 0x30], 0x66000
mov dword fs:[0], edx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x2000
push 1
call fcn.101cc661
add esp, 8
ud2
Function at 0x100ad680
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
cmp byte [ecx + 0x49], 0
je 0x100ad694
xor eax, eax
jmp 0x100ad852
mov esi, dword [ecx + 0x34]
mov edx, dword [ecx + 0x30]
test byte [ecx], 1
mov dword [esp], esi
je 0x100ad6c4
mov ebx, dword [ecx + 0x38]
cmp dword [ecx + 0x24], 0xffffffff
mov eax, dword [ecx + 0x3c]
mov esi, edx
lea edx, [ecx + 8]
mov edi, ecx
lea ecx, [esp + 8]
je 0x100ad7b7
push 0
jmp 0x100ad7b9
xor eax, eax
cmp byte [ecx + 0xe], 0
je 0x100ad6e2
mov ebx, edx
mov dword [esp + 8], eax
test byte [esp + 8], 1
je 0x100ad7f0
jmp 0x100ad83e
mov edi, dword [ecx + 4]
movzx ebx, byte [ecx + 0xc]
mov dword [esp + 4], edx
jmp 0x100ad6f5
add edi, eax
mov dword [ecx + 4], edi
mov bh, bl
xor bl, 1
test edi, edi
je 0x100ad716
cmp edi, esi
jae 0x100ad710
cmp byte [edx + edi], 0xbf
jg 0x100ad716
jmp 0x100ad85a
jne 0x100ad85a
cmp edi, esi
je 0x100ad7d5
movzx eax, byte [edx + edi]
movzx ebp, al
test al, al
jns 0x100ad779
movzx esi, byte [edx + edi + 1]
and ebp, 0x1f
and esi, 0x3f
cmp al, 0xdf
jbe 0x100ad766
movzx edx, byte [edx + edi + 2]
shl esi, 6
and edx, 0x3f
or edx, esi
cmp al, 0xf0
jb 0x100ad76d
mov esi, dword [esp + 4]
and ebp, 7
shl edx, 6
shl ebp, 0x12
movzx eax, byte [esi + edi + 3]
and eax, 0x3f
or eax, edx
mov edx, esi
or ebp, eax
jmp 0x100ad776
shl ebp, 6
or ebp, esi
jmp 0x100ad776
shl ebp, 0xc
or ebp, edx
mov edx, dword [esp + 4]
mov esi, dword [esp]
test bh, 1
jne 0x100ad81f
mov eax, 1
cmp ebp, 0x80
jb 0x100ad6f0
mov eax, 2
cmp ebp, 0x800
jb 0x100ad6f0
cmp ebp, 0x10000
mov eax, 4
sbb eax, 0
jmp 0x100ad6f0
push 1
push eax
push ebx
push dword [esp + 0xc]
mov ebx, esi
push esi
call fcn.100ac170
add esp, 0x14
mov ecx, edi
test byte [esp + 8], 1
je 0x100ad7f0
jmp 0x100ad83e
test bh, 1
mov byte [ecx + 0xc], bl
jne 0x100ad824
xor eax, eax
mov ebx, edx
mov byte [ecx + 0xe], 1
mov dword [esp + 8], eax
test byte [esp + 8], 1
jne 0x100ad83e
xor eax, eax
cmp byte [ecx + 0x49], 0
je 0x100ad7fa
jmp 0x100ad852
mov byte [ecx + 0x49], 1
cmp byte [ecx + 0x48], 1
jne 0x100ad80c
mov esi, dword [ecx + 0x40]
mov edx, dword [ecx + 0x44]
jmp 0x100ad816
mov esi, dword [ecx + 0x40]
mov edx, dword [ecx + 0x44]
cmp edx, esi
je 0x100ad852
sub edx, esi
add esi, dword [ecx + 0x30]
mov eax, esi
jmp 0x100ad852
mov esi, edi
mov byte [ecx + 0xc], bl
mov eax, 1
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
mov ebx, edx
mov dword [esp + 8], eax
test byte [esp + 8], 1
je 0x100ad7f0
mov edx, dword [esp + 0xc]
mov edi, dword [ecx + 0x40]
mov esi, dword [esp + 0x10]
mov eax, ebx
sub edx, edi
add eax, edi
mov dword [ecx + 0x40], esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
mov byte [ecx + 0xc], bl
push 0x101dd30c
push esi
push edi
push esi
push edx
call fcn.101cce60
int3
Function at 0x100c8750
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa8
mov esi, esp
mov dword [esi + 0x90], ebp
mov dword [esi + 0x94], esp
mov dword [esi + 0xa0], 0xffffffff
mov dword [esi + 0x9c], 0x100cf0f0
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x98]
mov edx, dword fs:[0]
mov dword [esi + 0x98], edx
mov dword fs:[0], ecx
mov byte [esi + 2], 1
mov dword [esi + 0xa0], 0
mov ecx, dword [eax + 0x10]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov dword [esi + 0x40], ecx
movsd qword [esi + 0x38], xmm1
movsd qword [esi + 0x30], xmm0
call fcn.10160520
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x40]
movsd xmm0, qword [esi + 0x30]
movsd xmm1, qword [esi + 0x38]
mov dword [esi + 0x2c], edx
mov dword [esi + 0x20], eax
lea eax, [esi + 0x28]
movsd qword [esi + 0x18], xmm1
movsd qword [esi + 0x10], xmm0
mov dword [esi + 0xc], eax
call fcn.1014ec00
movzx ecx, byte [eax + 0x38]
mov dword [esi + 4], eax
test ecx, ecx
je 0x100c8818
cmp ecx, 1
je 0x100c883b
lea ecx, [esi + 0x10]
mov byte [esi + 2], 0
call fcn.100c5e40
mov al, 1
jmp 0x100c895c
mov byte [esi + 3], 1
mov dword [esi + 0xa0], 1
push 0x10060400
push eax
call fcn.101ac400
add esp, 8
mov eax, dword [esi + 4]
mov byte [eax + 0x38], 1
movsd xmm0, qword [esi + 0x1c]
movsd xmm2, qword [esi + 0xc]
movsd xmm1, qword [esi + 0x14]
movsd qword [esi + 0x88], xmm0
movsd qword [esi + 0x80], xmm1
movsd qword [esi + 0x78], xmm2
mov ecx, dword [eax + 0x18]
cmp ecx, 0x7ffffffe
mov dword [esi + 0x24], ecx
ja 0x100c8929
inc ecx
mov dword [eax + 0x18], ecx
mov eax, dword [eax + 0x1c]
movsd xmm0, qword [esi + 0x1c]
movsd xmm2, qword [esi + 0xc]
movsd xmm1, qword [esi + 0x14]
test eax, eax
movsd qword [esi + 0x58], xmm0
movsd qword [esi + 0x50], xmm1
movsd qword [esi + 0x48], xmm2
je 0x100c8942
lea edx, [esi + 0x10]
mov ecx, dword [esi + 0x48]
movsd xmm0, qword [edx]
movsd xmm1, qword [edx + 8]
mov edx, dword [edx + 0x10]
movsd qword [esi + 0x68], xmm1
movsd qword [esi + 0x60], xmm0
mov dword [esi + 0x70], edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
lock inc dword [eax]
jle 0x100c8978
mov dword [esi + 0xa0], 3
lea edi, [esi + 0x60]
push edx
push ecx
push eax
add eax, 0x38
push edi
push eax
call fcn.1006e1d0
add esp, 0x14
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
test edx, edx
je 0x100c890f
mov eax, dword [esi + 4]
mov dword [esi + 0xa0], 4
add eax, 0x1c
push edx
push eax
call fcn.1015eaa0
mov eax, dword [esi + 4]
add esp, 8
dec dword [eax + 0x18]
mov eax, dword [esi + 0x98]
mov dword fs:[0], eax
mov eax, dword [esi + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esi + 0xa0], 2
push 0x101df21c
call fcn.101cc7c0
add esp, 4
jmp 0x100c8978
lea ecx, [esi + 0x4c]
mov dword [esi + 0xa0], 3
call fcn.100c5e40
mov eax, dword [esi + 4]
dec dword [eax + 0x18]
xor eax, eax
mov edx, dword [ebp + 0xc]
lea ecx, [esi + 0x48]
mov byte [esi + 0x48], al
mov byte [esi + 2], 0
mov dword [esi + 0xa0], 0
call fcn.101c8b60
ud2
Function at 0x100d4400
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x50
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x70]
lea eax, [esi + 8]
push edi
push dword [esp + 0x6c]
push eax
call fcn.1011d370
add esp, 0xc
mov ecx, edx
cmp eax, 1
jne 0x100d4533
mov ebx, eax
mov eax, dword [0x1027132c]
mov dword [esp], ecx
mov eax, dword [eax]
cmp eax, 1
ja 0x100d4514
mov ebp, dword [0x10271278]
movzx eax, byte [ebp + 8]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x100d4510
movzx eax, al
push eax
push dword [ebp]
call fcn.10149b60
add esp, 8
test al, al
je 0x100d4514
mov eax, dword [ebp]
cmp dword [eax + 0x20], 0
je 0x100d454e
movsd xmm0, qword [eax + 0x1c]
movsd xmm1, qword [eax + 0x24]
mov edx, esp
mov dword [esp + 0x24], 0x101e0074
mov dword [esp + 0x28], 1
lea ebp, [esp + 0xc]
lea ecx, [eax + 0x1c]
mov dword [esp + 0x34], 0
mov dword [esp + 4], edx
lea edx, [esp + 4]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 8], fcn.1011c250
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x3c]
mov dword [esp + 0x30], 1
mov dword [esp + 0xc], edx
lea edx, [esp + 0x24]
mov dword [esp + 0x10], edx
movsd qword [esp + 0x44], xmm1
movsd qword [esp + 0x3c], xmm0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x14], 0x101df9b4
push ecx
push eax
call fcn.1014a450
add esp, 8
jmp 0x100d4514
test ecx, ecx
jne 0x100d453b
push dword [esp + 0x78]
push dword [esp + 0x78]
push edi
push dword [esp + 0x78]
push 1
push 3
push esi
call fcn.100d37e0
add esp, 0x1c
mov edx, dword [esp]
mov eax, ebx
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
push ebp
call fcn.101c9ee0
add esp, 4
test al, al
jne 0x100d4459
jmp 0x100d4514
push 0x101e0040
push 0x22
push 0x101df908
call fcn.101cc830
int3
Function at 0x100da040
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe0
mov esi, esp
mov dword [esi + 0xc8], ebp
mov dword [esi + 0xcc], esp
mov dword [esi + 0xd8], 0xffffffff
mov dword [esi + 0xd4], 0x100de120
lea eax, [esi + 0xd0]
mov ecx, dword fs:[0]
mov dword [esi + 0xd0], ecx
mov dword fs:[0], eax
lea eax, [esi + 0x80]
mov dword [esi + 0xd8], 4
push eax
call fcn.10180440
add esp, 4
mov eax, dword [ebp + 0x10]
lea edi, [esi + 0x10]
movsd xmm2, qword [eax + 0x18]
movsd xmm1, qword [eax + 0x10]
movsd xmm0, qword [eax + 0x20]
movsd qword [esi + 0x70], xmm2
movsd qword [esi + 0x68], xmm1
movsd xmm2, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esi + 0x78], xmm0
movsd qword [esi + 0x60], xmm1
movsd qword [esi + 0x58], xmm2
push 0x48
lea eax, [esi + 0x80]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, edi
mov dword [esi + 0xd8], 3
movzx eax, word [eax + 0x44]
mov word [esi + 0x54], ax
call fcn.1000fcd0
mov ecx, dword [ebp + 0xc]
movsd xmm1, qword [ecx + 0x30]
movsd xmm2, qword [ecx + 0x28]
movsd xmm0, qword [ecx + 0x38]
movzx eax, byte [ecx + 0x46]
mov ebx, dword [ecx + 0x40]
movsd qword [esi + 0x40], xmm1
movsd xmm1, qword [ecx + 0x20]
movsd qword [esi + 0x38], xmm2
movsd xmm2, qword [ecx + 0x18]
movsd qword [esi + 0x48], xmm0
movsd qword [esi + 0x30], xmm1
movsd xmm1, qword [ecx + 0x10]
movsd qword [esi + 0x28], xmm2
movsd xmm2, qword [ecx]
movsd qword [esi + 0x20], xmm1
movsd xmm1, qword [ecx + 8]
movsd qword [esi + 0x10], xmm2
movsd qword [esi + 0x18], xmm1
mov byte [esi + 0x56], al
mov edi, dword [esi + 0x50]
test edi, edi
je 0x100da1cb
mov eax, dword [edi + 4]
test eax, eax
je 0x100da1be
mov ecx, edi
mov dword [esi + 0xc], eax
mov dword [esi + 8], ebx
mov dword [esi + 0xd8], 2
mov dword [esi + 4], edi
call fcn.100b4ac0
mov edi, dword [esi + 0xc]
mov ecx, 0x18
mov ebx, dword [esi + 8]
lea eax, [edi + 1]
mul ecx
mov edx, edi
mov edi, dword [esi + 4]
add eax, 0xf
and eax, 0xfffffff0
add edx, eax
add edx, 0x11
je 0x100da1be
mov ecx, dword [edi]
sub ecx, eax
push 0x10
push edx
push ecx
call fcn.10013780
add esp, 0xc
push 4
push 0x10
push edi
call fcn.10013780
add esp, 0xc
mov edi, dword [ebp + 8]
mov dword [esi + 0x50], ebx
push 0x70
lea eax, [esi + 0x10]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0xd0]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100db590
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov esi, esp
mov dword [esi + 0x80], ebp
mov dword [esi + 0x84], esp
mov dword [esi + 0x90], 0xffffffff
mov dword [esi + 0x8c], 0x100de170
mov edx, dword [ebp + 8]
lea eax, [esi + 0x88]
mov ecx, dword fs:[0]
mov dword [esi + 0x88], ecx
mov dword fs:[0], eax
cmp dword [edx + 0x10], 0
jne 0x100db72f
lea eax, [esi + 0x50]
lea ebx, [edx + 0x14]
push dword [edx + 0xc]
push dword [edx + 8]
push eax
call fcn.101600e0
add esp, 0xc
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x50]
mov edi, dword [esi + 0x54]
mov dword [esi + 0x90], 0
mov dword [esi + 0xc], edi
mov dword [esi + 8], edx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], eax
push dword [ebp + 0xc]
push ebx
call fcn.100720e0
add esp, 8
mov ebx, eax
lea eax, [esi + 8]
mov dword [esi + 0x90], 0xffffffff
push eax
call fcn.101601a0
add esp, 4
test bl, bl
jne 0x100db719
mov ecx, dword [ebp + 8]
mov dword [esi + 0x60], 2
mov byte [esi + 7], bl
lea edx, [esi + 0x40]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov byte [esi + 6], 1
mov dword [esi + 0x90], 1
push ecx
push eax
push edx
call fcn.101600e0
add esp, 0xc
mov ecx, dword [esi + 0x48]
mov edx, dword [esi + 0x40]
mov edi, dword [esi + 0x44]
movsd xmm1, qword [esi + 0x68]
mov eax, dword [esi + 0x4c]
movsd xmm0, qword [esi + 0x60]
movsd xmm2, qword [esi + 0x70]
mov dword [esi + 0x90], 2
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], ecx
mov ecx, dword [ebp + 8]
movsd qword [esi + 0x10], xmm1
movsd xmm1, qword [esi + 0x78]
mov dword [esi + 0x3c], eax
movsd qword [esi + 8], xmm0
movsd qword [esi + 0x18], xmm2
add ecx, 0x10
movsd qword [esi + 0x20], xmm1
mov dword [esi + 0x2c], ecx
call fcn.100d7090
movsd xmm0, qword [esi + 0x20]
mov eax, dword [esi + 0x2c]
movsd qword [eax + 0x18], xmm0
movsd xmm0, qword [esi + 0x18]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [esi + 8]
movsd xmm1, qword [esi + 0x10]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
lea eax, [esi + 0x30]
mov byte [esi + 6], 0
mov dword [esi + 0x90], 1
push eax
call fcn.101601a0
add esp, 4
movzx ebx, byte [esi + 7]
mov eax, dword [esi + 0x88]
mov dword fs:[0], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esi + 0x60]
mov dword [esi + 8], 0x101e0848
mov dword [esi + 0xc], 1
mov dword [esi + 0x18], 0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0
lea eax, [esi + 8]
push 0x101e08bc
push eax
call fcn.101cc880
nop
push ebp
sub esp, 0xc
lea esi, [ebp - 0x94]
mov ebp, dword [esi + 0x80]
lea eax, [esi + 8]
push eax
call fcn.101601a0
add esp, 0x10
pop ebp
ret