joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6f58d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
mov eax, dword [0x69bc80]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
mov ebx, dword [esp + 0x38]
push ebp
mov ebp, dword [esp + 0x38]
push esi
mov esi, dword [esp + 0x38]
push edi
mov edi, ecx
test esi, esi
je 0x6f5a12
test ebx, ebx
jle 0x6f5a12
cmp ebx, 0x10
jge 0x6f5934
mov eax, 0x10
sub eax, ebx
push eax
mov dword [esp + 0x14], eax
lea eax, [ebx + edi]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00756630
mov edx, dword [esp + 0x1c]
push ebx
lea eax, [esp + edx + 0x24]
push esi
push eax
call fcn.00756630
add esp, 0x18
jmp 0x6f5954
mov ecx, dword [ebx + esi - 0x10]
mov edx, dword [ebx + esi - 0xc]
mov eax, dword [ebx + esi - 8]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx + esi - 4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov eax, ebx
cdq
and edx, 0xf
add eax, edx
sar eax, 4
mov dword [esp + 0x10], eax
test eax, eax
jle 0x6f59c4
lea edx, [esp + 0x24]
push edx
push edi
mov ecx, edi
call fcn.006f4b90
mov eax, dword [esi]
mov dword [edi], eax
mov ecx, dword [esi + 4]
mov dword [edi + 4], ecx
mov edx, dword [esi + 8]
mov dword [edi + 8], edx
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov ecx, dword [esi]
xor ecx, dword [esp + 0x24]
add ebp, 0x10
mov dword [ebp - 0x10], ecx
mov edx, dword [esi + 4]
xor edx, dword [esp + 0x28]
add esi, 0x10
mov dword [ebp - 0xc], edx
mov eax, dword [esi - 8]
xor eax, dword [esp + 0x2c]
mov dword [ebp - 8], eax
mov ecx, dword [esi - 4]
xor ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
dec eax
mov dword [ebp - 4], ecx
mov dword [esp + 0x10], eax
test eax, eax
jg 0x6f5967
and ebx, 0xf
je 0x6f59f7
lea edx, [esp + 0x24]
push edx
push edi
mov ecx, edi
call fcn.006f4b90
xor ecx, ecx
test ebx, ebx
jle 0x6f59f7
lea eax, [esp + 0x24]
mov edx, eax
sub esi, eax
sub ebp, edx
lea eax, [esp + ecx + 0x24]
mov dl, byte [esi + eax]
xor dl, byte [eax]
inc ecx
cmp ecx, ebx
mov byte [eax + ebp], dl
jl 0x6f59e6
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [edi], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.007562ca
add esp, 0x28
ret 0xc
Function at 0x6f5a30
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x28
mov eax, dword [0x69bc80]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
mov ebp, ecx
mov edx, dword [ebp + 0x100]
sub edx, 6
push esi
push edi
test edx, edx
jle 0x6f5a5d
mov esi, dword [esp + 0x3c]
mov ecx, edx
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
xor ecx, ecx
xor eax, eax
test edx, edx
jle 0x6f5aa3
jmp 0x6f5a70
cmp esi, dword [ebp + 0x100]
jg 0x6f5bd2
cmp eax, edx
jge 0x6f5a97
cmp ecx, 4
jge 0x6f5a9a
mov ebx, dword [esp + eax*4 + 0x14]
lea edi, [ecx + esi*4 + 4]
inc eax
inc ecx
cmp eax, edx
mov dword [ebp + edi*4], ebx
jl 0x6f5a80
cmp ecx, 4
jne 0x6f5a9f
inc esi
xor ecx, ecx
cmp eax, edx
jl 0x6f5a70
cmp esi, dword [ebp + 0x100]
jg 0x6f5bd2
mov dword [esp + 0x10], 0x698b28
jmp 0x6f5ac0
movzx edi, byte [esp + edx*4 + 0x11]
mov al, byte [esp + 0x14]
xor al, byte [edi + 0x695928]
mov byte [esp + 0x14], al
movzx edi, byte [esp + edx*4 + 0x12]
movzx ebx, byte [edi + 0x695928]
xor byte [esp + 0x15], bl
movzx edi, byte [esp + edx*4 + 0x13]
movzx ebx, byte [edi + 0x695928]
xor byte [esp + 0x16], bl
movzx edi, byte [esp + edx*4 + 0x10]
movzx ebx, byte [edi + 0x695928]
mov edi, dword [esp + 0x10]
xor al, byte [edi]
xor byte [esp + 0x17], bl
inc edi
mov byte [esp + 0x14], al
mov dword [esp + 0x10], edi
mov eax, 1
cmp edx, 8
je 0x6f5b30
cmp edx, eax
jle 0x6f5b91
mov edi, dword [esp + eax*4 + 0x10]
xor dword [esp + eax*4 + 0x14], edi
inc eax
cmp eax, edx
jl 0x6f5b20
jmp 0x6f5b91
mov edi, dword [esp + eax*4 + 0x10]
xor dword [esp + eax*4 + 0x14], edi
inc eax
cmp eax, 4
jl 0x6f5b30
movzx eax, byte [esp + 0x20]
movzx eax, byte [eax + 0x695928]
xor byte [esp + 0x24], al
movzx eax, byte [esp + 0x21]
movzx eax, byte [eax + 0x695928]
xor byte [esp + 0x25], al
movzx eax, byte [esp + 0x22]
movzx eax, byte [eax + 0x695928]
xor byte [esp + 0x26], al
movzx eax, byte [esp + 0x23]
movzx eax, byte [eax + 0x695928]
xor byte [esp + 0x27], al
mov eax, 5
mov edi, dword [esp + eax*4 + 0x10]
xor dword [esp + eax*4 + 0x14], edi
inc eax
cmp eax, 8
jl 0x6f5b83
xor eax, eax
test edx, edx
jle 0x6f5bc6
cmp esi, dword [ebp + 0x100]
jg 0x6f5bd2
cmp eax, edx
jge 0x6f5bba
cmp ecx, 4
jge 0x6f5bbd
mov ebx, dword [esp + eax*4 + 0x14]
lea edi, [ecx + esi*4 + 4]
inc eax
inc ecx
cmp eax, edx
mov dword [ebp + edi*4], ebx
jl 0x6f5ba3
cmp ecx, 4
jne 0x6f5bc2
inc esi
xor ecx, ecx
cmp eax, edx
jl 0x6f5b97
cmp esi, dword [ebp + 0x100]
jle 0x6f5ac0
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.007562ca
add esp, 0x28
ret 4
Function at 0x6f5bf0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 1
cmp dword [ecx + 0x100], edx
jle 0x6f5cdd
push esi
lea eax, [ecx + 0x22]
push edi
jmp 0x6f5c10
movzx esi, byte [eax + 1]
mov esi, dword [esi*4 + 0x698728]
movzx edi, byte [eax - 1]
xor esi, dword [edi*4 + 0x697f28]
movzx edi, byte [eax]
xor esi, dword [edi*4 + 0x698328]
movzx edi, byte [eax - 2]
xor esi, dword [edi*4 + 0x697b28]
inc edx
mov dword [eax - 2], esi
movzx esi, byte [eax + 5]
mov esi, dword [esi*4 + 0x698728]
movzx edi, byte [eax + 4]
xor esi, dword [edi*4 + 0x698328]
movzx edi, byte [eax + 3]
xor esi, dword [edi*4 + 0x697f28]
movzx edi, byte [eax + 2]
xor esi, dword [edi*4 + 0x697b28]
add eax, 0x10
mov dword [eax - 0xe], esi
movzx esi, byte [eax - 7]
mov esi, dword [esi*4 + 0x698728]
movzx edi, byte [eax - 8]
xor esi, dword [edi*4 + 0x698328]
movzx edi, byte [eax - 9]
xor esi, dword [edi*4 + 0x697f28]
movzx edi, byte [eax - 0xa]
xor esi, dword [edi*4 + 0x697b28]
mov dword [eax - 0xa], esi
movzx esi, byte [eax - 3]
movzx edi, byte [eax - 4]
mov esi, dword [esi*4 + 0x698728]
xor esi, dword [edi*4 + 0x698328]
movzx edi, byte [eax - 5]
xor esi, dword [edi*4 + 0x697f28]
movzx edi, byte [eax - 6]
xor esi, dword [edi*4 + 0x697b28]
mov dword [eax - 6], esi
cmp edx, dword [ecx + 0x100]
jl 0x6f5c10
pop edi
pop esi
ret

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

