joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e4520
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, ecx
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xc], 0
je 0x4e466a
mov eax, dword [0x6cf640]
mov ecx, dword [0x5f75b4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4e4684
push dword [0x5f50f8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [0x6cf640]
mov ecx, dword [0x5f75b4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4e46d0
push dword [0x5f50f8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x4e45bb
mov ecx, dword [0x6cf638]
mov dword [eax + ecx*8], 0
mov ecx, dword [0x6cf63c]
mov edx, dword [0x6cf638]
mov dword [eax + edx*8 + 4], ecx
mov edi, dword [esi]
mov ebx, dword [esi + 4]
cmp edi, ebx
jne 0x4e4623
test edi, edi
jne 0x4e45da
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00512ee3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [esi + 4]
mov eax, edi
cmp ebx, edi
je 0x4e4673
mov eax, dword [ebx - 0xc]
test eax, eax
jne 0x4e4608
mov eax, dword [ebx - 0x20]
add ebx, 0xffffffe0
test eax, eax
je 0x4e4602
lock dec dword [eax + 4]
je 0x4e471c
cmp ebx, edi
jne 0x4e45e7
jmp 0x4e4671
lock dec dword [eax]
jne 0x4e45ee
mov ecx, dword [eax + 8]
mov dword [ebp - 0x14], eax
call dword [section..00cfg]
push dword [ebp - 0x14]
call ecx
add esp, 4
jmp 0x4e45ee
mov dword [ebp - 0x14], esp
mov edx, dword [edi]
mov dword [ebp - 0x1c], edx
push eax
sub esp, 0xc
mov eax, esp
movsd xmm0, qword [edi + 0x18]
movsd qword [eax + 8], xmm0
mov ecx, dword [edi + 0x14]
mov dword [eax + 4], ecx
mov dword [edi + 0x14], 0
lea ecx, [edi + 4]
mov dword [eax], ecx
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
call dword [section..00cfg]
mov ecx, dword [ebp - 0x1c]
call dword [ebp - 0x18]
mov esp, dword [ebp - 0x14]
add edi, 0x20
cmp edi, ebx
jne 0x4e4623
mov edi, dword [esi]
jmp 0x4e45c4
mov eax, dword [esi]
mov dword [esi + 4], edi
push eax
call fcn.0050fc7c
add esp, 4
jmp 0x4e45c8
push 0x6cf640
call fcn.00510c6d
add esp, 4
cmp dword [0x6cf640], 0xffffffff
jne 0x4e4560
mov dword [0x6cf63c], 0
mov dword [0x6cf638], 0xffffffff
mov ecx, 0x6cf638
push 0
call fcn.0040c200
push 0x6cf640
call fcn.00510d9d
add esp, 4
jmp 0x4e4560
push 0x6cf640
call fcn.00510c6d
add esp, 4
cmp dword [0x6cf640], 0xffffffff
jne 0x4e458d
mov dword [0x6cf63c], 0
mov dword [0x6cf638], 0xffffffff
mov ecx, 0x6cf638
push 0
call fcn.0040c200
push 0x6cf640
call fcn.00510d9d
add esp, 4
jmp 0x4e458d
push eax
call fcn.0050b620
add esp, 4
jmp 0x4e4602
Function at 0x4e9eb0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov edi, dword [ebp + 8]
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov esi, dword [ecx + 0x20]
mov eax, dword [esi]
mov eax, dword [eax + 8]
cmp eax, 0x50d820
jne 0x4e9fc6
test byte [0x5f5768], 0x19
jne 0x4ea090
cmp dword [edi + 0x34], 0
jne 0x4e9fb2
mov eax, dword [0x6cf6b0]
mov ecx, dword [0x5f75b4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4ea044
push dword [0x5f50f8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x4e9f3f
mov ecx, dword [0x6cf6a8]
mov edx, dword [eax + ecx*8 + 4]
cmp edx, dword [0x6cf6ac]
jne 0x4e9f3f
mov eax, dword [eax + ecx*8]
test eax, eax
jne 0x4e9fe7
mov eax, dword [0x6cf6a0]
mov ecx, dword [0x5f75b4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4e9ff8
push dword [0x5f50f8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x4e9fb2
mov ecx, dword [0x6cf698]
mov edx, dword [eax + ecx*8 + 4]
cmp edx, dword [0x6cf69c]
jne 0x4e9fb2
mov eax, dword [eax + ecx*8]
test eax, eax
je 0x4e9fb2
mov ecx, dword [eax + 0x10]
mov dword [edi + 0x34], ecx
movsd xmm0, qword [eax + 0x34]
mov ecx, dword [eax + 0x3c]
mov dword [edi + 0x40], ecx
movsd qword [edi + 0x38], xmm0
mov cl, 1
cmp byte [eax + 0x50], 0
jne 0x4e9faf
cmp dword [eax + 0x40], 0
setne cl
mov byte [edi + 0x50], cl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00512ee3
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov ecx, eax
mov edi, eax
call dword [section..00cfg]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00512ee3
mov ecx, esi
mov eax, edi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
jmp eax
mov ecx, dword [eax + 8]
mov dword [edi + 0x48], ecx
mov eax, dword [eax + 4]
mov dword [edi + 0x44], eax
jmp 0x4e9f3f
push 0x6cf6a0
call fcn.00510c6d
add esp, 4
cmp dword [0x6cf6a0], 0xffffffff
jne 0x4e9f60
mov dword [0x6cf69c], 0
mov dword [0x6cf698], 0xffffffff
mov ecx, 0x6cf698
push 0
call fcn.0040c200
push 0x6cf6a0
call fcn.00510d9d
add esp, 4
jmp 0x4e9f60
push 0x6cf6b0
call fcn.00510c6d
add esp, 4
cmp dword [0x6cf6b0], 0xffffffff
jne 0x4e9f11
mov dword [0x6cf6ac], 0
mov dword [0x6cf6a8], 0xffffffff
mov ecx, 0x6cf6a8
push 0
call fcn.0040c200
push 0x6cf6b0
call fcn.00510d9d
add esp, 4
jmp 0x4e9f11
add esi, 0x138
mov ebx, dword [edi + 0x4c]
xor esi, dword [0x6be1e0]
xor ebx, dword [0x6be1e4]
lea eax, [ebp - 0x24]
mov dword [eax + 0xc], 0x5815e0
mov dword [eax + 0x10], 0x5e2e9c
push 8
call fcn.00510d64
add esp, 4
mov dword [eax + 4], ebx
mov dword [eax], esi
lea ecx, [ebp - 0x24]
mov dword [ecx + 4], eax
xor eax, eax
push ecx
mov esi, ecx
push eax
push eax
push 0x5e2088
push 0x5e81e8
push 0x5f5768
push 0x49
call fcn.00581700
add esp, 0x1c
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4e9ee6
mov esi, dword [ebp - 0x20]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x4e9ee6
Function at 0x4eb840
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [esp + 0x38], eax
mov eax, dword [0x5f75b4]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 0x140]
mov dword [esp + 0x10], eax
cmp eax, 2
jb 0x4eb9f4
mov eax, dword [esp + 0x10]
mov byte [eax + 4], 0
lea esi, [eax + 0x58]
add eax, 0x2d8
mov dword [esp + 0xc], eax
jmp 0x4eb8cd
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov dword [esi], 0
mov byte [esi + 4], 0
movzx eax, word [esi + 6]
imul eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
sub dword [ecx], eax
nop word cs:[eax + eax]
add esi, 8
cmp esi, dword [esp + 0xc]
je 0x4eb9f4
cmp byte [esi + 4], 0
je 0x4eb8c0
mov ecx, dword [esi]
movzx eax, word [esi + 6]
push eax
call fcn.004f0880
movzx eax, byte [esi + 4]
mov dword [esp + 0x1c], eax
movzx eax, word [esi + 6]
mov dword [esp + 0x14], eax
mov ebx, dword [esi]
mov eax, dword [esp + 0xc]
mov edi, dword [eax]
add edi, 0x40
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x4eb9e8
mov dword [esp + 0x18], edi
test ebx, ebx
je 0x4eb88f
nop word cs:[eax + eax]
mov edi, dword [ebx]
test edi, edi
je 0x4eb9d8
bswap edi
test edi, 0x1fc000
je 0x4eba07
prefetcht0 byte [edi]
mov eax, ebx
and eax, 0xffe00000
mov edx, ebx
shr edx, 9
and edx, 0xfe0
lea ecx, [edx + eax]
movzx eax, byte [edx + eax + 0x101e]
mov edx, dword [esp + 0xc]
mov edx, dword [edx]
and eax, 0x3f
shl eax, 5
sub ecx, eax
mov eax, dword [ecx + 0x1008]
mov eax, dword [eax + 0xc]
sub dword [edx + 0x117c], eax
mov eax, dword [ecx + 0x1000]
cmp eax, ebx
je 0x4eba35
add ecx, 0x1000
bswap eax
mov dword [ebx], eax
mov dword [ecx], ebx
mov eax, dword [ecx + 0xc]
mov edx, eax
and edx, 0xefffffff
mov dword [ecx + 0xc], edx
test eax, 0x3ffe
je 0x4eba38
lea edx, [eax + 0x3ffe]
and edx, 0x3ffe
mov ebx, eax
and ebx, 0xefffc001
or ebx, edx
mov dword [ecx + 0xc], ebx
test al, 1
jne 0x4eb9df
test edx, edx
je 0x4eb9df
mov ebx, edi
test edi, edi
jne 0x4eb920
jmp 0x4eb88f
xor edi, edi
jmp 0x4eb93b
push 1
call fcn.004eea90
jmp 0x4eb9c9
mov ecx, edi
call fcn.004ef6b0
jmp 0x4eb909
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.00512ee3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x20]
movdqa xmmword [esi], xmm0
mov ecx, esi
push 0
push dword [ebx]
push str.first
call fcn.00569a10
push esi
call fcn.00404ca0
add esp, 4
mov ecx, dword [esp + 0x14]
call fcn.00582d50
int3
int3
Function at 0x4f46b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov esi, ecx
lea eax, [ebp - 0x18]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x4c6080
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
je 0x4f488e
mov dword [esi], 0x5da204
mov eax, 0x5da204
mov dword [esi + 0x38], 0x5d6be4
mov eax, dword [eax + 4]
mov dword [esi + eax], 0x5d6c64
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], 0x5d6ca8
mov eax, dword [esi]
mov ebx, dword [eax + 4]
xor eax, eax
mov edi, esi
add edi, 4
mov dword [esi + ebx + 0x18], edi
sete al
mov dword [esi + ebx + 0x10], eax
xor eax, eax
mov dword [esi + ebx + 0x14], eax
mov dword [esi + ebx + 4], 0x1002
mov dword [esi + ebx + 0xc], eax
mov dword [esi + ebx + 8], 6
xorps xmm0, xmm0
movups xmmword [esi + ebx + 0x20], xmm0
movups xmmword [esi + ebx + 0x30], xmm0
mov dword [esi + ebx + 0x44], eax
mov dword [esi + ebx + 0x40], eax
mov eax, dword [0x5f75b4]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov ecx, dword [0x6be6d4]
cmp ecx, dword [eax + 4]
jg 0x4f47ce
add ebx, esi
mov eax, dword [0x6be6d0]
mov eax, dword [eax]
mov dword [ebx + 0x1c], eax
lock inc dword [eax + 4]
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0xffffffff
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], 0x5d6c64
mov ecx, edi
call fcn.004f48d0
mov dword [esi + 4], 0x5d6c70
xorps xmm0, xmm0
movups xmmword [esi + 0x24], xmm0
mov dword [esi + 0x34], 0x10
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 4
push 0x6be6d4
call fcn.00510c6d
add esp, 4
cmp dword [0x6be6d4], 0xffffffff
jne 0x4f4773
mov eax, dword [0x6be6c8]
mov ecx, dword [0x5f75b4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4f482d
mov eax, dword [0x6be6c4]
mov eax, dword [eax]
mov dword [0x6be6cc], eax
lock inc dword [eax + 4]
mov dword [0x6be6d0], 0x6be6cc
push 0x6be6d4
call fcn.00510d9d
add esp, 4
jmp 0x4f4773
push 0x6be6c8
call fcn.00510c6d
add esp, 4
cmp dword [0x6be6c8], 0xffffffff
jne 0x4f4801
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x10], 0
mov ecx, 0x6bed08
push 1
call fcn.00413900
mov dword [0x6be6c0], 0x6bed08
mov dword [0x6be6c4], 0x6be6c0
push 0x6be6c8
call fcn.00510d9d
add esp, 4
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
jmp 0x4f4801
mov eax, dword [esi]
jmp 0x4f46fa
Function at 0x4f9850
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, ecx
xor ebx, ebx
xor eax, eax
cmp dword [ebp + 0xc], ebx
sete al
xor ecx, ecx
cmp dword [ebp + 8], ebx
sete cl
push ebx
push eax
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi], ebx
test eax, eax
je 0x4f9930
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x4f98c1
lea eax, [edi + 1]
cmp eax, 2
jb 0x4f98a2
mov dword [esi], edi
call fcn.004ee180
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi]
mov byte [esi + 4], 1
inc eax
cmp eax, 1
jbe 0x4f9934
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 8
call fcn.004ee180
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
cmp dword [0x6cebf0], 0
je 0x4f98fa
mov eax, dword [0x6cebf0]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
call dword [section..00cfg]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [ebp - 0x10]
mov dword [esi], 0
jmp 0x4f9893
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x5e3e9d
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4f9937
mov ecx, eax
cmp eax, sym.360se.exe_GetHandleVerifier
je 0x4f993c
call dword [section..00cfg]
call ecx
push 0
push eax
call fcn.00415e60
add esp, 8
jmp 0x4f98d4
mov byte [esi + 4], 1
int3
xor eax, eax
push eax
jmp 0x4f9925
push 1
push 0
jmp 0x4f9926
Function at 0x4fdfe0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ecx], 0
mov edi, dword [eax]
mov dword [eax], 0
lea ebx, [edi + 1]
cmp ebx, 2
jb 0x4fe009
call fcn.004ee180
cmp dword [esi], edi
jne 0x4fe02c
mov eax, dword [ebp + 8]
movups xmm0, xmmword [eax + 4]
movups xmm1, xmmword [eax + 0x10]
movups xmmword [esi + 0x10], xmm1
movups xmmword [esi + 4], xmm0
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x4fe054
cmp ebx, 2
jb 0x4fe049
mov dword [esi], edi
call fcn.004ee180
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4fe00d
call fcn.004ee180
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
cmp dword [0x6cebf0], 0
je 0x4fe08d
mov eax, dword [0x6cebf0]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
call dword [section..00cfg]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [ebp - 0x10]
mov dword [esi], 0
jmp 0x4fe03d
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x5e3e9d
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4fe0c3
mov ecx, eax
cmp eax, sym.360se.exe_GetHandleVerifier
je 0x4fe0c8
call dword [section..00cfg]
call ecx
push 0
push eax
call fcn.00415e60
add esp, 8
jmp 0x4fe067
xor eax, eax
push eax
jmp 0x4fe0b8
push 1
push 0
jmp 0x4fe0b9

Function at 0x4ff1e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x6cf6f0]
mov ecx, dword [0x5f75b4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4ff27b
push dword [0x5f50f8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x4ff22e
mov ecx, dword [0x6cf6e8]
mov dword [eax + ecx*8], 0
mov ecx, dword [0x6cf6ec]
mov edx, dword [0x6cf6e8]
mov dword [eax + edx*8 + 4], ecx
mov eax, dword [0x6cf700]
mov ecx, dword [0x5f75b4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4ff2c7
push dword [0x5f50f8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x4ff279
mov ecx, dword [0x6cf6f8]
mov dword [eax + ecx*8], 0
mov ecx, dword [0x6cf6fc]
mov edx, dword [0x6cf6f8]
mov dword [eax + edx*8 + 4], ecx
pop ebp
ret
push 0x6cf6f0
call fcn.00510c6d
add esp, 4
cmp dword [0x6cf6f0], 0xffffffff
jne 0x4ff200
mov dword [0x6cf6ec], 0
mov dword [0x6cf6e8], 0xffffffff
mov ecx, 0x6cf6e8
push 0
call fcn.0040c200
push 0x6cf6f0
call fcn.00510d9d
add esp, 4
jmp 0x4ff200
push 0x6cf700
call fcn.00510c6d
add esp, 4
cmp dword [0x6cf700], 0xffffffff
jne 0x4ff24b
mov dword [0x6cf6fc], 0
mov dword [0x6cf6f8], 0xffffffff
mov ecx, 0x6cf6f8
push 0
call fcn.0040c200
push 0x6cf700
call fcn.00510d9d
add esp, 4
jmp 0x4ff24b
Function at 0x4ff320
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ecx], eax
xor eax, eax
inc eax
lock xadd dword [0x6cf6f4], eax
mov dword [ecx + 4], eax
mov eax, dword [0x6cf6f0]
mov ecx, dword [0x5f75b4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4ff3e5
push dword [0x5f50f8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x4ff47d
mov ecx, dword [0x6cf6e8]
mov dword [eax + ecx*8], esi
mov ecx, dword [0x6cf6ec]
mov edx, dword [0x6cf6e8]
mov dword [eax + edx*8 + 4], ecx
mov eax, dword [0x6cf700]
mov ecx, dword [0x5f75b4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4ff431
lea edi, [esi + 4]
push dword [0x5f50f8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x4ff48f
mov ecx, dword [0x6cf6f8]
mov dword [eax + ecx*8], edi
mov ecx, dword [0x6cf6fc]
mov edx, dword [0x6cf6f8]
mov dword [eax + edx*8 + 4], ecx
mov eax, esi
pop esi
pop edi
pop ebp
ret 4
push 0x6cf6f0
call fcn.00510c6d
add esp, 4
cmp dword [0x6cf6f0], 0xffffffff
jne 0x4ff35d
mov dword [0x6cf6ec], 0
mov dword [0x6cf6e8], 0xffffffff
mov ecx, 0x6cf6e8
push 0
call fcn.0040c200
push 0x6cf6f0
call fcn.00510d9d
add esp, 4
jmp 0x4ff35d
push 0x6cf700
call fcn.00510c6d
add esp, 4
cmp dword [0x6cf700], 0xffffffff
jne 0x4ff3ac
mov dword [0x6cf6fc], 0
mov dword [0x6cf6f8], 0xffffffff
mov ecx, 0x6cf6f8
push 0
call fcn.0040c200
push 0x6cf700
call fcn.00510d9d
add esp, 4
jmp 0x4ff3ac
test esi, esi
je 0x4ff38b
call fcn.00404220
jmp 0x4ff372
test edi, edi
je 0x4ff3dd
call fcn.00404220
jmp 0x4ff3c4
Function at 0x4ffc20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, edx
mov esi, ecx
xor eax, eax
mov dword [ecx], eax
mov ebx, dword [edx]
mov dword [edx], eax
lea eax, [ebx + 1]
mov dword [ebp - 0x20], eax
cmp eax, 2
jb 0x4ffc45
call fcn.004ee180
cmp dword [esi], ebx
jne 0x4ffc75
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x10], xmm0
mov eax, dword [edi]
inc eax
cmp eax, 2
jae 0x4ffd0d
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x4ffc9e
cmp dword [ebp - 0x20], 2
jb 0x4ffc93
mov dword [esi], ebx
call fcn.004ee180
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4ffc49
call fcn.004ee180
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
cmp dword [0x6cebf0], 0
je 0x4ffcd7
mov eax, dword [0x6cebf0]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
call dword [section..00cfg]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [ebp - 0x10]
mov dword [esi], 0
jmp 0x4ffc86
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x5e3e9d
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4ffd21
mov ecx, eax
cmp eax, sym.360se.exe_GetHandleVerifier
je 0x4ffd26
call dword [section..00cfg]
call ecx
push 0
push eax
call fcn.00415e60
add esp, 8
jmp 0x4ffcb1
call fcn.004ee180
push dword [edi]
call fcn.00506200
add esp, 4
jmp 0x4ffc6b
xor eax, eax
push eax
jmp 0x4ffd02
push 1
push 0
jmp 0x4ffd03
Function at 0x4ffd30
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x140c
call fcn.00517ca0
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x5f50f8]
cmp eax, 0xffffffff
je 0x4ffd62
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test bl, 3
jne 0x4ffd77
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00512ee3
add esp, 0x140c
pop esi
pop edi
pop ebx
pop ebp
ret
and ebx, 0xfffffffc
lea eax, [ebp - 0x810]
push 0x800
push ebx
push eax
call fcn.00518c30
add esp, 0xc
mov ecx, dword [0x5f50f8]
lea eax, [ebp - 0x80f]
push eax
mov dword [ebp - 0x1418], ecx
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test ebx, ebx
je 0x4ffdb6
push ebx
call fcn.00510d5f
add esp, 4
mov eax, dword [0x6bfa8c]
mov ecx, dword [0x5f75b4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4ffe9e
mov esi, dword [0x6bfa88]
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x4ffedf
lea eax, [ebp - 0x1410]
push 0xc00
push 0x6bee88
push eax
call fcn.00518c30
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov al, 1
mov edx, 0x101
test al, 1
je 0x4ffe64
xor ebx, ebx
lea edi, [ebp - 0x1408]
xor eax, eax
jmp 0x4ffe3c
inc ebx
add edi, 0xc
cmp ebx, 0x100
je 0x4ffe61
mov esi, dword [ebp + ebx*8 - 0x810]
test esi, esi
je 0x4ffe30
cmp dword [edi - 8], 0
je 0x4ffe30
mov ecx, dword [ebp + ebx*8 - 0x80c]
cmp ecx, dword [edi]
jne 0x4ffe30
mov ecx, dword [edi - 4]
test ecx, ecx
je 0x4ffe30
jmp 0x4ffe77
dec edx
jne 0x4ffe13
push 2
push dword [ebp - 0x1418]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x4ffd62
mov dword [ebp + ebx*8 - 0x810], 0
mov dword [ebp - 0x1414], edx
call dword [section..00cfg]
push esi
call ecx
mov edx, dword [ebp - 0x1414]
add esp, 4
mov al, 1
jmp 0x4ffe30
push 0x6bfa8c
call fcn.00510c6d
add esp, 4
cmp dword [0x6bfa8c], 0xffffffff
jne 0x4ffdd7
push 4
call fcn.00510d64
add esp, 4
mov dword [eax], 0
mov dword [0x6bfa88], eax
push 0x6bfa8c
call fcn.00510d9d
add esp, 4
jmp 0x4ffdd7
mov ecx, esi
call fcn.004f8930
jmp 0x4ffdec
Function at 0x4ffef0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ebx, dword [eax + 4]
mov esi, ebx
sub esi, edx
sar esi, 2
lea edi, [esi - 1]
cmp edi, 2
jb 0x4fff9e
cvtsi2sd xmm0, ecx
cvtsi2sd xmm1, dword [ebp - 0x10]
add esi, 0xfffffffd
movd xmm2, esi
por xmm2, xmmword [0x5db290]
subsd xmm2, qword [0x5db288]
xor ecx, ecx
inc ecx
movq xmm3, qword [0x5db288]
movsd xmm4, qword [0x5c6770]
mov ebx, dword [ebp + 8]
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
sub eax, edx
sar eax, 2
cmp eax, ecx
jbe 0x500035
movd xmm5, esi
por xmm5, xmm3
subsd xmm5, xmm3
mulsd xmm5, xmm0
lea eax, [ecx - 1]
movd xmm6, eax
por xmm6, xmm3
subsd xmm6, xmm3
mulsd xmm6, xmm1
addsd xmm6, xmm5
divsd xmm6, xmm2
addsd xmm6, xmm4
cvttsd2si eax, xmm6
mov dword [edx + ecx*4], eax
dec esi
inc ecx
cmp ecx, edi
jne 0x4fff4b
mov edx, dword [ebx]
mov ebx, dword [ebx + 4]
cmp ebx, edx
je 0x500038
mov dword [ebx - 4], 0x7fffffff
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov esi, dword [eax + 4]
mov ebx, esi
sub ebx, edx
je 0x50003b
mov ecx, ebx
sar ecx, 2
mov edi, edx
not edi
add edi, esi
mov dword [ebp - 0x10], ebx
jne 0x4fffd3
xor esi, esi
jmp 0x50000e
and ebx, 0xfffffffe
xor esi, esi
nop dword [eax + eax]
movzx edi, cl
movzx eax, byte [edx + esi]
xor eax, edi
shr ecx, 8
xor ecx, dword [eax*4 + 0x5e32a8]
movzx eax, cl
movzx edi, byte [edx + esi + 1]
xor edi, eax
shr ecx, 8
xor ecx, dword [edi*4 + 0x5e32a8]
add esi, 2
cmp ebx, esi
jne 0x4fffe0
test byte [ebp - 0x10], 1
je 0x500027
movzx eax, cl
movzx edx, byte [edx + esi]
xor edx, eax
shr ecx, 8
xor ecx, dword [edx*4 + 0x5e32a8]
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], ecx
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
int3
int3
xor ecx, ecx
jmp 0x500027