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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62d300
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x6a73e8]
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 edi, dword [ebp + 8]
mov ebx, dword [ecx + 0x7c]
lea eax, [ebp - 0x3c]
mov esi, dword [ecx + 0x80]
xor edx, edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp + 0x30]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x432221
mov eax, dword [ecx]
lea edx, [ebp - 0x3c]
push edx
call dword [eax]
mov edx, eax
mov dword [ebp - 0x18], edx
mov eax, dword [esi]
mov dword [ebp - 0x6c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x40], 0
mov byte [ebp - 4], 3
test edx, edx
je 0x432296
lea eax, [ebp - 0x3c]
cmp edx, eax
jne 0x43228c
mov eax, dword [edx]
lea ecx, [ebp - 0x64]
push ecx
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x40], eax
test ecx, ecx
je 0x432296
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x3c]
cmp ecx, eax
setne al
push eax
call edx
xor ecx, ecx
mov dword [ebp - 0x18], 0
test ecx, ecx
je 0x432296
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x3c]
cmp ecx, eax
setne al
push eax
call edx
jmp 0x43228f
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x18], 0
push dword [0x6b123c]
mov esi, dword [ebp - 0x68]
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4322bf
nop dword [eax]
cmp dword [eax], esi
je 0x432375
mov eax, dword [eax + 8]
test eax, eax
jne 0x4322b0
xor eax, eax
test eax, eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x64]
push eax
push 0x50
setne byte [ebp - 0x14]
call fcn.0042c900
mov esi, eax
mov dword [ebp - 0x70], 0
add esp, 8
mov dword [ebp - 0x74], esi
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 5
push eax
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x433870
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
call fcn.0041e350
push dword [ebp - 0x14]
mov ecx, dword [ebx + 8]
push esi
call fcn.00446ae0
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x432352
mov edx, dword [ecx]
lea eax, [ebp - 0x64]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
push 0x6b1290
push 0x413160
push 0x6b128c
mov dword [edi], 0
call fcn.004805c1
add esp, 0xc
test eax, eax
je 0x4323bc
jmp 0x43237d
mov eax, dword [eax + 4]
jmp 0x4322c1
mov ecx, dword [ebp + 0x30]
mov dword [edi + 4], 0x6b1290
test ecx, ecx
je 0x43239c
mov esi, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
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.005bb391
mov esp, ebp
pop ebp
ret 0x2c
call fcn.006027a2
int3
Function at 0x4323d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62d340
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x6a73e8]
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 ebx, ecx
mov eax, dword [ebx + 0xc]
push dword [0x6b1224]
mov edi, dword [ebp + 8]
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x43242b
nop
cmp dword [eax], esi
je 0x432446
mov eax, dword [eax + 8]
test eax, eax
jne 0x432420
push dword [0x6b1224]
lea eax, [ebx + 0x10]
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x43248d
mov eax, dword [eax + 4]
jmp 0x43248f
cmp dword [eax + 4], 0
je 0x43242b
mov eax, dword [edi]
mov dword [ebp - 0x14], eax
mov dword [edi], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.004154d0
add esp, 8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 2
test eax, eax
je 0x43250c
push 0
push eax
mov eax, dword [eax]
call eax
add esp, 8
jmp 0x43250c
xor eax, eax
push 0x28
push eax
push dword [ebp - 0x14]
call fcn.00414890
mov ecx, eax
add esp, 0xc
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0x4342e0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x1c], 0
mov eax, dword [edi]
mov dword [ecx + 0x20], eax
mov dword [edi], 0
mov eax, dword [ebx + 0xc]
push 0
push ecx
mov ecx, dword [eax + 8]
call fcn.00446ae0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 3
call fcn.0044d3a0
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.005bb391
mov esp, ebp
pop ebp
ret 4
Function at 0x432720
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62d408
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x6a73e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
lea edi, [eax + 0x20]
mov dword [ebp - 0x6c], edi
push 0x50
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.005fc2a0
mov eax, dword [edi]
lea esi, [edi + 8]
add esp, 0xc
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x58]
push esi
call fcn.0041d900
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x24], eax
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov eax, dword [edi + 0x40]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x44]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x48]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x6c], eax
call fcn.0044cc90
cmp dword [ebp + 8], 0
je 0x4327d6
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.004149d0
add esp, 8
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x4327fe
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4327fe
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4327fe
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x43281d
mov edx, dword [ecx]
lea eax, [ebp - 0x50]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x6c]
call fcn.0044cc90
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.005bb391
mov esp, ebp
pop ebp
ret
Function at 0x432840
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62d408
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x6a73e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
lea edi, [eax + 0x20]
mov dword [ebp - 0x6c], edi
push 0x50
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.005fc2a0
mov eax, dword [edi]
lea esi, [edi + 8]
add esp, 0xc
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x58]
push esi
call fcn.0041d9a0
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x24], eax
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov eax, dword [edi + 0x40]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x44]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x48]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x6c], eax
call fcn.0044cc90
cmp dword [ebp + 8], 0
je 0x4328f6
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.00414a50
add esp, 8
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x43291e
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x43291e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x43291e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x43293d
mov edx, dword [ecx]
lea eax, [ebp - 0x50]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x6c]
call fcn.0044cc90
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.005bb391
mov esp, ebp
pop ebp
ret
Function at 0x435f40
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, ecx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov ebx, dword [eax + 0x14]
push edi
push dword [0x6b1224]
mov edi, dword [ebp + 8]
lea eax, [ebx + 0x14]
neg ebx
sbb ebx, ebx
and ebx, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x435f7b
nop
cmp dword [eax], ebx
je 0x435fb0
mov eax, dword [eax + 8]
test eax, eax
jne 0x435f70
xor ebx, ebx
mov eax, dword [edi]
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test ebx, ebx
je 0x435fb5
mov eax, dword [edi]
cmp byte [eax + 0x38], 0
jne 0x435fb5
mov byte [eax + 0x38], 1
mov eax, dword [edi]
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [eax + 4]
jmp 0x435f7d
mov eax, dword [edi]
cmp byte [eax + 0x38], 0
je 0x436005
mov dword [esi + 0x14], 0
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x435fe8
mov dword [ecx + 0x14], esi
mov dword [eax + 0x40], esi
mov eax, dword [edi]
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [eax + 0x3c], esi
mov dword [eax + 0x40], esi
mov eax, dword [edi]
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov byte [eax + 0x38], 1
mov eax, dword [edi]
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi]
add eax, 0x44
mov dword [esi + 0x14], 0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x43602d
mov dword [ecx + 0x14], esi
jmp 0x43602f
mov dword [eax], esi
mov ecx, dword [ebp - 4]
mov dword [eax + 4], esi
push 0
push dword [edi]
mov ecx, dword [ecx + 0x14]
call fcn.00446ae0
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x441fb0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6a73e8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x6b1290
lea eax, [ebp - 5]
mov byte [ebp - 5], 0
push 0x413160
push 0x6b128c
mov esi, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 1
call fcn.004805c1
add esp, 0xc
test eax, eax
je 0x4420c5
mov esi, dword [esi + 4]
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
push 0
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push 1
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.WS2_32.dll_WSASend]
mov ecx, dword [0x6b1214]
mov esi, eax
test cl, 1
jne 0x442053
or ecx, 1
mov dword [0x6b1210], 0x6b120c
push 0x63e650
mov dword [0x6b1214], ecx
mov dword [0x6b120c], 0x6413a8
call fcn.005bb37c
add esp, 4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
je 0x442065
cmp eax, 0x4d2
jne 0x442097
mov eax, dword [0x6b1214]
test al, 1
jne 0x442097
or eax, 1
mov dword [0x6b1210], 0x6b120c
push 0x63e650
mov dword [0x6b1214], eax
mov dword [0x6b120c], 0x6413a8
call fcn.005bb37c
add esp, 4
test esi, esi
pop esi
jne 0x4420b7
push 0x6b1290
push 0x413160
push 0x6b128c
call fcn.004805c1
add esp, 0xc
test eax, eax
je 0x4420ca
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005bb391
mov esp, ebp
pop ebp
ret
call fcn.006027a2
call fcn.006027a2
int3