Disassembly:
mov edx, dword [esp + 8]
mov eax, dword [ecx]
test edx, edx
je 0x6f6bac
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
movzx edi, byte [esi]
movzx ebx, al
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x698f38]
dec edx
inc esi
test edx, edx
jne 0x6f6b91
pop edi
pop esi
pop ebx
mov dword [ecx], eax
ret 8
Function at 0x6f96f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x77385c
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x69bc80]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.00755ca6
xor eax, eax
mov dword [esi], 0x6a139c
mov byte [esi + 0xc], al
mov dword [esi + 0x10], eax
mov ecx, 0xf
mov dword [esi + 0x30], ecx
mov dword [esi + 0x2c], eax
mov ebx, 0x6a0f10
mov byte [esi + 0x1c], al
mov dword [esp + 0x3c], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x50], ecx
mov dword [esi + 0x4c], eax
mov byte [esi + 0x3c], al
mov dword [esi + 0x34], ebx
mov dword [esi + 0x70], ecx
mov dword [esi + 0x6c], eax
mov byte [esi + 0x5c], al
mov dword [esi + 0x54], ebx
lea edi, [esi + 0x74]
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x18], eax
mov byte [edi + 8], al
mov dword [edi], ebx
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], eax
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x40], 4
call fcn.00717560
add esp, 4
push eax
mov ecx, edi
mov byte [esp + 0x40], 5
call fcn.006ebd80
cmp dword [esp + 0x30], 0x10
mov dword [esp + 0x14], ebx
jb 0x6f97b2
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00755e35
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x30
ret

