joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10089790
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x101fd700]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
mov eax, ecx
mov dword [esp + 4], 0x102069cd
push esi
mov esi, edx
mov dword [esp + 0x14], eax
xor ebx, ebx
mov dword [esp + 0xc], 0
mov dword [eax], ebx
lea edx, [esp + 0x1c]
push edi
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x14], 0
call fcn.10042670
test eax, eax
js 0x1008982f
mov ecx, dword [esp + 0x50]
cmp dword [esi], ecx
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
jne 0x10089811
mov eax, dword [esp + 0x54]
cmp dword [esi + 4], eax
jne 0x10089811
cmp dword [esi + 8], ecx
jne 0x10089811
cmp dword [esi + 0x10], edi
jne 0x10089811
cmp dword [esi + 0x14], edx
jne 0x10089811
movzx eax, word [esp + 0x24]
cmp dword [esi + 0x18], eax
je 0x10089881
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
mov dword [esi], eax
movzx eax, word [esp + 0x24]
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], eax
mov edx, dword [esi + 0x34]
lea ecx, [esp + 0xc]
call fcn.1003ae60
mov edi, dword [esp + 0xc]
mov ebx, eax
test ebx, ebx
js 0x100898d0
push ecx
push dword [esp + 0x18]
mov edx, edi
lea ecx, [esp + 0x78]
call fcn.10082500
mov ebx, eax
add esp, 8
test ebx, ebx
js 0x100898d0
lea edx, [esi + 0x20]
mov edi, 0x10
lea ecx, [esp + 0x70]
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100898c2
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10089870
xor edi, edi
cmp dword [esi + 0x3c], edi
jbe 0x100898cc
xor eax, eax
mov dword [esp + 0x1c], eax
nop
mov edx, dword [esi + 0x38]
add edx, eax
je 0x100898cc
mov ecx, dword [esp + 0x18]
call fcn.10089790
mov ebx, eax
test ebx, ebx
js 0x100898cc
mov eax, dword [esp + 0x18]
cmp dword [eax], 0
jne 0x100898cc
mov eax, dword [esp + 0x1c]
inc edi
add eax, 0x48
mov dword [esp + 0x1c], eax
cmp edi, dword [esi + 0x3c]
jb 0x10089890
jmp 0x100898cc
mov eax, dword [esp + 0x18]
mov dword [eax], 1
mov edi, dword [esp + 0xc]
cmp dword [esp + 0x10], 0
jbe 0x100898f7
test edi, edi
je 0x100898f7
cmp edi, 0x102069cc
je 0x100898f7
mov esi, dword [fcn.10034de0]
mov ecx, esi
push edi
call dword [0x101aa4e4]
call esi
add esp, 4
mov ecx, dword [esp + 0x84]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10176fcb
mov esp, ebp
pop ebp
ret
Function at 0x10096370
Capabilities:
Get system information on windows
Read file via mapping