Function at 0x4420d0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
jne 0x442124
mov eax, dword [0x6b1214]
test al, 1
jne 0x44210e
or eax, 1
mov dword [0x6b1210], 0x6b120c
push 0x63e650
mov dword [0x6b1214], eax
mov dword [0x6b120c], 0x6413a8
call fcn.005bb37c
add esp, 4
mov eax, dword [ebp + 0x18]
pop esi
mov dword [eax], 0x2719
mov dword [eax + 4], 0x6b120c
or eax, 0xffffffff
pop ebp
ret
push ebx
push edi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov edi, dword [ebp + 0x14]
push edi
push dword [ebp + 0x10]
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov ecx, dword [0x6b1214]
mov ebx, eax
test cl, 1
jne 0x442173
or ecx, 1
mov dword [0x6b1210], 0x6b120c
push 0x63e650
mov dword [0x6b1214], ecx
mov dword [0x6b120c], 0x6413a8
call fcn.005bb37c
add esp, 4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, dword [ebp + 0x18]
mov dword [esi], eax
mov dword [esi + 4], 0x6b120c
test ebx, ebx
js 0x4421d3
push 0x6b1290
push 0x413160
push 0x6b128c
call fcn.004805c1
add esp, 0xc
test eax, eax
je 0x4421da
cmp dword [ebp + 0x10], 0x8004667e
mov dword [esi], 0
mov dword [esi + 4], 0x6b1290
jne 0x4421d3
cmp dword [edi], 0
mov ecx, dword [ebp + 0xc]
mov al, byte [ecx]
je 0x4421cf
or al, 1
pop edi
mov byte [ecx], al
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
and al, 0xfc
mov byte [ecx], al
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
call fcn.006027a2
int3
Function at 0x442220
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x6a73e8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebx]
test esi, esi
je 0x4422c2
push edi
mov edi, 0x6b1228
mov eax, dword [esi + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
push 0xffffffffffffffff
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push 0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lock xadd dword [edi], eax
mov ecx, dword [esi + 4]
push 0
push ecx
test eax, eax
je 0x442281
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x442297
push method.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.virtual_56
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [ebx]
mov esi, dword [edi + 0xc]
mov dword [ebx], esi
test edi, edi
je 0x4422b8
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x10
push edi
call fcn.005bb0db
mov esi, dword [ebx]
add esp, 8
mov edi, 0x6b1228
test esi, esi
jne 0x442244
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.005bb391
mov esp, ebp
pop ebp
ret

Function at 0x4422e0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x6a73e8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push 0xffffffffffffffff
push 0
mov eax, dword [esi + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, 0x6b1228
lock xadd dword [ecx], eax
mov ecx, dword [esi + 4]
push 0
push ecx
test eax, eax
je 0x442342
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005bb391
mov esp, ebp
pop ebp
ret
push method.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.virtual_56
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005bb391
mov esp, ebp
pop ebp
ret
Function at 0x443c90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x6a73e8]
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 0x443cb4
mov edi, dword [edi]
mov esi, dword [ebp + 8]
mov ecx, esi
mov edx, dword [esi + 0x14]
cmp edx, 0x10
jb 0x443cc3
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
add eax, ecx
cmp edx, 0x10
jb 0x443ccf
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 0x443cf3
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 0x443ce0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005bb391
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44b010
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0xc], eax
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 8], esi
cmp byte [esi + 0xd], 0
mov dword [ebp - 0x10], edi
jge 0x44b065
mov eax, dword [esi + 0x48]
xor ecx, ecx
mov edx, dword [eax + 8]
mov dword [ebp - 4], edx
test edi, edi
je 0x44b056
mov eax, ecx
and eax, 3
mov al, byte [ebp + eax - 4]
xor byte [ebx + ecx], al
inc ecx
cmp ecx, edi
jb 0x44b042
mov eax, dword [esi + 0x48]
mov ecx, edi
and ecx, 3
je 0x44b062
shl ecx, 3
ror edx, cl
mov dword [eax + 8], edx
mov eax, dword [esi + 0x48]
push edi
push ebx
mov esi, dword [eax]
mov eax, dword [esi + 0x48]
add esi, 0x38
mov ecx, esi
mov dword [ebp - 4], eax
call fcn.0040b670
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 0x48]
mov eax, dword [ebx]
cmp dword [eax + 0x50], 1
jne 0x44b0fa
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x44b094
mov ecx, dword [esi]
mov edx, dword [esi + 0x10]
add edx, ecx
cmp dword [esi + 0x14], 0x10
jb 0x44b0a1
mov esi, dword [esi]
mov eax, dword [ebp - 4]
add eax, esi
cmp eax, edx
je 0x44b0fa
mov esi, dword [ebx + 0xc]
nop dword [eax]
movzx edi, byte [eax]
movzx ecx, byte [edi + 0x640518]
mov dword [ebp - 4], ecx
test esi, esi
je 0x44b0ce
mov ecx, dword [ebx + 0x10]
and edi, 0x3f
shl ecx, 6
or edi, ecx
jmp 0x44b0d7
mov esi, 0xff
sar esi, cl
and edi, esi
mov esi, dword [ebp - 4]
mov dword [ebx + 0x10], edi
mov ecx, dword [ebx + 0xc]
add ecx, ecx
movzx esi, byte [esi + ecx*8 + 0x640618]
mov dword [ebx + 0xc], esi
cmp esi, 1
je 0x44b10b
inc eax
cmp eax, edx
jne 0x44b0b0
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
sub dword [eax + 0x18], edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 0x14]
push 0x10
push eax
call fcn.00443bf0
mov edx, dword [ebp - 0xc]
add esp, 8
mov ecx, eax
pop edi
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
pop esi
mov dword [edx + 4], eax
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44cf00
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x44cf5a
mov esi, dword [ebx + 0x44]
test esi, esi
je 0x44cf34
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x44cf34
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x44cf34
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebx + 0x3c]
add ebx, 0x18
test ecx, ecx
je 0x44cf53
mov edx, dword [ecx]
cmp ecx, ebx
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebx + 0x24], 0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x44cfa1
push dword [0x6b1224]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x44cf91
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x44cf91
cmp dword [ecx + 8], 0
jne 0x44cf91
mov al, byte [esi + 0x60]
mov byte [esi], al
mov dword [ecx + 8], esi
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
ret
push esi
call fcn.0050d350
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
ret