Function at 0x6f9c00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x773964
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x69bc80]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00755d27
xor eax, eax
mov dword [esi], 0x6a139c
mov edx, 0xf
mov dword [esi + 0x30], edx
mov dword [esi + 0x2c], eax
mov ecx, 0x6a0f10
mov byte [esi + 0x1c], al
mov dword [esp + 0x18], eax
mov dword [esi + 0x14], ecx
mov dword [esi + 0x50], edx
mov dword [esi + 0x4c], eax
mov byte [esi + 0x3c], al
mov dword [esi + 0x34], ecx
mov dword [esi + 0x70], edx
mov dword [esi + 0x6c], eax
mov byte [esi + 0x5c], al
mov dword [esi + 0x54], ecx
mov dword [esi + 0x90], edx
mov dword [esi + 0x8c], eax
mov byte [esi + 0x7c], al
mov dword [esi + 0x74], ecx
push edi
mov ecx, esi
mov byte [esp + 0x1c], 4
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], eax
call fcn.006f9b10
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x6fa9f0
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
push eax
push ecx
mov ecx, esi
call fcn.006fa6b0
mov ecx, dword [esi + 0x18]
cmp ecx, 0xffffffff
je 0x6faa2a
push 0
push 0
push 0
push 6
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
jne 0x6faa25
xor al, al
pop esi
ret 8
mov dword [esi + 0x14], eax
mov al, 1
pop esi
ret 8
Function at 0x7037e0
Capabilities:
Encode data using xor
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x69bc80]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push edi
mov edi, ecx
mov al, byte [edi + 0x1bc]
xor ebx, ebx
cmp al, bl
jne 0x70397e
push esi
push 0x100
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.00755e40
add esp, 0xc
push 0xff
lea ecx, [esp + 0x14]
push ecx
push 0x6a4960
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
cmp esi, ebx
je 0x70397b
cmp esi, 0x20
jae 0x70397b
mov ecx, 0x6a4958
lea eax, [esp + 0x10]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x703870
cmp dl, bl
je 0x70386c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x703870
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x703850
xor eax, eax
jmp 0x703875
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x70397b
mov ecx, 0x6a4950
lea eax, [esp + 0x10]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x7038a6
cmp dl, bl
je 0x7038a2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x7038a6
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x703886
xor eax, eax
jmp 0x7038ab
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x70397b
push 8
lea edx, [esp + 0x14]
push 0x6a4944
push edx
call fcn.00757db0
add esp, 0xc
test eax, eax
jne 0x70392f
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push 0x6a4938
push ecx
mov dword [esp + 0x18], ebx
call fcn.007597c8
add esp, 0xc
cmp eax, 1
jne 0x70390d
mov edx, dword [esp + 0xc]
lea eax, [edx + 1]
and eax, 0x800000ff
jns 0x703900
dec eax
or eax, 0xffffff00
inc eax
movzx ax, byte [eax + 0x699970]
movzx ebx, ax
jmp 0x70394f
xor eax, eax
cmp esi, ebx
jbe 0x703956
movsx ecx, byte [esp + eax + 0x10]
movzx edx, bx
xor ecx, edx
movzx cx, byte [ecx + 0x699970]
inc eax
movzx ebx, cx
cmp eax, esi
jb 0x703913
jmp 0x70394f
xor eax, eax
cmp esi, ebx
jbe 0x703956
movsx edx, byte [esp + eax + 0x10]
movzx ecx, bx
xor edx, ecx
movzx dx, byte [edx + 0x699970]
inc eax
movzx ebx, dx
cmp eax, esi
jb 0x703935
xor eax, eax
cmp ax, bx
jne 0x70395b
mov ebx, 0xff
pop esi
mov byte [edi + 0x1bc], bl
pop edi
mov al, bl
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.007562ca
add esp, 0x108
ret
xor al, al
pop esi
mov ecx, dword [esp + 0x10c]
pop edi
pop ebx
xor ecx, esp
call fcn.007562ca
add esp, 0x108
ret

