joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007ee40
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x38
mov eax, dword [ecx + 0x10]
push ebx
push ebp
mov ebp, edx
mov eax, dword [eax + 0x1c]
mov dword [esp + 8], eax
push esi
push edi
test ebp, ebp
jne 0x1007ee7b
push str.data
push str.invalid_argument
push 0x101dc9a8
push 3
call fcn.1002a5a0
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
mov ebx, dword [esp + 0x54]
test ebx, ebx
jne 0x1007eea7
push str.size
push str.invalid_argument
push 0x101dc9a8
push 3
call fcn.1002a5a0
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
mov eax, dword [0x10204924]
test eax, eax
jne 0x1007eec4
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x40]
mov dword [0x10204924], eax
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
push 0
push eax
push edi
push esi
call fcn.10177570
sub esi, eax
mov dword [esp + 0x14], eax
sbb edi, 0
push edi
push esi
push dword [esp + 0x18]
lea edx, [eax + ebx]
push ecx
push 2
lea ecx, [esp + 0x2c]
call fcn.10096370
add esp, 0x14
test eax, eax
js 0x1007ef19
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x14]
push ebx
push ebp
push eax
call fcn.101787d0
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.10096540
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret

Function at 0x1007ef30
Capabilities:
Get system information on windows
Write file on windows

Disassembly:
sub esp, 0x38
mov eax, dword [ecx + 0x10]
push ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x14], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
push ebp
push esi
push edi
test ebx, ebx
jne 0x1007ef62
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
mov ebp, dword [0x10204924]
test ebp, ebp
jne 0x1007ef89
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [0x10204924], ebp
mov esi, ebx
xor edi, edi
add esi, ecx
adc edi, eax
xor ebx, ebx
push ebx
push ebp
push edi
push esi
call fcn.10177570
sub ebp, eax
mov dword [esp + 0x14], 0
xorps xmm0, xmm0
mov dword [esp + 0x34], 0
sbb ebx, ebx
movlpd qword [esp + 0x24], xmm0
add ebp, esi
mov esi, dword [esp + 0x1c]
adc ebx, edi
sub ebp, 1
mov dword [esp + 0x2c], ebp
mov eax, dword [esi + 0x10]
sbb ebx, 0
mov dword [esp + 0x30], ebx
push dword [eax + 0x1c]
call fcn.10188ca2
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x28]
add esp, 4
push ecx
lea ecx, [esp + 0x18]
push ecx
push 1
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1007f021
cmp dword [esp + 0x14], 0
jl 0x1007f026
mov eax, dword [esi + 0x10]
mov edx, edi
push dword [esp + 0x4c]
mov ecx, esi
push dword [eax + 0x24]
push dword [eax + 0x20]
call fcn.1007ee40
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
call fcn.100416a0
mov eax, dword [esi + 0x10]
add eax, 0xa8
push eax
push str.cannot_extend_packfile__s
push 2
call fcn.1002a5a0
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
Function at 0x10082220
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, ecx
test esi, esi
jne 0x1008224f
push 0x101eb010
push str.invalid_argument
push 0x101dc9a8
push 3
call fcn.1002a5a0
add esp, 0x10
mov dword [esi + 0x960], 1
or eax, 0xffffffff
pop esi
ret
mov dword [esi], 0
xor eax, eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0x67452301
mov dword [esi + 0xc], 0xefcdab89
mov dword [esi + 0x10], 0x98badcfe
mov dword [esi + 0x14], 0x10325476
mov dword [esi + 0x18], 0xc3d2e1f0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 1
mov dword [esi + 0x68], 1
mov dword [esi + 0x64], 1
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x960], 1
pop esi
ret

Function at 0x100822c0
Capabilities:
Hash data using sha1

Disassembly:
push ecx
mov eax, dword [ecx + 0x960]
sub eax, 1
je 0x100822e0
push str.unknown_hash_algorithm
push 0x23
call fcn.1002a5a0
add esp, 8
or eax, 0xffffffff
pop ecx
ret
mov dword [ecx], 0
xor eax, eax
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0x67452301
mov dword [ecx + 0xc], 0xefcdab89
mov dword [ecx + 0x10], 0x98badcfe
mov dword [ecx + 0x14], 0x10325476
mov dword [ecx + 0x18], 0xc3d2e1f0
mov dword [ecx + 0x5c], 0
mov dword [ecx + 0x60], 1
mov dword [ecx + 0x68], 1
mov dword [ecx + 0x64], 1
mov dword [ecx + 0x6c], 0
mov dword [ecx + 0x70], 0
pop ecx
ret
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 [0x101aa4d8]
call esi
add esp, 4
mov ecx, dword [esp + 0x84]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10176e3f
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.10188ca2
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.1017cc59
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.10177570
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.1017cc59
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 0x101dc9a8
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.101887d8
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.10187c30
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.10187c30
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 0x100ce240
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x24
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
mov ebp, dword [esp + 0x38]
push esi
mov esi, dword [esp + 0x40]
push edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
nop
mov dword [esp + 0x18], 0xffffffff
test edi, edi
jg 0x100ce274
test esi, esi
jle 0x100ce3b0
lea eax, [edi - 1]
add eax, ebx
cmp eax, 0xffffffff
jae 0x100ce3ba
test edi, edi
je 0x100ce39c
test esi, esi
je 0x100ce382
push esi
push ebp
push edi
lea eax, [esp + 0x28]
xorps xmm0, xmm0
push ebx
push eax
movups xmmword [esp + 0x30], xmm0
call fcn.100cde30
add esp, 0x14
test eax, eax
js 0x100ce376
jne 0x100ce33c
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
test ecx, ecx
jne 0x100ce2c9
test eax, eax
je 0x100ce30e
mov edx, dword [esp + 0x10]
sub eax, ebp
push eax
sub ecx, ebx
push ebp
push ecx
mov ecx, dword [esp + 0x20]
push ebx
call fcn.100ce240
add esp, 0x10
test eax, eax
jne 0x100ce3bd
mov eax, dword [esp + 0x20]
sub ebx, eax
mov edx, dword [esp + 0x10]
dec ebx
mov ecx, dword [esp + 0x14]
add edi, ebx
lea ebx, [eax + 1]
mov eax, dword [esp + 0x28]
sub ebp, eax
dec ebp
add esi, ebp
lea ebp, [eax + 1]
jmp 0x100ce260
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x34]
lea ebx, [ebx + 1]
mov byte [ebx + eax - 2], 1
sub edi, 1
jne 0x100ce312
mov eax, dword [ecx + 0x78]
lea ebp, [ebp + 1]
mov byte [eax + ebp - 2], 1
sub esi, 1
jne 0x100ce322
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
mov ecx, dword [esp + 0x10]
xorps xmm0, xmm0
push esi
push ebp
mov eax, dword [eax]
and eax, 0xffff3fff
movlpd qword [esp + 0x28], xmm0
push edi
push ebx
movlpd qword [esp + 0x38], xmm0
mov dword [esp + 0x2c], eax
call fcn.100c52d0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov eax, dword [edx + 0x34]
lea ebx, [ebx + 1]
mov byte [ebx + eax - 2], 1
sub edi, 1
jne 0x100ce382
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
test esi, esi
je 0x100ce3b0
mov eax, dword [edx + 0x78]
lea ebp, [ebp + 1]
mov byte [eax + ebp - 2], 1
sub esi, 1
jne 0x100ce3a0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x100df8e0
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 0x100df941
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 0x100df941
jne 0x100df938
cmp eax, edx
jge 0x100df938
mov ecx, dword [esp + 0x18]
movzx esi, cl
movzx ecx, byte [eax + ebx]
cmp cx, si
je 0x100df969
inc eax
cmp eax, edx
jl 0x100df926
mov esi, dword [esp + 0x10]
inc edi
mov eax, edx
cmp edi, dword [esp + 0x20]
jb 0x100df903
mov edi, dword [esp + 0x2c]
xor eax, eax
mov bl, 1
test edi, edi
je 0x100df97f
mov esi, dword [esp + 0x28]
movzx ecx, byte [eax + esi]
test cl, cl
jns 0x100df971
movzx edx, byte [eax + esi + 1]
inc eax
and ecx, 0x7f
shl ecx, 8
or edx, ecx
jmp 0x100df973
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret
mov edx, ecx
sub ebp, edx
js 0x100df97f
inc eax
xor bl, 1
cmp eax, edi
jb 0x100df951
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
pop ecx
ret

Function at 0x100e1110
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a3195
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 0x100e1198
push 4
call fcn.10176a02
add esp, 4
test eax, eax
je 0x100e1151
mov dword [eax], fcn.10034de0
jmp 0x100e1153
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.1017c4df
add esp, 0x18
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100e11b5
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x100e11ae
push ecx
push eax
call fcn.10174906
add esp, 8
test eax, eax
jne 0x100e11ae
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.10174acc
push 6
mov dword [ebp - 0x10], 0
call fcn.10174acc
int3
Function at 0x100e19b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a330d
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.100eaaa0
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 0x100e1a33
cmp dword [eax], esi
je 0x100e1a4a
mov eax, dword [eax + 8]
test eax, eax
jne 0x100e1a28
push dword [0x10202dfc]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x78], eax
call edi
test eax, eax
je 0x100e1a63
mov eax, dword [eax + 4]
jmp 0x100e1a65
cmp dword [eax + 4], 0
je 0x100e1a33
nop
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 1
call fcn.100ee030
nop
jmp 0x100e1b27
xor eax, eax
push 8
push 0x80
push eax
push dword [ebp - 0x6c]
call fcn.100e4810
add esp, 0x10
mov edi, eax
mov dword [edi + 0x14], 0
lea ecx, [edi + 0x30]
mov dword [edi + 0x18], 0x100f15d0
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.100ebb00
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.100f1b30
lea ecx, [ebp - 0x78]
call fcn.100f7b80
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x100e1b4f
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x100e1b4f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x100e1b4f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x100e1b67
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.10176e3f
mov esp, ebp
pop ebp
ret 8
Function at 0x100e4a70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x101a363d
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 0x100e4ae8
mov eax, dword [eax + 4]
jmp 0x100e4aea
xor eax, eax
push 8
push 0x148
push eax
push dword [ebp - 0x1c]
call fcn.100e4810
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 0x100e4b19
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], 0x100f18c0
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 0x100e4b73
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x24], eax
lock inc dword [ecx]
jmp 0x100e4b76
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.100ebbf0
push dword [ebp - 0x24]
lea ecx, [ebx + 0x128]
push 0
push 0
call fcn.100eb610
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x100e4bbb
mov edx, dword [ebp - 0x14]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x100e4bbb
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x18]
lea ecx, [ebp]
call fcn.100eb3d0
mov eax, dword [ebp - 0x28]
test byte [eax + 4], 0x10
je 0x100e4bdc
cmp dword [ebp + 0x204], 0
jne 0x100e4bdc
mov cl, 1
jmp 0x100e4bde
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.100fa4d0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 1
call fcn.100f7de0
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.10176e3f
lea esp, [ebp + 0x20c]
pop ebp
ret 0x14