Function at 0x44cfb0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x44cfca
add ecx, 8
call fcn.004218c0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x44d013
push dword [0x6b1224]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x44d003
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x44d003
cmp dword [ecx + 8], 0
jne 0x44d003
mov al, byte [esi + 0x90]
mov byte [esi], al
mov dword [ecx + 8], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
push esi
call fcn.0050d350
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret

Function at 0x44d020
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x44d03a
add ecx, 0x18
call fcn.004220e0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x44d080
push dword [0x6b1224]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x44d070
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x44d070
cmp dword [ecx + 8], 0
jne 0x44d070
mov al, byte [esi + 0x68]
mov byte [esi], al
mov dword [ecx + 8], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
push esi
call fcn.0050d350
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
Function at 0x44d090
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x44d0ea
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x44d0c4
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x44d0c4
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x44d0c4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebx + 0x64]
add ebx, 0x40
test ecx, ecx
je 0x44d0e3
mov edx, dword [ecx]
cmp ecx, ebx
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebx + 0x24], 0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x44d134
push dword [0x6b1224]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x44d124
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x44d124
cmp dword [ecx + 8], 0
jne 0x44d124
mov al, byte [esi + 0x88]
mov byte [esi], al
mov dword [ecx + 8], esi
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
ret
push esi
call fcn.0050d350
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
ret

Function at 0x44d140
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x44d15a
add ecx, 8
call fcn.00421ce0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x44d1a3
push dword [0x6b1224]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x44d193
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x44d193
cmp dword [ecx + 8], 0
jne 0x44d193
mov al, byte [esi + 0x90]
mov byte [esi], al
mov dword [ecx + 8], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
push esi
call fcn.0050d350
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret

Function at 0x44d1b0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x44d1f3
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x44d1e4
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x44d1e4
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x44d1e4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebx + 0x18]
call fcn.004220e0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x44d23d
push dword [0x6b1224]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x44d22d
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x44d22d
cmp dword [ecx + 8], 0
jne 0x44d22d
mov al, byte [esi + 0x80]
mov byte [esi], al
mov dword [ecx + 8], esi
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
ret
push esi
call fcn.0050d350
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
ret