Function at 0x704f70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7747d8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x69bc80]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x6a4bd8
mov eax, dword [esi + 0x30]
mov dword [esp + 0x14], 0
test eax, eax
je 0x704fbc
cmp dword [esi + 0x28], 0
je 0x704fbc
push eax
call fcn.00756594
add esp, 4
mov ecx, esi
mov dword [esi + 0x30], 0
mov dword [esi + 0x28], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.007242f0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x705390
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7747d8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x69bc80]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x6a4c88
mov eax, dword [esi + 0x30]
mov dword [esp + 0x14], 0
test eax, eax
je 0x7053dc
cmp dword [esi + 0x2c], 0
je 0x7053dc
push eax
call fcn.00756594
add esp, 4
mov ecx, esi
mov dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.007242f0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x7058f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7747d8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x69bc80]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x6a4d90
mov eax, dword [esi + 0x30]
mov dword [esp + 0x14], 0
test eax, eax
je 0x70593c
cmp dword [esi + 0x2c], 0
je 0x70593c
push eax
call fcn.00756594
add esp, 4
mov ecx, esi
mov dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.007242f0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x7064b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7747d8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x69bc80]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x6a4f1c
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x14], 0
test eax, eax
je 0x7064fc
cmp dword [esi + 0x30], 0
je 0x7064fc
push eax
call fcn.00756594
add esp, 4
mov ecx, esi
mov dword [esi + 0x3c], 0
mov dword [esi + 0x30], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.007242f0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

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

