joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4789d0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
mov eax, dword [0x6d45e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, edx
mov dword [ebp - 0x18], 0x67452301
push esi
mov edx, ecx
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x14], 0xefcdab89
mov dword [ebp - 0x10], 0x98badcfe
mov dword [ebp - 0xc], 0x10325476
mov dword [ebp - 8], 0xc3d2e1f0
push edi
cmp eax, 0x40
jb 0x478aa3
lea ebx, [eax - 0x40]
mov dword [ebp - 0x164], ebx
lea edi, [esi + 0x40]
cmp esi, edi
jae 0x478a85
mov ebx, dword [ebp - 0x160]
lea edx, [ebp - 0x158]
jmp 0x478a50
movzx ecx, byte [ebx + esi]
lea edx, [edx + 4]
movzx eax, byte [ebx + esi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + esi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + esi + 3]
shl ecx, 8
add esi, 4
or ecx, eax
mov dword [edx - 4], ecx
cmp esi, edi
jb 0x478a50
mov ebx, dword [ebp - 0x164]
lea edx, [ebp - 0x158]
lea ecx, [ebp - 0x18]
call fcn.00478760
cmp esi, ebx
jbe 0x478a32
mov edx, dword [ebp - 0x160]
mov eax, dword [ebp - 0x15c]
mov ebx, eax
mov eax, 0xf
sub ebx, esi
lea esp, [esp]
mov dword [ebp + eax*4 - 0x158], 0
dec eax
jns 0x478ab0
xor edi, edi
lea ecx, [edi + 3]
test ebx, ebx
je 0x478afa
add esi, edx
lea esp, [esp]
mov eax, edi
lea edx, [ebp - 0x158]
shr eax, 2
lea edx, [edx + eax*4]
mov eax, edi
and eax, 3
sub ecx, eax
movzx eax, byte [esi + edi]
shl ecx, 3
inc edi
shl eax, cl
mov ecx, 3
or dword [edx], eax
cmp edi, ebx
jb 0x478ad0
mov eax, edi
lea edx, [ebp - 0x158]
shr eax, 2
and edi, 3
lea edx, [edx + eax*4]
sub ecx, edi
shl ecx, 3
mov eax, 0x80
shl eax, cl
or dword [edx], eax
cmp ebx, 0x38
jb 0x478b3f
lea edx, [ebp - 0x158]
lea ecx, [ebp - 0x18]
call fcn.00478760
mov eax, 0xf
mov dword [ebp + eax*4 - 0x158], 0
dec eax
jns 0x478b31
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x158]
shl eax, 3
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x11c], eax
call fcn.00478760
mov esi, dword [ebp - 0x168]
mov edx, 0x13
or ecx, 0xffffffff
mov eax, edx
sar eax, 2
sub ecx, edx
and ecx, 3
shl ecx, 3
mov eax, dword [ebp + eax*4 - 0x18]
shr eax, cl
mov byte [esi + edx], al
dec edx
jns 0x478b67
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c392d
mov esp, ebp
pop ebp
ret
Function at 0x48a050
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6252a0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6d45e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.004c4828
mov dword [ebp - 4], 0
lea ecx, [esi + 0x14]
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
lea eax, [edi + 0x14]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00404890
mov dword [esi], vtable.boost::thread_resource_error.0
mov dword [ebp - 4], 1
mov dword [esi + 0x2c], vtable.boost::exception.0
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x30], ecx
test ecx, ecx
je 0x48a0e0
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, esi
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.0
mov dword [esi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.1.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x48a320
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6252a0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6d45e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.004c4828
mov dword [ebp - 4], 0
lea ecx, [esi + 0x14]
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
lea eax, [edi + 0x14]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00404890
mov dword [esi], vtable.boost::lock_error.0
mov dword [ebp - 4], 1
mov dword [esi + 0x2c], vtable.boost::exception.0
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x30], ecx
test ecx, ecx
je 0x48a3b0
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, esi
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov dword [esi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x48cb00
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62edc6
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6d45e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 8]
lea ecx, [ebx + 4]
mov esi, dword [ebp + 0xc]
mov dword [ebx], eax
push esi
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
call fcn.00434e00
mov eax, dword [esi + 8]
mov dword [ebx + 0xc], eax
mov esi, dword [ebp + 0x10]
lea ecx, [ebx + 0x10]
mov dword [ebp - 4], 0
push esi
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
call fcn.00434e00
mov eax, dword [esi + 8]
mov dword [ebx + 0x18], eax
mov edi, dword [ebp + 0x18]
lea ecx, [ebx + 0x30]
mov byte [ebp - 4], 1
mov dword [ebx + 0x1c], 0
mov eax, dword [edi]
mov dword [ebx + 0x20], eax
mov eax, dword [edi + 4]
mov dword [ebx + 0x24], eax
mov eax, dword [edi + 8]
add edi, 0x10
push edi
mov dword [ebx + 0x28], eax
call fcn.00492b10
mov eax, dword [edi + 0x30]
mov dword [ebx + 0x60], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x48cbc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x62edf8
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push esi
push edi
mov eax, dword [0x6d45e0]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 0x10]
mov eax, edi
mov dword [esi + 0x1c], edi
dec eax
je 0x48cc41
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
test eax, eax
jne 0x48cc11
cmp dword [esi + 0x10], eax
je 0x48cd68
cmp eax, dword [esi + 0x10]
jne 0x48cc27
mov eax, dword [ecx + 8]
cmp eax, dword [esi + 0x18]
sete al
test al, al
jne 0x48cd68
mov eax, dword [esi]
cmp dword [eax], 0xffffffff
je 0x48cd59
cmp dword [ebp + 8], 0
je 0x48cd68
call fcn.00485400
mov eax, dword [esi + 4]
test eax, eax
jne 0x48cc4d
cmp dword [esi + 0x10], eax
je 0x48cc67
cmp eax, dword [esi + 0x10]
jne 0x48ccf9
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x18]
sete al
test al, al
je 0x48ccf9
test edi, edi
je 0x48cbfe
mov eax, dword [0x6f62c8]
test al, 1
jne 0x48cc93
or eax, 1
mov dword [0x6f62c4], 0x69b3d0
push 0x63e410
mov dword [0x6f62c8], eax
call fcn.004c4179
add esp, 4
sub esp, 0x68
mov dword [ebp + 8], 3
mov ecx, esp
mov dword [ebp + 0xc], 0x6f62c4
lea edi, [ebp + 8]
push esi
call fcn.0048dd40
mov edx, edi
lea ecx, [esp + 0x9c]
call fcn.00492700
add esp, 0x68
mov dword [esp + 0xb0], 0
push eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x40]
mov ecx, dword [ecx + 0xc]
call fcn.00492770
lea ecx, [esp + 0x34]
call fcn.0048a940
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esi]
lea eax, [ebp + 8]
push eax
push ecx
lea eax, [esp + 0x14]
mov ecx, dword [ecx + 0x40]
push eax
add ecx, 0x14
call fcn.00473650
imul edx, dword [esi + 0xc], 0x4c
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push esi
add edx, dword [eax]
movdqu xmm0, xmmword [edx]
movdqu xmmword [esp + 0x18], xmm0
movq xmm0, qword [edx + 0x10]
movq qword [esp + 0x28], xmm0
mov eax, dword [edx + 0x18]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x18]
push eax
call fcn.00492560
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
call fcn.005acf90
mov dword [ebp + 8], 0x3e3
mov dword [ebp + 0xc], eax
lea eax, [esi + 4]
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [esi + 0x20]
call fcn.00492060
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x493780
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6252c8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6d45e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.004c4828
mov dword [ebp - 4], 0
lea ecx, [edi + 0x14]
mov dword [edi], vtable.boost::system::system_error.0
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
lea eax, [esi + 0x14]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00404890
mov dword [edi + 0x2c], vtable.boost::exception.0
mov eax, edi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.0
mov dword [edi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.1.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x493900
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6252c8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6d45e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.004c4828
mov dword [ebp - 4], 0
lea ecx, [edi + 0x14]
mov dword [edi], vtable.boost::system::system_error.0
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
lea eax, [esi + 0x14]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00404890
mov dword [edi + 0x2c], vtable.boost::exception.0
mov eax, edi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov dword [edi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4a0400
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x6d45e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov dword [ebp - 0x10], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
test byte [ebx + 0xd], 0x80
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], edi
je 0x4a0463
mov eax, dword [ebx + 0x48]
xor ecx, ecx
mov edx, dword [eax + 8]
mov dword [ebp - 8], edx
test esi, esi
je 0x4a0451
lea esp, [esp]
mov eax, ecx
and eax, 3
mov al, byte [ebp + eax - 8]
xor byte [edi + ecx], al
inc ecx
cmp ecx, esi
jb 0x4a0440
mov ecx, esi
and ecx, 3
je 0x4a045d
shl ecx, 3
ror edx, cl
mov eax, dword [ebx + 0x48]
mov dword [eax + 8], edx
mov eax, dword [ebx + 0x48]
push esi
push dword [ebp - 0xc]
mov edi, dword [eax]
mov eax, dword [edi + 0x48]
add edi, 0x38
mov ecx, edi
mov dword [ebp - 8], eax
call fcn.00405dc0
mov eax, dword [ebx + 0x48]
mov eax, dword [eax]
cmp dword [eax + 0x50], 1
jne 0x4a0504
mov edx, dword [edi + 0x14]
cmp edx, 0x10
jb 0x4a0493
mov ecx, dword [edi]
jmp 0x4a0495
mov ecx, edi
mov eax, dword [edi + 0x10]
add eax, ecx
cmp edx, 0x10
jb 0x4a04a1
mov edi, dword [edi]
mov ecx, dword [ebp - 8]
add ecx, edi
push eax
push ecx
mov ecx, dword [ebx + 0x48]
add ecx, 0xc
call fcn.00487180
test al, al
jne 0x4a0504
mov eax, dword [0x6f65e8]
test al, 1
jne 0x4a04df
or eax, 1
mov dword [0x6f65ec], 0x6a05dc
push 0x63f440
mov dword [0x6f65e8], eax
call fcn.004c4179
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x10
mov dword [eax + 4], 0x6f65ec
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c392d
mov esp, ebp
pop ebp
ret 0xc
sub dword [ebx + 0x18], esi
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c392d
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4a0790
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x6d45e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 8], eax
cmp dword [edi + 0x14], 0x10
jb 0x4a07b4
mov edi, dword [edi]
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x4a07c3
mov edx, dword [esi]
jmp 0x4a07c5
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
cmp ecx, 0x10
jb 0x4a07d1
mov esi, dword [esi]
xor ecx, ecx
mov ebx, eax
sub ebx, esi
xor edx, edx
cmp esi, eax
cmova ebx, ecx
test ebx, ebx
je 0x4a07f5
mov al, byte [edx + esi]
xor al, byte [ebp + ecx - 8]
inc ecx
mov byte [edx + edi], al
and ecx, 3
inc edx
cmp edx, ebx
jne 0x4a07e2
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c392d
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4a3d30
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x631b51
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x6d45e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov ebx, dword [ebp + 8]
push dword [0x6f6340]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a3d81
cmp dword [eax], edi
je 0x4a3db7
mov eax, dword [eax + 8]
test eax, eax
jne 0x4a3d76
push esi
push 0x78
mov dword [ebp - 0x38], esi
call fcn.0046ff90
add esp, 8
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4a3de4
push esi
mov ecx, eax
call fcn.004a5d40
mov edi, eax
jmp 0x4a3de6
cmp dword [eax + 4], 0
je 0x4a3d81
push ecx
lea ecx, [ebp - 0x1d]
call fcn.004705f0
push esi
push esi
mov dword [ebp - 4], 0
call fcn.004b3b20
add esp, 8
lea ecx, [ebp - 0x1d]
call fcn.00470600
jmp 0x4a3e7d
xor edi, edi
mov ecx, dword [ebp - 0x24]
push edi
push ebx
mov byte [ebp - 4], 1
call fcn.00475330
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
test al, al
je 0x4a3e7d
mov eax, dword [ebx]
xorps xmm0, xmm0
push dword [0x6f6340]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push dword [0x6f6340]
mov dword [ebp - 0x18], eax
call esi
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 4
call fcn.005acf90
push 0
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x24]
push edi
push dword [eax + 0x14]
call fcn.004a5d90
add esp, 0x10
lea ecx, [ebp - 0x2c]
call fcn.00474f60
push dword [ebp - 0x14]
push dword [0x6f6340]
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c392d
mov esp, ebp
pop ebp
ret 8
Function at 0x4a4ed0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x631eb8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x6d45e0]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x6d45e0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x30], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0x6df510
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
mov dword [esp + 0x70], 0
xorps xmm0, xmm0
movq qword [esp + 0x34], xmm0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov byte [esp + 0x70], 1
lea ecx, [esp + 0x18]
push 0x18
push str.Sec_WebSocket_Extensions
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call fcn.00404a10
lea eax, [esp + 0x34]
mov byte [esp + 0x70], 2
push eax
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.0046daa0
cmp dword [esp + 0x2c], 0x10
mov bl, al
jb 0x4a4fc0
push dword [esp + 0x18]
call fcn.004c41b0
add esp, 4
test bl, bl
je 0x4a5024
mov eax, dword [0x6f65e8]
test al, 1
jne 0x4a4fec
or eax, 1
mov dword [0x6f65ec], 0x6a05dc
push 0x63f440
mov dword [0x6f65e8], eax
call fcn.004c4179
add esp, 4
lea eax, [esp + 0x48]
mov dword [esp + 0x40], 0x1c
push eax
lea ecx, [edi + 8]
mov dword [esp + 0x48], 0x6f65ec
mov dword [edi], 0x1c
mov dword [edi + 4], 0x6f65ec
call fcn.00404740
mov esi, dword [esp + 0x34]
test esi, esi
je 0x4a507c
mov edx, dword [esp + 0x38]
jmp 0x4a5067
mov ebx, dword [esp + 0x38]
lea ecx, [edi + 8]
mov esi, dword [esp + 0x34]
mov eax, ebx
sub eax, esi
test eax, 0xffffffe0
mov eax, dword [esp + 0x40]
mov dword [edi], eax
mov eax, dword [esp + 0x44]
mov dword [edi + 4], eax
lea eax, [esp + 0x48]
push eax
jne 0x4a505c
call fcn.00404740
lea ecx, [esp + 0x34]
call fcn.00407340
jmp 0x4a507c
call fcn.00404740
test esi, esi
je 0x4a507c
mov edx, ebx
push dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00408030
push esi
call fcn.004c41b0
add esp, 0xc
cmp dword [esp + 0x5c], 0x10
jb 0x4a508f
push dword [esp + 0x48]
call fcn.004c41b0
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.004c392d
mov esp, ebp
pop ebp
ret 8
Function at 0x4a60d0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63202b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6d45e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
lea ecx, [edi + 4]
push dword [ebp + 0xc]
mov dword [edi], eax
call fcn.00496270
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
sete al
mov byte [edi + 0x10], al
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov ecx, dword [edi + 4]
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], 0xffffffff
test al, al
jne 0x4a6144
mov eax, dword [ecx]
mov dword [edi + 0x14], eax
mov eax, dword [ecx + 4]
mov dword [edi + 0x18], eax
add dword [edi + 0x1c], 8
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 4], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov eax, dword [ecx]
mov dword [edi + 0x30], eax
mov eax, dword [ecx + 4]
mov dword [edi + 0x34], eax
mov eax, dword [ecx + 8]
mov dword [edi + 0x38], eax
mov eax, dword [ecx + 0x10]
mov dword [edi + 0x40], eax
lea eax, [ecx + 0x18]
push eax
lea ecx, [edi + 0x48]
call fcn.0049f6f0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4a6500
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63205b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6d45e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 8]
lea edi, [ecx + 4]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebx]
lea esi, [ebx + 4]
mov dword [ecx], eax
mov ecx, edi
push esi
call fcn.00496270
mov al, byte [esi + 0xc]
mov byte [edi + 0xc], al
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [edi]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x18]
sub eax, dword [esi]
and eax, 0xfffffff8
add dword [edi + 0x18], eax
mov dword [ebp - 4], 0
lea esi, [ebx + 0x40]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x24]
push esi
mov dword [ecx + 0x24], eax
lea edi, [ecx + 0x40]
mov eax, dword [ebx + 0x28]
mov dword [ecx + 0x28], eax
mov eax, dword [ebx + 0x30]
mov dword [ecx + 0x30], eax
mov eax, dword [ebx + 0x34]
mov dword [ecx + 0x34], eax
mov eax, dword [ebx + 0x38]
mov dword [ecx + 0x38], eax
mov ecx, edi
call fcn.004997b0
mov eax, dword [ebp - 0x10]
add edi, 0x20
add esi, 0x20
mov dword [edi], 0
mov dword [edi + 4], 0
cmp edi, esi
je 0x4a65cf
mov edx, dword [edi + 4]
mov ecx, dword [esi + 4]
mov dword [edi + 4], ecx
mov dword [esi + 4], edx
mov edx, dword [edi]
mov ecx, dword [esi]
mov dword [edi], ecx
mov dword [esi], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4a8ae0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x632511
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x6d45e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov ebx, dword [ebp + 8]
push dword [0x6f6340]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a8b31
cmp dword [eax], edi
je 0x4a8b67
mov eax, dword [eax + 8]
test eax, eax
jne 0x4a8b26
push esi
push 0x60
mov dword [ebp - 0x38], esi
call fcn.0046ff90
add esp, 8
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4a8b94
push esi
mov ecx, eax
call fcn.004aaf60
mov edi, eax
jmp 0x4a8b96
cmp dword [eax + 4], 0
je 0x4a8b31
push ecx
lea ecx, [ebp - 0x1d]
call fcn.004705f0
push esi
push esi
mov dword [ebp - 4], 0
call fcn.004b43c0
add esp, 8
lea ecx, [ebp - 0x1d]
call fcn.00470600
jmp 0x4a8c2d
xor edi, edi
mov ecx, dword [ebp - 0x24]
push edi
push ebx
mov byte [ebp - 4], 1
call fcn.00475330
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
test al, al
je 0x4a8c2d
mov eax, dword [ebx]
xorps xmm0, xmm0
push dword [0x6f6340]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push dword [0x6f6340]
mov dword [ebp - 0x18], eax
call esi
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 4
call fcn.005acf90
push 0
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x24]
push edi
push dword [eax + 0x14]
call fcn.004aafd0
add esp, 0x10
lea ecx, [ebp - 0x2c]
call fcn.00474f60
push dword [ebp - 0x14]
push dword [0x6f6340]
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c392d
mov esp, ebp
pop ebp
ret 8