joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ca740
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa0
mov esi, esp
mov dword [esi + 0x88], ebp
mov dword [esi + 0x8c], esp
mov dword [esi + 0x98], 0xffffffff
mov dword [esi + 0x94], 0x4cb7a0
mov dword [esi + 0x48], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword fs:[0]
mov dword [esi + 0x90], eax
lea eax, [esi + 0x90]
mov dword fs:[0], eax
mov byte [esi + 1], 0
mov dword [esi + 0x98], 0
mov eax, dword [edx]
mov ebx, dword [ecx + 8]
add edx, 4
mov dword [esi + 0x4c], eax
mov dword [esi + 0xc], eax
mov eax, dword [ecx]
mov dword [esi + 0x50], edx
lea edx, [esi + 0x4c]
lea ecx, [esi + 0x10]
push 1
push dword [ebp + 8]
mov dword [esi + 4], ebx
push ebx
mov dword [esi + 8], eax
push eax
push edx
push ecx
call fcn.004e1220
add esp, 0x18
mov eax, dword [esi + 0x24]
mov edi, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov ebx, dword [esi + 0x38]
test eax, eax
je 0x4ca802
mov dword [esi + 0x44], ecx
mov ecx, dword [esi + 0x20]
lea edx, [eax*4 + 0x13]
and edx, 0xfffffff0
lea eax, [eax + edx + 0x11]
sub ecx, edx
push 0x10
push eax
push ecx
call fcn.00452e30
mov ecx, dword [esi + 0x44]
add esp, 0xc
shl ebx, 4
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ecx
lea ecx, [esi + 0x10]
mov dword [esi + 0x18], edi
mov byte [esi + 1], 0
lea eax, [esi + 0x70]
add ebx, edi
mov dword [esi + 0x1c], ebx
push ecx
push eax
call fcn.004cd0b0
add esp, 8
mov edx, dword [ebp + 8]
mov byte [esi + 2], 1
mov dword [esi + 0x98], 1
mov ecx, dword [edx + 0x28]
mov eax, dword [edx + 0x20]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x10], eax
shl ecx, 4
add ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x14], ecx
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x18], edx
mov eax, dword [eax + 4]
mov dword [esi + 0x1c], ecx
mov ecx, dword [esi + 8]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x28], ecx
lea eax, [ecx + eax*8]
lea ecx, [esi + 0x10]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x54]
push ecx
push eax
call fcn.004d3310
add esp, 8
mov eax, dword [esi + 0x78]
movsd xmm0, qword [esi + 0x70]
mov ecx, dword [esi + 0x54]
mov byte [esi + 3], 1
mov dword [esi + 0x98], 2
lea edx, [esi + 0x7c]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x5c]
movsd qword [esi + 0x60], xmm0
push eax
mov dword [esi + 4], ecx
push ecx
lea eax, [esi + 0x4c]
push eax
push edx
call fcn.004dee10
add esp, 0x10
lea ecx, [esi + 0x7c]
mov byte [esi + 3], 0
lea eax, [esi + 0x60]
push ecx
push eax
push dword [esi + 0xc]
lea eax, [esi + 0x10]
push eax
call fcn.004baaf0
add esp, 0x10
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x48]
movsd xmm0, qword [esi + 0x10]
movsd xmm1, qword [esi + 0x18]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x58]
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
test eax, eax
je 0x4ca908
shl eax, 3
push 8
push eax
push dword [esi + 4]
call fcn.00452e30
add esp, 0xc
mov eax, dword [esi + 0x90]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4d21a0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x70
mov esi, esp
mov dword [esi + 0x58], ebp
mov dword [esi + 0x5c], esp
mov dword [esi + 0x68], 0xffffffff
mov dword [esi + 0x64], 0x4d5cb0
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
lea eax, [esi + 0x60]
mov ecx, dword fs:[0]
mov dword [esi + 0x60], ecx
mov dword fs:[0], eax
lea eax, [esi + 0x30]
push edi
push edi
push eax
call fcn.004de5f0
add esp, 0xc
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4d233a
mov ebx, dword [esi + 0x44]
movsd xmm0, qword [esi + 0x3c]
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
mov dword [esi + 0x2c], ebx
movsd qword [esi + 0x24], xmm0
mov dword [esi + 0x1c], edx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x20], eax
movzx eax, byte [0x636fbd]
push 8
push 0x60
call fcn.00452e20
add esp, 8
test eax, eax
je 0x4d2361
movsd xmm1, qword [esi + 0x20]
movsd xmm0, qword [esi + 0x28]
movsd xmm3, qword [esi + 0x18]
movsd xmm2, qword [edi]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 4
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], 1
mov dword [esi + 4], 1
movsd qword [eax + 8], xmm1
movsd xmm1, qword [edi + 8]
movsd qword [eax + 0x10], xmm0
movsd qword [eax], xmm3
movsd qword [esi + 0x48], xmm2
movsd qword [esi + 0x50], xmm1
jmp 0x4d22b4
movsd xmm0, qword [esi + 0x18]
movsd xmm1, qword [esi + 0x20]
movsd xmm2, qword [esi + 0x28]
lea eax, [edx + edx*2]
inc edx
mov dword [esi + 0x14], ecx
mov dword [esi + 4], edx
movsd qword [ecx + eax*8 + 0x10], xmm2
movsd qword [ecx + eax*8 + 8], xmm1
movsd qword [ecx + eax*8], xmm0
mov dword [esi + 0x10], edx
mov dword [esi + 0x68], 1
lea eax, [esi + 0x48]
mov dword [esi + 0x68], 1
push eax
push eax
lea eax, [esi + 0x30]
push eax
call fcn.004de5f0
add esp, 0xc
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4d2326
lea edx, [esi + 0x3c]
lea edi, [esi + 0x24]
mov ecx, dword [edx + 8]
movsd xmm0, qword [edx]
mov edx, dword [esi + 4]
mov dword [edi + 8], ecx
mov ecx, dword [esi + 0x34]
movsd qword [edi], xmm0
cmp dword [esi + 0xc], edx
mov dword [esi + 0x1c], ecx
mov ecx, dword [esi + 0x30]
mov dword [esi + 0x18], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x20], eax
jne 0x4d2280
mov dword [esi + 0x68], 2
push 1
push edx
lea eax, [esi + 8]
push eax
call fcn.005ae210
add esp, 0xc
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
jmp 0x4d2280
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 0x10]
movsd xmm0, qword [esi + 8]
mov dword [ebx + 8], eax
movsd qword [ebx], xmm0
jmp 0x4d234e
mov dword [ebx], 8
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov eax, dword [esi + 0x60]
mov dword fs:[0], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esi + 0x68], 0
push 0x60
push 8
call fcn.005b14d0
add esp, 8
ud2
Function at 0x4d2770
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x70
mov esi, esp
mov dword [esi + 0x58], ebp
mov dword [esi + 0x5c], esp
mov dword [esi + 0x68], 0xffffffff
mov dword [esi + 0x64], 0x4d5ce0
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
lea eax, [esi + 0x60]
mov ecx, dword fs:[0]
mov dword [esi + 0x60], ecx
mov dword fs:[0], eax
lea eax, [esi + 0x30]
push edi
push edi
push eax
call fcn.004de710
add esp, 0xc
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4d290a
mov ebx, dword [esi + 0x44]
movsd xmm0, qword [esi + 0x3c]
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
mov dword [esi + 0x2c], ebx
movsd qword [esi + 0x24], xmm0
mov dword [esi + 0x1c], edx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x20], eax
movzx eax, byte [0x636fbd]
push 8
push 0x60
call fcn.00452e20
add esp, 8
test eax, eax
je 0x4d2931
movsd xmm1, qword [esi + 0x20]
movsd xmm0, qword [esi + 0x28]
movsd xmm3, qword [esi + 0x18]
movsd xmm2, qword [edi]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 4
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], 1
mov dword [esi + 4], 1
movsd qword [eax + 8], xmm1
movsd xmm1, qword [edi + 8]
movsd qword [eax + 0x10], xmm0
movsd qword [eax], xmm3
movsd qword [esi + 0x48], xmm2
movsd qword [esi + 0x50], xmm1
jmp 0x4d2884
movsd xmm0, qword [esi + 0x18]
movsd xmm1, qword [esi + 0x20]
movsd xmm2, qword [esi + 0x28]
lea eax, [edx + edx*2]
inc edx
mov dword [esi + 0x14], ecx
mov dword [esi + 4], edx
movsd qword [ecx + eax*8 + 0x10], xmm2
movsd qword [ecx + eax*8 + 8], xmm1
movsd qword [ecx + eax*8], xmm0
mov dword [esi + 0x10], edx
mov dword [esi + 0x68], 1
lea eax, [esi + 0x48]
mov dword [esi + 0x68], 1
push eax
push eax
lea eax, [esi + 0x30]
push eax
call fcn.004de710
add esp, 0xc
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4d28f6
lea edx, [esi + 0x3c]
lea edi, [esi + 0x24]
mov ecx, dword [edx + 8]
movsd xmm0, qword [edx]
mov edx, dword [esi + 4]
mov dword [edi + 8], ecx
mov ecx, dword [esi + 0x34]
movsd qword [edi], xmm0
cmp dword [esi + 0xc], edx
mov dword [esi + 0x1c], ecx
mov ecx, dword [esi + 0x30]
mov dword [esi + 0x18], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x20], eax
jne 0x4d2850
mov dword [esi + 0x68], 2
push 1
push edx
lea eax, [esi + 8]
push eax
call fcn.005ae210
add esp, 0xc
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
jmp 0x4d2850
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 0x10]
movsd xmm0, qword [esi + 8]
mov dword [ebx + 8], eax
movsd qword [ebx], xmm0
jmp 0x4d291e
mov dword [ebx], 8
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov eax, dword [esi + 0x60]
mov dword fs:[0], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esi + 0x68], 0
push 0x60
push 8
call fcn.005b14d0
add esp, 8
ud2
Function at 0x4d47e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x88
mov esi, esp
mov dword [esi + 0x70], ebp
mov dword [esi + 0x74], esp
mov dword [esi + 0x80], 0xffffffff
mov dword [esi + 0x7c], 0x4d5db0
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
lea eax, [esi + 0x78]
mov ecx, dword fs:[0]
mov dword [esi + 0x78], ecx
mov dword fs:[0], eax
lea eax, [esi + 0x30]
push ebx
push eax
call fcn.004ee200
add esp, 8
cmp dword [esi + 0x30], 0
je 0x4d4845
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x4d4860
mov eax, dword [ebx + 0x2c]
sub eax, ecx
shr eax, 3
jmp 0x4d4862
mov dword [edi], 8
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, edi
jmp 0x4d49be
xor eax, eax
cmp eax, 4
mov ebx, 3
cmovae ebx, eax
xor ecx, ecx
cmp ebx, 0xfffffff
setb al
jae 0x4d49ea
mov cl, al
lea edi, [ebx*8 + 8]
inc ebx
shl ecx, 3
test edi, edi
js 0x4d49ea
mov edx, dword [esi + 0x3c]
mov eax, dword [esi + 0x38]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edi
mov dword [esi + 4], eax
je 0x4d49d0
movzx eax, byte [0x636fbd]
push ecx
push edi
mov edi, edx
call fcn.00452e20
mov edx, edi
add esp, 8
test eax, eax
je 0x4d49da
mov ecx, dword [esi + 4]
mov dword [eax + 4], edx
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 1
movsd xmm1, qword [ecx + 0x20]
movsd xmm2, qword [ecx + 0x18]
movsd xmm0, qword [ecx + 0x28]
movsd qword [esi + 0x60], xmm1
movsd xmm1, qword [ecx + 0x10]
movsd qword [esi + 0x58], xmm2
movsd xmm2, qword [ecx]
movsd qword [esi + 0x68], xmm0
movsd qword [esi + 0x50], xmm1
movsd xmm1, qword [ecx + 8]
movsd qword [esi + 0x40], xmm2
movsd qword [esi + 0x48], xmm1
jmp 0x4d4941
mov dword [eax + edx*8], ebx
mov dword [eax + edx*8 + 4], edi
inc edx
mov dword [esi + 8], eax
mov dword [esi + 4], edx
mov dword [esi + 0x18], edx
lea eax, [esi + 0x40]
mov dword [esi + 0x80], 0
push eax
lea eax, [esi + 0x20]
push eax
call fcn.004ee200
add esp, 8
cmp dword [esi + 0x20], 1
mov edx, dword [esi + 4]
jne 0x4d49ac
mov edi, dword [esi + 0x2c]
mov ebx, dword [esi + 0x28]
cmp edx, dword [esi + 0x14]
mov eax, dword [esi + 8]
jne 0x4d4930
cmp dword [esi + 0x40], 0
mov ecx, dword [esi + 0x68]
mov dword [esi + 0xc], edi
mov dword [esi + 0x1c], ebx
test ecx, ecx
je 0x4d498d
mov eax, dword [esi + 0x6c]
sub eax, ecx
shr eax, 3
jmp 0x4d498f
xor eax, eax
inc eax
push eax
push edx
lea eax, [esi + 0x10]
push eax
call fcn.005ae0b0
add esp, 0xc
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 4]
mov edi, dword [esi + 0xc]
mov ebx, dword [esi + 0x1c]
jmp 0x4d4930
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x18]
movsd xmm0, qword [esi + 0x10]
mov dword [eax + 8], ecx
movsd qword [eax], xmm0
mov ecx, dword [esi + 0x78]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, ecx
test eax, eax
jne 0x4d48c5
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.005b14d0
add esp, 8
ud2
call fcn.00538200
ud2
Function at 0x4d4a20
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x70
mov esi, esp
mov dword [esi + 0x58], ebp
mov dword [esi + 0x5c], esp
mov dword [esi + 0x68], 0xffffffff
mov dword [esi + 0x64], 0x4d5dc0
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
lea eax, [esi + 0x60]
mov ecx, dword fs:[0]
mov dword [esi + 0x60], ecx
mov dword fs:[0], eax
lea eax, [esi + 0x30]
push edi
push edi
push eax
call fcn.004de0f0
add esp, 0xc
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4d4bba
mov ebx, dword [esi + 0x44]
movsd xmm0, qword [esi + 0x3c]
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
mov dword [esi + 0x2c], ebx
movsd qword [esi + 0x24], xmm0
mov dword [esi + 0x1c], edx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x20], eax
movzx eax, byte [0x636fbd]
push 8
push 0x60
call fcn.00452e20
add esp, 8
test eax, eax
je 0x4d4be1
movsd xmm1, qword [esi + 0x20]
movsd xmm0, qword [esi + 0x28]
movsd xmm3, qword [esi + 0x18]
movsd xmm2, qword [edi]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 4
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], 1
mov dword [esi + 4], 1
movsd qword [eax + 8], xmm1
movsd xmm1, qword [edi + 8]
movsd qword [eax + 0x10], xmm0
movsd qword [eax], xmm3
movsd qword [esi + 0x48], xmm2
movsd qword [esi + 0x50], xmm1
jmp 0x4d4b34
movsd xmm0, qword [esi + 0x18]
movsd xmm1, qword [esi + 0x20]
movsd xmm2, qword [esi + 0x28]
lea eax, [edx + edx*2]
inc edx
mov dword [esi + 0x14], ecx
mov dword [esi + 4], edx
movsd qword [ecx + eax*8 + 0x10], xmm2
movsd qword [ecx + eax*8 + 8], xmm1
movsd qword [ecx + eax*8], xmm0
mov dword [esi + 0x10], edx
mov dword [esi + 0x68], 1
lea eax, [esi + 0x48]
mov dword [esi + 0x68], 1
push eax
push eax
lea eax, [esi + 0x30]
push eax
call fcn.004de0f0
add esp, 0xc
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4d4ba6
lea edx, [esi + 0x3c]
lea edi, [esi + 0x24]
mov ecx, dword [edx + 8]
movsd xmm0, qword [edx]
mov edx, dword [esi + 4]
mov dword [edi + 8], ecx
mov ecx, dword [esi + 0x34]
movsd qword [edi], xmm0
cmp dword [esi + 0xc], edx
mov dword [esi + 0x1c], ecx
mov ecx, dword [esi + 0x30]
mov dword [esi + 0x18], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x20], eax
jne 0x4d4b00
mov dword [esi + 0x68], 2
push 1
push edx
lea eax, [esi + 8]
push eax
call fcn.005ae210
add esp, 0xc
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
jmp 0x4d4b00
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 0x10]
movsd xmm0, qword [esi + 8]
mov dword [ebx + 8], eax
movsd qword [ebx], xmm0
jmp 0x4d4bce
mov dword [ebx], 8
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov eax, dword [esi + 0x60]
mov dword fs:[0], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esi + 0x68], 0
push 0x60
push 8
call fcn.005b14d0
add esp, 8
ud2
Function at 0x4d53e0
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], 0x4d5e10
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
lea eax, [esi + 0x88]
mov ecx, dword fs:[0]
mov dword [esi + 0x88], ecx
mov dword fs:[0], eax
lea eax, [esi + 0x48]
push edi
push edi
push eax
call fcn.004ddfb0
add esp, 0xc
mov eax, dword [esi + 0x50]
test eax, eax
je 0x4d55d3
mov ebx, dword [esi + 0x5c]
movsd xmm0, qword [esi + 0x54]
mov ecx, dword [esi + 0x48]
mov edx, dword [esi + 0x4c]
mov dword [esi + 0x2c], ebx
movsd qword [esi + 0x24], xmm0
mov dword [esi + 0x1c], edx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x20], eax
movzx eax, byte [0x636fbd]
push 8
push 0x60
call fcn.00452e20
add esp, 8
test eax, eax
je 0x4d55fd
movsd xmm1, qword [esi + 0x20]
movsd xmm2, qword [esi + 0x18]
movsd xmm0, qword [esi + 0x28]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 4
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], 1
mov dword [esi + 4], 1
movsd qword [eax + 8], xmm1
movsd xmm1, qword [edi + 0x30]
movsd qword [eax], xmm2
movsd xmm2, qword [edi + 0x28]
movsd qword [eax + 0x10], xmm0
movsd qword [esi + 0x78], xmm1
movsd xmm1, qword [edi + 0x20]
movsd qword [esi + 0x70], xmm2
movsd xmm2, qword [edi + 0x18]
movsd qword [esi + 0x68], xmm1
movsd xmm1, qword [edi + 0x10]
movsd qword [esi + 0x60], xmm2
movsd xmm2, qword [edi]
movsd qword [esi + 0x58], xmm1
movsd xmm1, qword [edi + 8]
movsd qword [esi + 0x48], xmm2
movsd qword [esi + 0x50], xmm1
jmp 0x4d5547
movsd xmm0, qword [esi + 0x30]
movsd xmm1, qword [esi + 0x38]
movsd xmm2, qword [esi + 0x40]
lea eax, [edx + edx*2]
inc edx
mov dword [esi + 0x14], ecx
mov dword [esi + 4], edx
movsd qword [ecx + eax*8 + 0x10], xmm2
movsd qword [ecx + eax*8 + 8], xmm1
movsd qword [ecx + eax*8], xmm0
mov dword [esi + 0x10], edx
mov dword [esi + 0x90], 1
lea eax, [esi + 0x48]
mov dword [esi + 0x90], 1
push eax
push eax
lea eax, [esi + 0x18]
push eax
call fcn.004ddfb0
add esp, 0xc
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4d55bf
lea edx, [esi + 0x24]
lea edi, [esi + 0x3c]
mov ecx, dword [edx + 8]
movsd xmm0, qword [edx]
mov edx, dword [esi + 4]
mov dword [edi + 8], ecx
mov ecx, dword [esi + 0x1c]
movsd qword [edi], xmm0
cmp edx, dword [esi + 0xc]
mov dword [esi + 0x34], ecx
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x30], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x38], eax
jne 0x4d5510
mov dword [esi + 0x90], 2
push 1
push edx
lea eax, [esi + 8]
push eax
call fcn.005ae210
add esp, 0xc
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
jmp 0x4d5510
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 0x10]
movsd xmm0, qword [esi + 8]
mov dword [ebx + 8], eax
movsd qword [ebx], xmm0
jmp 0x4d55e7
mov dword [ebx], 8
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
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
mov dword [esi + 0x90], 0
push 0x60
push 8
call fcn.005b14d0
add esp, 8
ud2
Function at 0x4eb720
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x140
mov esi, esp
mov dword [esi + 0x128], ebp
mov dword [esi + 0x12c], esp
mov dword [esi + 0x138], 0xffffffff
mov dword [esi + 0x134], 0x4ee040
mov dword [esi + 0x14], ecx
call 0x4eb759
pop eax
lea ecx, [esi + 0x130]
mov dword [esi + 0xc], edx
mov edi, dword fs:[0]
mov dword [esi + 8], eax
mov dword [esi + 0x130], edi
mov dword fs:[0], ecx
mov byte [esi + 7], 1
mov dword [esi + 0x138], 0
lea ecx, [esi + 0x30]
push dword [ebp + 0x18]
call fcn.004eb4b0
add esp, 4
movzx eax, byte [esi + 0x40]
cmp al, 0x16
jne 0x4eb85d
mov edi, dword [ebp + 0x10]
mov ebx, dword [esi + 8]
mov ecx, 2
movzx edx, byte [ebp + 8]
movzx eax, byte [edi + 0x149]
cmp al, 9
cmovne ecx, eax
movzx eax, cl
movzx ecx, byte [ebp + 0xc]
add ebx, dword [eax*4 + 0x4ec9e4]
jmp ebx
movsd xmm0, qword [esi + 0x30]
mov edx, dword [esi + 0x14]
movsd xmm1, qword [esi + 0x38]
movzx ecx, word [esi + 0x41]
movsd qword [edx + 0xc], xmm1
movsd qword [edx + 4], xmm0
mov word [edx + 0x15], cx
movzx ecx, byte [esi + 0x43]
mov byte [edx + 0x17], cl
mov byte [edx + 0x14], al
mov eax, dword [ebp + 0x14]
mov dword [edx], 9
mov ecx, dword [eax + 8]
mov eax, dword [eax]
test ecx, ecx
mov dword [esi + 0xc], eax
je 0x4ec6cc
mov eax, dword [esi + 0xc]
mov edi, ecx
lea ebx, [eax + 4]
jmp 0x4eb8ba
add ebx, 0x10
dec edi
je 0x4ec6cc
mov eax, dword [ebx]
test eax, eax
je 0x4eb8b0
push 1
push eax
push dword [ebx - 4]
call fcn.00452e30
add esp, 0xc
jmp 0x4eb8b0
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
test eax, eax
je 0x4ec6e7
shl eax, 4
push 4
push eax
push dword [esi + 0xc]
call fcn.00452e30
add esp, 0xc
mov eax, dword [esi + 0x130]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x500c10
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [edx], 2
movdqa xmmword [ecx], xmm0
ret