Disassembly:
sub esp, 0x104
mov eax, dword [0x69bc80]
xor eax, esp
mov dword [esp + 0x100], eax
mov eax, dword [0x7cad84]
push esi
push eax
mov byte [esp + 0x107], 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x706b2d
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x706b2d
mov ecx, dword [0x7cad84]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0xff
lea edx, [esp + 8]
push edx
push 0x10
mov dword [esi], 0x130
call fcn.006f1bf0
mov ecx, dword [esp + 0x110]
add esp, 0xc
pop esi
xor ecx, esp
xor eax, eax
call fcn.007562ca
add esp, 0x104
ret 4
Function at 0x707310
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7749e8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x69bc80]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov edi, ecx
mov ecx, dword [0x7cad84]
push ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ebx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x707380
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x707380
mov edx, dword [0x7cad84]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp dword [ebp + 0xc], 0x40
mov dword [esi], 0
jne 0x707435
mov esi, dword [ebp + 0x14]
cmp esi, 0x20
jbe 0x707435
mov eax, dword [ebp - 0x3c]
push 0x40
push eax
call fcn.00724c70
mov ecx, edi
test al, al
jne 0x7073b9
push 0x71
call fcn.00703780
jmp 0x70746b
push esi
push ebx
call fcn.007066f0
test al, al
je 0x70746b
push 0x20
lea ecx, [ebp - 0x34]
xor eax, eax
add edi, 0x94
push ecx
mov ecx, edi
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], eax
call fcn.006f4a50
add esi, 0xffffffc0
push edi
lea ecx, [ebp - 0x48]
add ebx, esi
call fcn.007258e0
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
push ebx
push esi
push edx
lea eax, [ebp - 0x34]
push eax
push ecx
mov byte [ebp - 4], 1
call fcn.00725910
mov edx, dword [ebp + 0x14]
add esp, 0x14
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 0
call fcn.00703a20
mov eax, dword [ebp - 0x38]
jmp 0x70746d
mov eax, dword [0x7cad84]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x707465
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x707465
mov ecx, dword [0x7cad84]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esi], 0x69
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.007562ca
mov esp, ebp
pop ebp
ret 0x10
Function at 0x707760
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x774a90
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x69bc80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov eax, dword [0x7cad84]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call edi
mov esi, eax
test esi, esi
jne 0x7077c0
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x7077c0
mov ecx, dword [0x7cad84]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, 0x10
mov dword [esi], 0
cmp dword [ebp + 0xc], eax
jne 0x707821
cmp dword [ebp + 0x14], eax
jne 0x707821
cmp dword [ebp + 0x1c], eax
jne 0x707821
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
mov dword [ebp - 4], 0
call fcn.00721d00
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, dword [0x7cad84]
push edx
call edi
mov esi, eax
test esi, esi
jne 0x70784d
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x70784d
mov eax, dword [0x7cad84]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esi], 0x69
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x774ab0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x69bc80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [0x7cad84]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x7078d0
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x7078d0
mov ecx, dword [0x7cad84]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [ebp + 0xc]
mov dword [esi], 0
test al, 0xf
je 0x7078fc
push 0x69
mov ecx, edi
call fcn.00703780
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0x14], 0x10
jne 0x7078dd
mov edx, dword [ebp + 0x10]
push edx
push eax
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 4], 0
call fcn.00721db0
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x707950
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub esp, 0x104
mov eax, dword [0x69bc80]
xor eax, esp
mov dword [esp + 0x100], eax
mov eax, dword [0x7cad84]
push esi
push eax
mov byte [esp + 0x107], 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x70799d
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x70799d
mov ecx, dword [0x7cad84]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0xff
lea edx, [esp + 8]
push edx
push 0x10
mov dword [esi], 0x130
call fcn.006f1bf0
mov ecx, dword [esp + 0x110]
add esp, 0xc
pop esi
xor ecx, esp
xor eax, eax
call fcn.007562ca
add esp, 0x104
ret 8
Function at 0x709610
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
lea ebp, [esp - 0xf0]
sub esp, 0xf0
push 0xffffffffffffffff
push 0x774e90
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x69bc80]
xor eax, ebp
mov dword [ebp + 0xec], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edx, dword [0x7cad84]
mov eax, dword [ebp + 0xfc]
mov esi, dword [ebp + 0xf8]
mov ebx, ecx
mov ecx, dword [ebp + 0x104]
push edx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
jne 0x709699
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x709699
mov eax, dword [0x7cad84]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [edi], 0
mov edi, 0x40
cmp dword [ebp + 0x108], edi
jb 0x7097d0
cmp dword [ebp + 0x100], edi
jb 0x7097d0
lea ecx, [ebx + 0x94]
push ecx
lea ecx, [ebp - 0x70]
call fcn.00723810
xor edi, edi
lea ecx, [ebp]
mov dword [ebp - 4], edi
call fcn.00722160
mov dword [ebp], 0x6a48f4
lea edx, [esi + 0x18]
push edx
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.00726f80
mov eax, dword [esi + 8]
push edi
push edi
push eax
push edi
lea ecx, [ebp]
call fcn.00726fc0
lea ecx, [ebp]
push ecx
lea ecx, [ebp - 0x70]
call fcn.00721ce0
mov ecx, dword [esi]
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
push ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
call fcn.00726ee0
add esp, 0xc
test al, al
jne 0x709750
push 0x69
mov ecx, ebx
call fcn.00703780
lea ecx, [ebp]
mov byte [ebp - 4], 0
call fcn.007221e0
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0xffffffff
call fcn.00722350
jmp 0x709805
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0xc]
push edx
mov edx, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x1c]
push edx
mov edx, dword [ebp - 0x14]
push eax
push ecx
add esi, 0xa8
push esi
push edx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.007231b0
mov dword [ebp - 4], 1
test al, al
je 0x7097ac
lea ecx, [ebp]
mov byte [ebp - 4], 0
call fcn.007221e0
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0xffffffff
call fcn.00722350
mov eax, 1
jmp 0x709807
push 0xca
jmp 0x709729
mov eax, dword [0x7cad84]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x7097ff
push 4
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x7097ff
mov ecx, dword [0x7cad84]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esi], 0x69
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xec]
xor ecx, ebp
call fcn.007562ca
add ebp, 0xf0
mov esp, ebp
pop ebp
ret 0x14