Disassembly:
sub esp, 0x34
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
push esi
push edi
push dword [esp + 0x50]
mov edi, edx
mov esi, ecx
mov dword [esp + 0x18], edi
call fcn.10188e32
mov ecx, dword [0x10204924]
add esp, 4
mov dword [esp + 0x10], eax
test ecx, ecx
jne 0x100963b6
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
mov dword [0x10204924], ecx
xor ebp, ebp
test esi, esi
je 0x10096516
test edi, edi
je 0x10096516
test bl, 3
jne 0x100963d7
push str._prot__0x2____prot__0x1_
jmp 0x1009651b
mov dword [esi], ebp
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
cmp eax, 0xffffffff
jne 0x10096409
call fcn.1017cde9
push str.failed_to_mmap._Invalid_handle_value
push 2
mov dword [eax], 9
call fcn.1002a5a0
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov edi, ebx
and ebx, 1
and edi, 2
je 0x1009641a
mov ebp, 4
jmp 0x10096424
test ebx, ebx
mov eax, 2
cmovne ebp, eax
push 0
push ecx
push dword [esp + 0x60]
neg edi
push dword [esp + 0x60]
sbb edi, edi
and edi, 2
call fcn.10177700
mov ecx, dword [esp + 0x54]
sub ecx, eax
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x58]
sbb ecx, edx
or eax, edx
mov dword [esp + 0x1c], ecx
je 0x10096478
call fcn.1017cde9
push str.failed_to_mmap._Offset_must_be_multiple_of_allocation_granularity
push 2
mov dword [eax], 0x16
call fcn.1002a5a0
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
push 0
push 0
push 0
push ebp
push 0
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ecx, eax
mov dword [esi + 8], ecx
test ecx, ecx
je 0x100964f5
cmp ecx, 0xffffffff
je 0x100964f5
mov ebp, dword [esp + 0x14]
mov eax, edi
push ebp
push dword [esp + 0x1c]
or eax, 4
test ebx, ebx
push dword [esp + 0x24]
cmove eax, edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi], eax
test eax, eax
jne 0x100964e8
push str.failed_to_mmap._No_data_written
push 2
call fcn.1002a5a0
add esp, 8
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov dword [esi + 4], ebp
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
push str.failed_to_mmap._Invalid_handle_value
push 2
call fcn.1002a5a0
add esp, 8
mov dword [esi + 8], 0
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
push str.out_____void__0___len___0
push str.unrecoverable_internal_error
push 0x101dc9b8
push 0x23
call fcn.1002a5a0
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
Function at 0x100a7350
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
push edi
lea eax, [esp + 0xc]
mov dword [esp + 8], 0x4016
push eax
push 0x20019
push 0
push dword [esp + 0x24]
mov esi, ecx
mov edi, 0xfffffffd
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100a73f3
lea eax, [esp + 8]
push eax
push esi
lea eax, [esp + 0x18]
push eax
push 0
push str.InstallLocation
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100a73e9
cmp dword [esp + 0x10], 1
jne 0x100a73e9
mov ecx, dword [esp + 8]
lea eax, [ecx - 1]
cmp eax, 0x200a
ja 0x100a73e9
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
lea eax, [ecx - 1]
je 0x100a73c9
xor edx, edx
mov eax, ecx
mov word [esi + ecx*2], dx
cmp word [esi + eax*2 - 2], 0x5c
jne 0x100a73d8
xor ecx, ecx
mov word [esi + eax*2 - 2], cx
push 0
push esi
call fcn.10188968
add esp, 8
neg eax
sbb eax, eax
and edi, eax
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
add esp, 0xc
ret
Function at 0x100c50f0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x20]
mov esi, 0x1505
and ecx, 0x1e
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
mov ebx, dword [edi]
cmp ebx, edx
jae 0x100c514c
push ebp
mov al, byte [ebx]
cmp al, 0xa
je 0x100c5147
cmp ecx, 0x10
jne 0x100c515f
cmp al, 0xd
jne 0x100c5132
lea eax, [ebx + 1]
cmp eax, edx
jae 0x100c5132
cmp byte [eax], 0xa
je 0x100c513e
mov eax, esi
shl esi, 5
add esi, eax
movsx eax, byte [ebx]
xor esi, eax
mov ecx, dword [esp + 0x18]
inc ebx
cmp ebx, edx
jb 0x100c5117
mov edi, dword [esp + 0x1c]
pop ebp
cmp ebx, edx
lea eax, [ebx + 1]
cmovae eax, ebx
mov dword [edi], eax
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x10
ret
movzx eax, al
push eax
call fcn.10187dc0
mov edx, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x100c5132
lea edi, [ebx + 1]
mov ebp, ebx
mov dword [esp + 0x14], ebp
cmp edi, edx
jae 0x100c51a5
mov ebp, edx
movzx eax, byte [edi]
push eax
call fcn.10187dc0
add esp, 4
test eax, eax
je 0x100c519d
cmp byte [edi], 0xa
je 0x100c519d
inc edi
inc ebx
cmp edi, ebp
jb 0x100c5182
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea ecx, [ebx + 1]
cmp edx, ecx
jbe 0x100c51b5
cmp byte [ecx], 0xa
je 0x100c51b5
xor eax, eax
jmp 0x100c51ba
mov eax, 1
test byte [esp + 0x24], 2
jne 0x100c513e
test byte [esp + 0x24], 4
je 0x100c51df
test eax, eax
jne 0x100c51df
mov eax, esi
shl esi, 5
add esi, eax
xor esi, 0x20
jmp 0x100c513e
test byte [esp + 0x24], 8
je 0x100c513e
test eax, eax
jne 0x100c513e
cmp ebp, ecx
je 0x100c513e
nop word [eax + eax]
mov eax, esi
shl esi, 5
add esi, eax
movsx eax, byte [ebp]
inc ebp
xor esi, eax
cmp ebp, ecx
jne 0x100c5200
jmp 0x100c513e
Function at 0x100dfb00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
movzx ebp, ax
xor eax, eax
mov esi, ebp
push edi
shr esi, 8
xor edi, edi
mov dword [esp + 0x10], esi
cmp dword [esp + 0x20], eax
jbe 0x100dfb61
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
movzx ecx, word [ecx + edi*2]
mov edx, ecx
movzx ecx, cl
shr edx, 8
add edx, eax
cmp esi, ecx
jb 0x100dfb61
jne 0x100dfb58
cmp eax, edx
jge 0x100dfb58
mov ecx, dword [esp + 0x18]
movzx esi, cl
movzx ecx, byte [eax + ebx]
cmp cx, si
je 0x100dfb89
inc eax
cmp eax, edx
jl 0x100dfb46
mov esi, dword [esp + 0x10]
inc edi
mov eax, edx
cmp edi, dword [esp + 0x20]
jb 0x100dfb23
mov edi, dword [esp + 0x2c]
xor eax, eax
mov bl, 1
test edi, edi
je 0x100dfb9f
mov esi, dword [esp + 0x28]
movzx ecx, byte [eax + esi]
test cl, cl
jns 0x100dfb91
movzx edx, byte [eax + esi + 1]
inc eax
and ecx, 0x7f
shl ecx, 8
or edx, ecx
jmp 0x100dfb93
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret
mov edx, ecx
sub ebp, edx
js 0x100dfb9f
inc eax
xor bl, 1
cmp eax, edi
jb 0x100dfb71
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
pop ecx
ret

