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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x7ad398]
mov dword [ebp - 4], 0
push esi
mov esi, ecx
cmp eax, 0xffffffff
je 0x423d15
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x423d1a
call fcn.00423af0
mov eax, 1
mov ecx, 0x7c4200
lock xadd dword [ecx], eax
inc eax
mov dword [esi + 4], eax
cmp eax, 0x100
jl 0x423d3d
cmp byte [0x7c4190], 0
jne 0x423d56
int3
mov ecx, eax
mov eax, dword [ebp + 8]
mov dword [ecx*4 + 0x7c3b80], eax
mov dword [esi], 1
pop esi
mov esp, ebp
pop ebp
ret 4
push 1
call fcn.004b2d10
int3

Function at 0x4248f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x7aca10]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 0x14], 0x10
mov eax, dword [ecx + 0x10]
jb 0x42490b
mov ecx, dword [ecx]
mov dword [ebp - 0x68], ecx
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], 0x67452301
mov dword [ebp - 0x5c], 0xefcdab89
mov dword [ebp - 0x58], 0x98badcfe
mov dword [ebp - 0x54], 0x10325476
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x64], eax
call fcn.0042e780
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0x70]
call fcn.0042e8a0
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
call fcn.00424850
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
call fcn.004a7ad5
mov esp, ebp
pop ebp
ret