Function at 0x506100
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push esi
mov edi, dword [esp + 0xc]
mov eax, dword [edi]
test eax, eax
je 0x506125
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
jbe 0x50613a
cmp byte [eax + 4], 0
je 0x50613a
add eax, 5
pop esi
pop edi
ret
push edi
call fcn.005b0a70
add esp, 4
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
ja 0x506119
mov eax, dword [edi]
test eax, eax
je 0x5061a7
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x5061bc
mov esi, eax
test eax, eax
jne 0x506181
movzx eax, byte [0x636fbd]
push 4
push 8
call fcn.00452e20
add esp, 8
test eax, eax
je 0x5061cc
mov dword [eax], edi
mov byte [eax + 4], 0
mov esi, eax
mov eax, dword [edi]
test eax, eax
je 0x5061c1
dec eax
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov eax, dword [esp + 0x10]
xor ecx, ecx
test eax, eax
je 0x50619a
cmp byte [eax], 0
mov byte [eax], 0
movzx eax, byte [eax + 1]
cmove eax, ecx
mov ecx, eax
mov byte [esi + 4], 1
lea eax, [esi + 5]
mov byte [esi + 5], cl
pop esi
pop edi
ret
push edi
call fcn.005b0a70
add esp, 4
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
jne 0x50614d
xor eax, eax
pop esi
pop edi
ret
push edi
call fcn.005b0a70
add esp, 4
jmp 0x506179
push 8
push 4
call fcn.005b14d0
add esp, 8
ud2
Function at 0x5071f0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x5073a0
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 eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx]
mov dword [ebp - 0x28], ecx
test eax, eax
je 0x507234
dec eax
jmp 0x507248
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 1
push ecx
call fcn.005b0a70
add esp, 4
mov dword [ebp - 0x10], 0
push 1
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
push 4
push 8
push dword [ebp - 0x24]
call fcn.00452e30
add esp, 0xc
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx]
test eax, eax
je 0x507273
dec eax
jmp 0x507287
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x10], 1
push ecx
call fcn.005b0a70
add esp, 4
mov dword [ebp - 0x10], 0
push 0
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret