joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007cd90
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 0x1007cdcb
push str.data
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
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 0x1007cdf7
push str.size
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
mov eax, dword [0x101ff4d4]
test eax, eax
jne 0x1007ce14
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x40]
mov dword [0x101ff4d4], eax
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
push 0
push eax
push edi
push esi
call fcn.101733b0
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.10094370
add esp, 0x14
test eax, eax
js 0x1007ce69
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x14]
push ebx
push ebp
push eax
call fcn.10174950
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.10094540
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret

Function at 0x1007ce80
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 0x1007ceb2
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
mov ebp, dword [0x101ff4d4]
test ebp, ebp
jne 0x1007ced9
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 [0x101ff4d4], 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.101733b0
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.10184f52
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 0x1007cf71
cmp dword [esp + 0x14], 0
jl 0x1007cf76
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.1007cd90
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
call fcn.1003f860
mov eax, dword [esi + 0x10]
add eax, 0xa8
push eax
push str.cannot_extend_packfile__s
push 2
call fcn.10028740
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
Function at 0x10080150
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, ecx
test esi, esi
jne 0x1008017f
push 0x101e6354
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
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 0x100801f0
Capabilities:
Hash data using sha1

Disassembly:
push ecx
mov eax, dword [ecx + 0x960]
sub eax, 1
je 0x10080210
push str.unknown_hash_algorithm
push 0x23
call fcn.10028740
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 0x10087710
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x101f8740]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
mov eax, ecx
mov dword [esp + 4], 0x1020156d
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.10040850
test eax, eax
js 0x100877af
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 0x10087791
mov eax, dword [esp + 0x54]
cmp dword [esi + 4], eax
jne 0x10087791
cmp dword [esi + 8], ecx
jne 0x10087791
cmp dword [esi + 0x10], edi
jne 0x10087791
cmp dword [esi + 0x14], edx
jne 0x10087791
movzx eax, word [esp + 0x24]
cmp dword [esi + 0x18], eax
je 0x10087801
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.10038ff0
mov edi, dword [esp + 0xc]
mov ebx, eax
test ebx, ebx
js 0x10087850
push ecx
push dword [esp + 0x18]
mov edx, edi
lea ecx, [esp + 0x78]
call fcn.10080430
mov ebx, eax
add esp, 8
test ebx, ebx
js 0x10087850
lea edx, [esi + 0x20]
mov edi, 0x10
lea ecx, [esp + 0x70]
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10087842
add ecx, 4
add edx, 4
sub edi, 4
jae 0x100877f0
xor edi, edi
cmp dword [esi + 0x3c], edi
jbe 0x1008784c
xor eax, eax
mov dword [esp + 0x1c], eax
nop
mov edx, dword [esi + 0x38]
add edx, eax
je 0x1008784c
mov ecx, dword [esp + 0x18]
call fcn.10087710
mov ebx, eax
test ebx, ebx
js 0x1008784c
mov eax, dword [esp + 0x18]
cmp dword [eax], 0
jne 0x1008784c
mov eax, dword [esp + 0x1c]
inc edi
add eax, 0x48
mov dword [esp + 0x1c], eax
cmp edi, dword [esi + 0x3c]
jb 0x10087810
jmp 0x1008784c
mov eax, dword [esp + 0x18]
mov dword [eax], 1
mov edi, dword [esp + 0xc]
cmp dword [esp + 0x10], 0
jbe 0x10087877
test edi, edi
je 0x10087877
cmp edi, 0x1020156c
je 0x10087877
mov esi, dword [fcn.10032f00]
mov ecx, esi
push edi
call dword [0x101a54ac]
call esi
add esp, 4
mov ecx, dword [esp + 0x84]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10172863
mov esp, ebp
pop ebp
ret
Function at 0x10094370
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.10184f52
mov ecx, dword [0x101ff4d4]
add esp, 4
mov dword [esp + 0x10], eax
test ecx, ecx
jne 0x100943b6
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 [0x101ff4d4], ecx
xor ebp, ebp
test esi, esi
je 0x10094516
test edi, edi
je 0x10094516
test bl, 3
jne 0x100943d7
push str._prot__0x2____prot__0x1_
jmp 0x1009451b
mov dword [esi], ebp
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
cmp eax, 0xffffffff
jne 0x10094409
call fcn.10178834
push str.failed_to_mmap._Invalid_handle_value
push 2
mov dword [eax], 9
call fcn.10028740
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 0x1009441a
mov ebp, 4
jmp 0x10094424
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.101733b0
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 0x10094478
call fcn.10178834
push str.failed_to_mmap._Offset_must_be_multiple_of_allocation_granularity
push 2
mov dword [eax], 0x16
call fcn.10028740
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 0x100944f5
cmp ecx, 0xffffffff
je 0x100944f5
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 0x100944e8
push str.failed_to_mmap._No_data_written
push 2
call fcn.10028740
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.10028740
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 0x101d76f8
push 0x23
call fcn.10028740
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
Function at 0x100a4fa0
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 0x100a5043
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 0x100a5039
cmp dword [esp + 0x10], 1
jne 0x100a5039
mov ecx, dword [esp + 8]
lea eax, [ecx - 1]
cmp eax, 0x200a
ja 0x100a5039
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
lea eax, [ecx - 1]
je 0x100a5019
xor edx, edx
mov eax, ecx
mov word [esi + ecx*2], dx
cmp word [esi + eax*2 - 2], 0x5c
jne 0x100a5028
xor ecx, ecx
mov word [esi + eax*2 - 2], cx
push 0
push esi
call fcn.10184a88
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 0x100c2b30
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 0x100c2b8c
push ebp
mov al, byte [ebx]
cmp al, 0xa
je 0x100c2b87
cmp ecx, 0x10
jne 0x100c2b9f
cmp al, 0xd
jne 0x100c2b72
lea eax, [ebx + 1]
cmp eax, edx
jae 0x100c2b72
cmp byte [eax], 0xa
je 0x100c2b7e
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 0x100c2b57
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.10183ee0
mov edx, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x100c2b72
lea edi, [ebx + 1]
mov ebp, ebx
mov dword [esp + 0x14], ebp
cmp edi, edx
jae 0x100c2be5
mov ebp, edx
movzx eax, byte [edi]
push eax
call fcn.10183ee0
add esp, 4
test eax, eax
je 0x100c2bdd
cmp byte [edi], 0xa
je 0x100c2bdd
inc edi
inc ebx
cmp edi, ebp
jb 0x100c2bc2
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea ecx, [ebx + 1]
cmp edx, ecx
jbe 0x100c2bf5
cmp byte [ecx], 0xa
je 0x100c2bf5
xor eax, eax
jmp 0x100c2bfa
mov eax, 1
test byte [esp + 0x24], 2
jne 0x100c2b7e
test byte [esp + 0x24], 4
je 0x100c2c1f
test eax, eax
jne 0x100c2c1f
mov eax, esi
shl esi, 5
add esi, eax
xor esi, 0x20
jmp 0x100c2b7e
test byte [esp + 0x24], 8
je 0x100c2b7e
test eax, eax
jne 0x100c2b7e
cmp ebp, ecx
je 0x100c2b7e
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 0x100c2c40
jmp 0x100c2b7e
Function at 0x100cbca0
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 0x100cbcd4
test esi, esi
jle 0x100cbe10
lea eax, [edi - 1]
add eax, ebx
cmp eax, 0xffffffff
jae 0x100cbe1a
test edi, edi
je 0x100cbdfc
test esi, esi
je 0x100cbde2
push esi
push ebp
push edi
lea eax, [esp + 0x28]
xorps xmm0, xmm0
push ebx
push eax
movups xmmword [esp + 0x30], xmm0
call fcn.100cb890
add esp, 0x14
test eax, eax
js 0x100cbdd6
jne 0x100cbd9c
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
test ecx, ecx
jne 0x100cbd29
test eax, eax
je 0x100cbd6e
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.100cbca0
add esp, 0x10
test eax, eax
jne 0x100cbe1d
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 0x100cbcc0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x34]
lea ebx, [ebx + 1]
mov byte [eax + ebx - 2], 1
sub edi, 1
jne 0x100cbd72
mov eax, dword [ecx + 0x78]
lea ebp, [ebp + 1]
mov byte [eax + ebp - 2], 1
sub esi, 1
jne 0x100cbd82
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.100c2d10
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 [eax + ebx - 2], 1
sub edi, 1
jne 0x100cbde2
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
test esi, esi
je 0x100cbe10
mov eax, dword [edx + 0x78]
lea ebp, [ebp + 1]
mov byte [eax + ebp - 2], 1
sub esi, 1
jne 0x100cbe00
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 0x100cceb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019e415
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x101f8740]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0xc], 1
jne 0x100ccf38
push 4
call fcn.10172825
add esp, 4
test eax, eax
je 0x100ccef1
mov dword [eax], fcn.10032f00
jmp 0x100ccef3
xor eax, eax
mov dword [ebp + 0xc], eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x100cce20
push 0
push 0
call fcn.101780bb
add esp, 0x18
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100ccf55
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x100ccf4e
push ecx
push eax
call fcn.1017051c
add esp, 8
test eax, eax
jne 0x100ccf4e
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.10170792
push 6
mov dword [ebp - 0x10], 0
call fcn.10170792
int3
Function at 0x100cdfe0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019e5fd
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x101f8740]
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.100e1570
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 [0x101fdbb8]
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 0x100ce063
cmp dword [eax], esi
je 0x100ce07a
mov eax, dword [eax + 8]
test eax, eax
jne 0x100ce058
push dword [0x101fdba4]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x78], eax
call edi
test eax, eax
je 0x100ce093
mov eax, dword [eax + 4]
jmp 0x100ce095
cmp dword [eax + 4], 0
je 0x100ce063
nop
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 1
call fcn.100e76b0
nop
jmp 0x100ce14f
xor eax, eax
push 8
push 0x80
push eax
push dword [ebp - 0x6c]
call fcn.100d1750
add esp, 0x10
mov edi, eax
mov dword [edi + 0x14], 0
lea ecx, [edi + 0x30]
mov dword [edi + 0x18], 0x100ec8a0
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.100e2c10
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.100ece10
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x100ce177
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x100ce177
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x100ce177
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x100ce18f
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.10172863
mov esp, ebp
pop ebp
ret 8
Function at 0x100d1c80
Capabilities:
Get thread local storage value

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x1019ea6d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x101f8740]
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 [0x101fdba4]
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 0x100d1cf8
mov eax, dword [eax + 4]
jmp 0x100d1cfa
xor eax, eax
push 8
push 0x148
push eax
push dword [ebp - 0x1c]
call fcn.100d1750
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 0x100d1d29
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], 0x100ecb90
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 0x100d1d83
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x24], eax
lock inc dword [ecx]
jmp 0x100d1d86
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.100e2d00
push dword [ebp - 0x24]
lea ecx, [ebx + 0x128]
push 0
push 0
call fcn.100e2710
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x100d1dcb
mov edx, dword [ebp - 0x14]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x100d1dcb
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x18]
lea ecx, [ebp]
call fcn.100e20f0
mov eax, dword [ebp - 0x28]
test byte [eax + 4], 0x10
je 0x100d1dec
cmp dword [ebp + 0x204], 0
jne 0x100d1dec
mov cl, 1
jmp 0x100d1dee
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.100f8010
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 1
call fcn.100f5240
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.10172863
lea esp, [ebp + 0x20c]
pop ebp
ret 0x14
Function at 0x100d1e50
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019eab0
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x101f8740]
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.100e2200
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.100e2c10
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.100f45a0
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.100d1c80
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x100d1f45
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x100d1f45
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x100d1f45
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x100d1f64
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 0x100d1f97
mov ecx, dword [ebp - 0x78]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x100d1f8d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d1fb2
push ecx
push edx
call fcn.10172855
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.10172863
mov esp, ebp
pop ebp
ret
call fcn.10178468
int3