Function at 0x426ea0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, edi
sar ecx, 2
test ecx, ecx
je 0x426f10
push ebx
push esi
mov ebx, ecx
mov eax, dword [edi]
lea edi, [edi + 4]
movzx esi, cl
movzx edx, al
xor esi, edx
shr ecx, 8
mov dword [ebp - 4], eax
movzx eax, ah
xor ecx, dword [esi*4 + 0x4fccd0]
movzx edx, cl
xor edx, eax
shr ecx, 8
movzx eax, byte [ebp - 2]
xor ecx, dword [edx*4 + 0x4fccd0]
movzx edx, cl
xor edx, eax
shr ecx, 8
movzx eax, byte [ebp - 1]
xor ecx, dword [edx*4 + 0x4fccd0]
movzx edx, cl
xor edx, eax
shr ecx, 8
xor ecx, dword [edx*4 + 0x4fccd0]
sub ebx, 1
jne 0x426eb7
pop esi
pop ebx
mov eax, ecx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x427b60
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
push edx
xor ebx, ebx
push ecx
mov dword [esp + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x427bf5
cmp dword [0x7c317c], 3
jg 0x427be7
push 1
push 2
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 3
call fcn.00403de0
mov dword [esp + 0xac], str.c:codeinstall_trunk_base_threading_thread_local_win.cc
mov dword [esp + 0xb0], 0x23
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x23
push str.c:codeinstall_trunk_base_threading_thread_local_win.cc
lea ecx, [esp + 0x10]
mov dword [esp + 0xbc], eax
call fcn.00403540
lea eax, [esp + 0x10]
push str.Failed_to_TlsSetValue__.
push eax
call fcn.00402530
add esp, 8
mov ebx, 1
test bl, 1
je 0x427bf5
lea ecx, [esp + 8]
call fcn.00403350
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427d70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov dword [ebp - 0x10], 0
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 4], 0x4fd374
mov dword [edi], 0x4fd36c
mov dword [edi + 4], 0x4fd38c
mov dword [edi + 8], ebx
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov eax, dword [ebx + 0x240]
mov dword [edi + 0x14], eax
mov eax, dword [0x7c41f0]
test eax, 0xfffffffe
jne 0x427ddf
push 0x7c41f0
call fcn.00418c90
add esp, 4
test al, al
je 0x427ddf
mov ecx, 0x7c41f4
call fcn.004228b0
mov dword [0x7c41f0], eax
mov eax, dword [0x7c41f0]
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push dword [eax]
call esi
mov edx, dword [eax + 0x5c]
mov dword [ebp - 0x10], eax
mov dword [ebp + 8], edi
lea ecx, [eax + 0x58]
mov eax, dword [ecx]
cmp eax, edx
je 0x427e0f
cmp dword [eax], edi
je 0x427e0b
add eax, 4
cmp eax, edx
jne 0x427e00
cmp eax, edx
jne 0x427e18
lea eax, [ebp + 8]
push eax
call fcn.00422f70
mov eax, dword [0x7c4294]
test eax, 0xfffffffe
jne 0x427e44
push 0x7c4294
call fcn.00418c90
add esp, 4
test al, al
je 0x427e44
mov ecx, 0x7c4298
call fcn.004228b0
mov dword [0x7c4294], eax
mov eax, dword [0x7c4294]
push dword [eax]
call esi
mov esi, dword [eax]
mov dword [ebp - 0xc], esi
test esi, esi
je 0x427e62
mov ecx, 1
lea eax, [esi + 4]
lock xadd dword [eax], ecx
mov eax, dword [0x7c4330]
test eax, eax
jne 0x427e70
call fcn.00433910
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
lea ecx, [ebp - 0xc]
push ecx
push str.ThreadLocalEventBuffer
lea ecx, [edi + 4]
push ecx
mov ecx, eax
call fcn.00433030
test esi, esi
je 0x427eb0
lea ecx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [ecx], eax
sub eax, 1
jne 0x427eb0
lea eax, [ecx - 4]
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [ebx + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebx + 0x204]
call fcn.0042b750
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x427f20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
mov dword [esp + 8], 0
push esi
lea esi, [ebx + 4]
mov dword [esi], 0x4fd38c
mov dword [ebx], 0x4fd36c
mov eax, dword [0x7c41f0]
push edi
test eax, 0xfffffffe
jne 0x427f71
push 0x7c41f0
call fcn.00418c90
add esp, 4
test al, al
je 0x427f71
mov ecx, 0x7c41f4
call fcn.004228b0
mov dword [0x7c41f0], eax
mov eax, dword [0x7c41f0]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push dword [eax]
call edi
push ebx
lea ecx, [eax + 0x54]
call fcn.00422d60
mov eax, dword [0x7c4330]
test eax, eax
jne 0x427f97
call fcn.00433910
push ecx
push esi
mov ecx, eax
call fcn.00433100
mov esi, dword [ebx + 8]
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebx + 0xc], 0
je 0x427fde
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x240]
cmp dword [ebx + 0x14], eax
jne 0x427fde
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebx + 0xc]
push ecx
mov edx, esp
mov dword [ebx + 0xc], 0
mov dword [edx], eax
mov eax, dword [ecx]
push dword [ebx + 0x10]
call dword [eax + 8]
mov eax, dword [0x7c41f0]
test eax, 0xfffffffe
jne 0x42800a
push 0x7c41f0
call fcn.00418c90
add esp, 4
test al, al
je 0x42800a
mov ecx, 0x7c41f4
call fcn.004228b0
mov dword [0x7c41f0], eax
mov eax, dword [0x7c41f0]
push dword [eax]
call edi
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
mov eax, dword [ebx + 8]
push ecx
add eax, 0x204
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
mov dword [esp + 0x18], eax
call fcn.0042ace0
mov edi, dword [esp + 0x18]
mov eax, edi
mov edx, dword [esp + 0x1c]
cmp edi, edx
je 0x428048
mov eax, dword [eax]
cmp eax, edx
jne 0x428042
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push eax
call fcn.0042adb0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebx + 8]
xor edx, edx
mov ecx, dword [ecx + 0x1f8]
call fcn.00427b60
mov esi, dword [ebx + 0xc]
mov dword [ebx + 0xc], 0
test esi, esi
je 0x42808d
mov ecx, esi
call fcn.00430f80
push esi
call fcn.004a780d
add esp, 4
pop edi
pop esi
mov dword [ebx], method.std::_Facet_base.virtual_4
mov dword [ebx + 4], 0x4fd374
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428320
Capabilities:
Allocate thread local storage
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], 0
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push 0x7d0
lea eax, [edi + 4]
mov dword [edi], 0x4fd380
push eax
call esi
push 0x7d0
lea eax, [edi + 0x1c]
push eax
call esi
mov dword [edi + 0x34], 0
lea ecx, [edi + 0x78]
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov byte [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x74], 0xf
mov dword [edi + 0x70], 0
mov byte [edi + 0x60], 0
call fcn.0040fd10
push ecx
lea eax, [esp + 0xc]
mov dword [edi + 0x98], 0
push eax
lea ecx, [edi + 0x9c]
mov dword [esp + 0x10], 0
call fcn.0042b060
lea ecx, [edi + 0xbc]
call fcn.0040fd10
lea ecx, [edi + 0xdc]
call fcn.0042aa20
lea ecx, [edi + 0xfc]
call fcn.0040fd10
mov dword [edi + 0x120], 0
lea ecx, [edi + 0x170]
mov dword [edi + 0x124], 0
mov dword [edi + 0x128], 0
mov dword [edi + 0x12c], 0
mov dword [edi + 0x130], 0
mov dword [edi + 0x138], 0
mov dword [edi + 0x13c], 0
mov dword [edi + 0x140], 0
mov dword [edi + 0x144], 0
mov dword [edi + 0x148], 0
mov dword [edi + 0x160], 0xf
mov dword [edi + 0x15c], 0
mov byte [edi + 0x14c], 0
mov dword [edi + 0x164], 1
mov dword [edi + 0x168], 0
mov dword [edi + 0x16c], 0
call fcn.00431600
lea ecx, [edi + 0x1b4]
call fcn.00431600
mov esi, dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 0x1f8], 0
call esi
mov dword [edi + 0x1f8], eax
cmp eax, 0xffffffff
jne 0x4284dd
cmp byte [0x7c4190], 0
jne 0x428612
int3
mov dword [edi + 0x1fc], 0
call esi
mov dword [edi + 0x1fc], eax
cmp eax, 0xffffffff
jne 0x428502
cmp byte [0x7c4190], 0
jne 0x428619
int3
mov dword [edi + 0x200], 0
call esi
mov dword [edi + 0x200], eax
cmp eax, 0xffffffff
jne 0x428527
cmp byte [0x7c4190], 0
jne 0x428620
int3
lea ecx, [edi + 0x204]
call fcn.0042a9c0
mov dword [edi + 0x224], 0
mov dword [edi + 0x228], 0
mov dword [edi + 0x22c], 0
mov dword [edi + 0x230], 0
mov dword [edi + 0x234], 0
mov dword [edi + 0x238], 0
mov dword [edi + 0x23c], 0
mov dword [edi + 0x240], 0
mov byte [edi + 0x244], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [edi + 0x130], eax
push 0x100
cdq
push 0x1b3
xor edx, 0xcbf29ce4
xor eax, 0x84222325
push edx
push eax
call fcn.004a8130
mov ecx, edi
mov dword [edi + 0x128], eax
mov dword [edi + 0x12c], edx
call fcn.0042a620
mov ecx, dword [edi + 0x3c]
mov dword [edi + 0x3c], eax
test ecx, ecx
je 0x4285d5
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [0x7c4330]
mov dword [esp + 0xc], 0
test eax, eax
jne 0x4285eb
call fcn.00433910
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
lea ecx, [esp + 0x10]
push ecx
push str.TraceLog
push edi
mov ecx, eax
call fcn.00433030
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 1
call fcn.004b2d10
push 1
call fcn.004b2d10
push 1
call fcn.004b2d10
int3
Function at 0x4289d0
Capabilities:
Get thread local storage value

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push dword [esi + 0x1fc]
call edi
test eax, eax
jne 0x428a61
mov eax, dword [0x7c41f0]
test eax, 0xfffffffe
jne 0x428a13
push 0x7c41f0
call fcn.00418c90
add esp, 4
test al, al
je 0x428a13
mov ecx, 0x7c41f4
call fcn.004228b0
mov dword [0x7c41f0], eax
mov eax, dword [0x7c41f0]
push dword [eax]
call edi
test eax, eax
je 0x428a61
push dword [esi + 0x1f8]
call edi
mov edx, eax
test edx, edx
je 0x428a42
mov ecx, dword [edx + 0x14]
cmp ecx, dword [esi + 0x240]
je 0x428a61
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax + 4]
push 0x18
call fcn.004a7835
add esp, 4
mov ecx, eax
push esi
call fcn.00427d70
mov ecx, dword [esi + 0x1f8]
mov edx, eax
call fcn.00427b60
pop edi
pop esi
pop ecx
ret
Function at 0x42a560
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
cmp dword [ebp + 0xc], 0
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], 0
jne 0x42a585
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
push dword [edi + 0x1f8]
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call esi
test eax, eax
je 0x42a5b0
push dword [edi + 0x1f8]
call esi
push dword [ebp + 0x10]
mov ecx, eax
push dword [ebp + 0xc]
call fcn.00427d20
test eax, eax
jne 0x42a60f
mov esi, dword [ebp + 8]
test esi, esi
je 0x42a5c9
cmp byte [esi + 4], 0
jne 0x42a5c9
push dword [esi]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esi + 4], 1
mov ecx, dword [edi + 0x224]
mov edx, dword [ebp + 0x10]
test ecx, ecx
je 0x42a603
mov eax, edx
and eax, 0x3ffffff
cmp eax, dword [edi + 0x228]
jne 0x42a603
mov eax, dword [ebp + 0xc]
cmp eax, dword [ecx + 0x1c08]
jne 0x42a57b
shr edx, 0x1a
imul eax, edx, 0x70
add eax, 8
add eax, ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [edi + 0x3c]
push edx
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x18]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42ae10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
mov dword [ebp - 4], eax
jb 0x42ae2e
mov esi, dword [edi]
jmp 0x42ae30
mov esi, edi
xor ecx, ecx
mov edx, 0x811c9dc5
test eax, eax
je 0x42ae54
mov edi, eax
nop dword [eax]
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x42ae40
mov edi, dword [ebp + 0xc]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
mov edx, dword [ecx + eax*8]
add eax, eax
mov esi, dword [ecx + eax*4]
inc eax
mov dword [ebp - 0xc], esi
mov esi, dword [ebx + 4]
mov ebx, dword [ebp - 4]
lea eax, [ecx + eax*4]
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], eax
mov dword [ebp + 0xc], edx
cmp dword [ebp - 0xc], esi
jne 0x42ae83
mov eax, esi
jmp 0x42ae87
mov eax, dword [eax]
mov eax, dword [eax]
cmp edx, eax
je 0x42afc2
cmp dword [edi + 0x14], 0x10
lea eax, [edx + 8]
jb 0x42ae9c
mov esi, dword [edi]
jmp 0x42ae9e
mov esi, edi
cmp dword [eax + 0x14], 0x10
jb 0x42aea8
mov edx, dword [eax]
jmp 0x42aeaa
mov edx, eax
mov eax, dword [eax + 0x10]
mov ecx, ebx
cmp eax, ebx
mov dword [ebp - 4], eax
cmovb ecx, eax
test ecx, ecx
je 0x42af13
sub ecx, 4
jb 0x42aed1
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x42aed6
add edx, 4
add esi, 4
sub ecx, 4
jae 0x42aec0
cmp ecx, 0xfffffffc
je 0x42af0a
mov al, byte [edx]
cmp al, byte [esi]
jne 0x42af03
cmp ecx, 0xfffffffd
je 0x42af0a
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x42af03
cmp ecx, 0xfffffffe
je 0x42af0a
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x42af03
cmp ecx, 0xffffffff
je 0x42af0a
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x42af0a
sbb eax, eax
or eax, 1
jmp 0x42af0c
xor eax, eax
test eax, eax
jne 0x42af19
mov eax, dword [ebp - 4]
cmp eax, ebx
jb 0x42af19
jbe 0x42af29
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov edx, dword [edx]
jmp 0x42ae77
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x1c], 0x10
jb 0x42af37
mov edx, dword [eax + 8]
jmp 0x42af3a
lea edx, [eax + 8]
cmp dword [edi + 0x14], 0x10
jb 0x42af42
mov edi, dword [edi]
mov esi, dword [eax + 0x18]
cmp ebx, esi
mov ecx, esi
cmovb ecx, ebx
test ecx, ecx
je 0x42afa5
sub ecx, 4
jb 0x42af66
mov eax, dword [edi]
cmp eax, dword [edx]
jne 0x42af6b
add edi, 4
add edx, 4
sub ecx, 4
jae 0x42af55
cmp ecx, 0xfffffffc
je 0x42af9f
mov al, byte [edi]
cmp al, byte [edx]
jne 0x42af98
cmp ecx, 0xfffffffd
je 0x42af9f
mov al, byte [edi + 1]
cmp al, byte [edx + 1]
jne 0x42af98
cmp ecx, 0xfffffffe
je 0x42af9f
mov al, byte [edi + 2]
cmp al, byte [edx + 2]
jne 0x42af98
cmp ecx, 0xffffffff
je 0x42af9f
mov al, byte [edi + 3]
cmp al, byte [edx + 3]
je 0x42af9f
sbb eax, eax
or eax, 1
jmp 0x42afa1
xor eax, eax
test eax, eax
jne 0x42afab
cmp ebx, esi
jb 0x42afab
jbe 0x42afb1
mov eax, dword [ebp - 8]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42bbf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [esp + 0x10], ecx
cmp dword [ebx + 0x14], 0x10
mov edi, dword [ebx + 0x10]
mov dword [esp + 0xc], edi
jb 0x42bc14
mov esi, dword [ebx]
jmp 0x42bc16
mov esi, ebx
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x42bc32
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x42bc21
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 4]
and eax, edx
lea edx, [eax*8]
mov eax, dword [esi + 0xc]
add esi, 4
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], esi
mov ecx, dword [eax + edx]
mov dword [esp + 0x14], ecx
cmp edi, ecx
je 0x42bd2f
mov edi, dword [eax + edx + 4]
mov edi, dword [edi]
cmp edi, ecx
je 0x42bd2f
mov edi, dword [edi + 4]
cmp dword [edi + 0x1c], 0x10
jb 0x42bc7e
mov esi, dword [edi + 8]
jmp 0x42bc81
lea esi, [edi + 8]
cmp dword [ebx + 0x14], 0x10
jb 0x42bc8b
mov edx, dword [ebx]
jmp 0x42bc8d
mov edx, ebx
mov ebx, dword [edi + 0x18]
mov eax, ebx
mov ecx, dword [esp + 0xc]
cmp ecx, ebx
cmovb eax, ecx
test eax, eax
je 0x42bcf8
sub eax, 4
jb 0x42bcb5
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x42bcba
add edx, 4
add esi, 4
sub eax, 4
jae 0x42bca4
cmp eax, 0xfffffffc
je 0x42bcee
mov cl, byte [edx]
cmp cl, byte [esi]
jne 0x42bce7
cmp eax, 0xfffffffd
je 0x42bcee
mov cl, byte [edx + 1]
cmp cl, byte [esi + 1]
jne 0x42bce7
cmp eax, 0xfffffffe
je 0x42bcee
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
jne 0x42bce7
cmp eax, 0xffffffff
je 0x42bcee
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x42bcee
sbb eax, eax
or eax, 1
jmp 0x42bcf0
xor eax, eax
test eax, eax
jne 0x42bcfe
mov ecx, dword [esp + 0xc]
cmp ecx, ebx
jb 0x42bcfe
jbe 0x42bd0c
cmp edi, dword [esp + 0x14]
je 0x42bd2f
mov ebx, dword [ebp + 0xc]
jmp 0x42bc70
push dword [ebp + 0x10]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
call fcn.0042c220
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
cmp edi, eax
je 0x42bd59
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], esi
mov ecx, dword [eax + 4]
mov edx, dword [edi + 4]
mov dword [edi + 4], ecx
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov dword [esi + 4], edx
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [edx + 0xc]
add ecx, ebx
mov eax, dword [ecx]
cmp eax, dword [edx + 4]
jne 0x42bd78
mov dword [ecx], esi
mov eax, dword [edx + 0xc]
mov dword [eax + ebx + 4], esi
jmp 0x42bd9a
cmp eax, edi
jne 0x42bd80
mov dword [ecx], esi
jmp 0x42bd9a
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, esi
je 0x42bd9a
mov ecx, dword [edx + 0xc]
mov eax, dword [ecx + ebx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + ebx + 4], eax
mov ecx, edx
call fcn.0042c040
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42d0e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x7c41f0]
mov dword [ebp - 4], 0
push esi
mov esi, ecx
test eax, 0xfffffffe
jne 0x42d11c
push 0x7c41f0
call fcn.00418c90
add esp, 4
test al, al
je 0x42d11c
mov ecx, 0x7c41f4
call fcn.004228b0
mov dword [0x7c41f0], eax
mov eax, dword [0x7c41f0]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 1
cmp byte [eax + 0x6d], 0
lea eax, [ebp - 0x20]
je 0x42d168
push 0xf
push 0xf
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x42d164
push 1
push 0x113
push 0x113
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x42d164
xor dl, dl
jmp 0x42d17a
mov dl, 1
jmp 0x42d17a
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
setne dl
xor ecx, ecx
lea eax, [esi + 0x10]
xchg dword [eax], ecx
test dl, dl
jne 0x42d18c
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.0042cfa0
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42dae0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x7c41f0]
push esi
mov esi, ecx
test eax, 0xfffffffe
jne 0x42db0f
push 0x7c41f0
call fcn.00418c90
add esp, 4
test al, al
je 0x42db0f
mov ecx, 0x7c41f4
call fcn.004228b0
mov dword [0x7c41f0], eax
mov eax, dword [0x7c41f0]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esi], eax
mov eax, esi
mov dword [esi + 4], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], esi
mov dword [esi + 8], 0
pop esi
ret