Function at 0x100e1330
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a3325
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x101fd700]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0xc], 1
jne 0x100e13b8
push 4
call fcn.10176b8e
add esp, 4
test eax, eax
je 0x100e1371
mov dword [eax], 0x100dcc30
jmp 0x100e1373
xor eax, eax
mov dword [ebp + 0xc], eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x100d0140
push 0
push 0
call fcn.1017c66f
add esp, 0x18
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100e13d5
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x100e13ce
push ecx
push eax
call fcn.10174a92
add esp, 8
test eax, eax
jne 0x100e13ce
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc
push 1
call fcn.10174c58
push 6
mov dword [ebp - 0x10], 0
call fcn.10174c58
int3
Function at 0x100e1bd0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a349d
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x101fd700]
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 esi, ecx
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x68], eax
lea eax, [esi + 0x10]
push eax
call fcn.100eac50
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], ecx
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
lea ebx, [esi + 4]
push dword [0x10202e10]
mov esi, dword [ebx]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], 0
mov dword [ebp - 0x6c], eax
call edi
test eax, eax
je 0x100e1c53
cmp dword [eax], esi
je 0x100e1c6a
mov eax, dword [eax + 8]
test eax, eax
jne 0x100e1c48
push dword [0x10202dfc]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x78], eax
call edi
test eax, eax
je 0x100e1c83
mov eax, dword [eax + 4]
jmp 0x100e1c85
cmp dword [eax + 4], 0
je 0x100e1c53
nop
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 1
call fcn.100ee1e0
nop
jmp 0x100e1d47
xor eax, eax
push 8
push 0x80
push eax
push dword [ebp - 0x6c]
call fcn.100e49c0
add esp, 0x10
mov edi, eax
mov dword [edi + 0x14], 0
lea ecx, [edi + 0x30]
mov dword [edi + 0x18], 0x100f1780
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
mov eax, dword [ebp - 0x68]
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x60]
mov dword [edi + 0x28], eax
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 2
call fcn.100ebcb0
mov ecx, dword [ebp - 0x6c]
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x60], eax
mov eax, dword [ebp - 0x24]
mov dword [edi + 0x64], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
push edi
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], edx
mov eax, dword [ebp - 0x18]
push ebx
mov dword [edi + 0x70], eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x74], 0
call fcn.100f1ce0
lea ecx, [ebp - 0x78]
call fcn.100f7d30
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x100e1d6f
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x100e1d6f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x100e1d6f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x100e1d87
mov edx, dword [ecx]
lea eax, [ebp - 0x50]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
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.10176fcb
mov esp, ebp
pop ebp
ret 8
Function at 0x100e4c20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x101a37cd
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x101fd700]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp + 0x218]
mov ecx, dword [ebp + 0x224]
push dword [0x10202dfc]
mov esi, dword [ebp + 0x214]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x220]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100e4c98
mov eax, dword [eax + 4]
jmp 0x100e4c9a
xor eax, eax
push 8
push 0x148
push eax
push dword [ebp - 0x1c]
call fcn.100e49c0
add esp, 0x10
mov ebx, eax
mov ecx, dword [esi + 0xc]
xor eax, eax
xor edx, edx
mov dword [ebp - 0x10], eax
test ecx, ecx
je 0x100e4cc9
mov edx, dword [esi + 8]
mov eax, ecx
mov dword [ebp - 0x10], eax
lock inc dword [ecx + 8]
mov dword [ebx + 0x14], 0
lea ecx, [eax + 8]
mov dword [ebx + 0x18], 0x100f1a70
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebp - 0x14], ecx
test eax, eax
je 0x100e4d23
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x24], eax
lock inc dword [ecx]
jmp 0x100e4d26
mov dword [ebp - 0x14], ecx
mov esi, dword [ebp - 0x18]
lea edi, [ebx + 0x28]
push dword [ebp - 0x20]
mov ecx, 0x21
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0xb0]
call fcn.100ebda0
push dword [ebp - 0x24]
lea ecx, [ebx + 0x128]
push 0
push 0
call fcn.100eb7c0
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x100e4d6b
mov edx, dword [ebp - 0x14]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x100e4d6b
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x18]
lea ecx, [ebp]
call fcn.100eb580
mov eax, dword [ebp - 0x28]
test byte [eax + 4], 0x10
je 0x100e4d8c
cmp dword [ebp + 0x204], 0
jne 0x100e4d8c
mov cl, 1
jmp 0x100e4d8e
xor cl, cl
push ebx
push ecx
push dword [ebp + 0x21c]
lea ecx, [ebp]
push dword [ebp + 0x200]
push ecx
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.100fa680
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 1
call fcn.100f7f90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.10176fcb
lea esp, [ebp + 0x20c]
pop ebp
ret 0x14
Function at 0x100e4df0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a3810
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x101fd700]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x84], eax
call fcn.100eb690
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x64], 0
mov eax, dword [edx]
lea esi, [edx + 0x18]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x60], eax
mov eax, dword [edx + 8]
mov dword [ebp - 0x5c], ecx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x58], eax
mov eax, dword [edx + 0x10]
push esi
mov dword [ebp - 0x50], eax
call fcn.100ebcb0
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x14], eax
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov esi, dword [ebp - 0x84]
lea eax, [ebp - 0x10c]
push 0x10000
push eax
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 0
mov dword [ebp - 0x64], 1
call fcn.100f7690
lea ecx, [esi + 0x44]
push ecx
lea ecx, [ebp - 0x88]
push ecx
mov ecx, dword [esi]
push 0
push eax
lea eax, [esi + 4]
add ecx, 0x14
push eax
call fcn.100e4c20
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x100e4ee5
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x100e4ee5
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x100e4ee5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x100e4f04
mov edx, dword [ecx]
lea eax, [ebp - 0x40]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x80]
test edx, edx
je 0x100e4f37
mov ecx, dword [ebp - 0x78]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x100e4f2d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e4f52
push ecx
push edx
call fcn.10176bbe
add esp, 8
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.10176fcb
mov esp, ebp
pop ebp
ret
call fcn.1017c43f
int3
Function at 0x100ee290
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a4535
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x101fd700]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx]
lea esi, [ecx + 8]
push dword [0x10202e10]
mov edi, dword [ecx + 4]
mov dword [ebp - 0x14], eax
lea eax, [ecx + 4]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100ee2e3
cmp dword [eax], edi
je 0x100ee2fb
mov eax, dword [eax + 8]
test eax, eax
jne 0x100ee2d8
push dword [0x10202dfc]
mov dword [ebp - 0x28], esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100ee327
mov eax, dword [eax + 4]
jmp 0x100ee329
cmp dword [eax + 4], 0
je 0x100ee2e3
nop
mov ecx, dword [esi + 0x24]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x100ee37f
mov eax, dword [ecx]
call dword [eax + 8]
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
push 8
push 0x50
push eax
push dword [ebp - 0x14]
call fcn.100e49c0
add esp, 0x10
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 1
push ecx
push esi
mov ecx, eax
call fcn.100eb5f0
mov ecx, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
call fcn.100f1ce0
lea ecx, [ebp - 0x28]
call fcn.100f7df0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.10174a0f
int3
Function at 0x100f15a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a483d
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x101fd700]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ecx + 0x7c]
xor edx, edx
mov esi, dword [ecx + 0x80]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x58], edx
mov ecx, dword [ebp + 0x30]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x100f1603
mov eax, dword [ecx]
lea edx, [ebp - 0x7c]
push edx
call dword [eax]
mov edx, eax
mov dword [ebp - 0x58], edx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x14], 0
test edx, edx
je 0x100f1651
lea eax, [ebp - 0x7c]
cmp edx, eax
jne 0x100f1647
mov eax, dword [edx]
lea ecx, [ebp - 0x38]
push ecx
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x100f1651
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x7c]
cmp ecx, eax
setne al
push eax
call edx
jmp 0x100f164a
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x58], 0
push dword [0x10202e10]
mov esi, dword [ebp - 0x3c]
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100f1673
cmp dword [eax], esi
je 0x100f1696
mov eax, dword [eax + 8]
test eax, eax
jne 0x100f1668
xor eax, eax
push dword [0x10202dfc]
test eax, eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x54], eax
setne byte [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100f169b
mov eax, dword [eax + 4]
jmp 0x100f169d
mov eax, dword [eax + 4]
jmp 0x100f1675
xor eax, eax
push 8
push 0x58
push eax
push dword [ebp - 0x48]
call fcn.100e49c0
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x40]
push eax
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x100f19c0
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.100ebd20
mov ecx, dword [ebp - 0x48]
push dword [ebp - 0x44]
push esi
mov ecx, dword [ecx + 8]
call fcn.100f7630
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
call fcn.100f7e80
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x100f172f
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp + 0x30]
mov dword [edi], 0
mov dword [edi + 4], 0x101fd038
test ecx, ecx
je 0x100f1754
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
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10176fcb
mov esp, ebp
pop ebp
ret 0x2c