Function at 0x42dae5
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x7c41f0]
push esi
mov esi, ecx
test eax, 0xfffffffe
jne 0x42db0f
push 0x7c41f0
call fcn.00418c90
add esp, 4
test al, al
je 0x42db0f
mov ecx, 0x7c41f4
call fcn.004228b0
mov dword [0x7c41f0], eax
mov eax, dword [0x7c41f0]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esi], eax
mov eax, esi
mov dword [esi + 4], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], esi
mov dword [esi + 8], 0
pop esi
ret

Function at 0x431560
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x7ad398]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test ecx, ecx
jne 0x43157a
call fcn.00423af0
mov ecx, eax
mov eax, dword [0x7c4314]
mov eax, dword [ecx + eax*4]
test eax, eax
jne 0x4315c6
push 0xc
call fcn.004a7835
mov esi, eax
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov eax, dword [0x7ad398]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x4315bb
call fcn.00423af0
mov ecx, dword [0x7c4314]
mov dword [eax + ecx*4], esi
mov eax, esi
pop esi
ret
Function at 0x437720
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov dword [ebp - 8], 0
mov eax, dword [ecx + 0xc]
push esi
push edi
test eax, eax
je 0x437750
mov dword [ebp - 8], eax
mov ecx, 1
add eax, 4
lock xadd dword [eax], ecx
lea ecx, [ebp - 8]
mov ebx, 1
jmp 0x4377a6
mov eax, dword [0x7c4294]
test eax, 0xfffffffe
jne 0x43777c
push 0x7c4294
call fcn.00418c90
add esp, 4
test al, al
je 0x43777c
mov ecx, 0x7c4298
call fcn.004228b0
mov dword [0x7c4294], eax
mov eax, dword [0x7c4294]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, 2
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x4377a3
mov ecx, 1
add eax, 4
lock xadd dword [eax], ecx
lea ecx, [ebp - 4]
mov esi, dword [ebp + 8]
or edi, 0xffffffff
mov eax, dword [ecx]
mov dword [ecx], 0
mov dword [esi], eax
test bl, 2
je 0x4377e1
mov eax, dword [ebp - 4]
and ebx, 0xfffffffd
test eax, eax
je 0x4377e1
lea ecx, [eax + 4]
mov eax, edi
lock xadd dword [ecx], eax
sub eax, 1
jne 0x4377e1
lea eax, [ecx - 4]
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ecx]
call dword [eax + 0xc]
test bl, 1
je 0x437807
mov eax, dword [ebp - 8]
test eax, eax
je 0x437807
lea ecx, [eax + 4]
lock xadd dword [ecx], edi
sub edi, 1
jne 0x437807
lea edx, [ecx - 4]
neg ecx
sbb ecx, ecx
and ecx, edx
mov edx, dword [ecx]
call dword [edx + 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4380b0
Capabilities:
Hash data using sha1

Disassembly:
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 + 0x168], 0
mov dword [ecx + 0x170], 0
mov dword [ecx + 0x174], 0
mov dword [ecx + 0x14], 0x67452301
mov dword [ecx + 0x18], 0xefcdab89
mov dword [ecx + 0x1c], 0x98badcfe
mov dword [ecx + 0x20], 0x10325476
mov dword [ecx + 0x24], 0xc3d2e1f0
ret