joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100af9c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x101104ba
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebp
push esi
push edi
mov eax, dword [0x10157de0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebp, ebp
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebp
mov eax, dword [esp + 0x40]
mov dword [esi], vtable.file_collector.0
mov ecx, dword [eax]
mov dword [esi + 0x14], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x38], ebp
mov dword [esi + 0x18], eax
cmp eax, ebp
je 0x100afa21
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], ebp
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esi + 0x28], edx
mov edx, dword [esp + 0x54]
mov dword [esi + 0x34], edx
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x58]
mov dword [esi + 0x30], ecx
mov ecx, dword [esp + 0x5c]
lea edx, [esi + 0x40]
push edx
mov byte [esp + 0x3c], 2
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
call fcn.100a7520
add esp, 4
lea edi, [esi + 0x5c]
xor eax, eax
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebp
mov word [edi + 4], ax
lea ecx, [esi + 0x78]
mov byte [esp + 0x38], 4
call fcn.100a94b0
mov ecx, dword [esp + 0x44]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, esi
mov byte [esp + 0x40], 5
mov dword [esi + 0x98], ebp
mov dword [esi + 0x9c], ebp
call fcn.100a7710
push 0xffffffffffffffff
push ebp
push eax
mov ecx, edi
mov byte [esp + 0x44], 6
call fcn.1003cca0
cmp dword [esp + 0x2c], 8
mov byte [esp + 0x38], 5
jb 0x100afacd
mov eax, dword [esp + 0x18]
push eax
call fcn.100d41da
add esp, 4
push ebp
push edi
call fcn.100cac20
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x2c
ret 0x20
Function at 0x100b06c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1011076a
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push esi
push edi
mov eax, dword [0x10157de0]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
push 1
push 2
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 0
call fcn.100afd40
mov dword [esp + 0xa4], 1
call fcn.1006fe58
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 4]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + ecx + 0x24]
call fcn.10078230
mov edi, dword [esp + 0x10]
test edi, edi
je 0x100b076b
push 0
lea ecx, [esp + 0x18]
call fcn.1006ff68
mov eax, dword [edi + 4]
test eax, eax
jbe 0x100b0749
cmp eax, 0xffffffff
jae 0x100b0749
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x14]
and esi, edi
call fcn.1006ff90
test esi, esi
je 0x100b076b
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov ecx, dword [esp + 0xb8]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.100719c2
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x24]
mov eax, dword [eax]
push ecx
mov ecx, dword [edx + 4]
lea edx, [esp + ecx + 0x28]
push edx
call eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0xc0]
lea eax, [esp + eax + 0x2c]
mov edx, 0x30
add esp, 0x10
mov word [eax + 0x30], dx
mov eax, dword [esp + 0xb4]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.1007da10
mov esi, dword [esp + 0xac]
push esi
lea ecx, [esp + 0x20]
call fcn.100ab5e0
lea ecx, [esp + 0x68]
mov dword [esp + 0xc], 1
mov byte [esp + 0xa4], 0
call fcn.100a4f50
lea edx, [esp + 0x68]
push edx
mov dword [esp + 0x6c], vtable.std::ios_base.0
call fcn.1006fa15
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x9c
ret

Function at 0x100b2d70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10110c90
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10157de0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push 1
mov dword [esi + 4], ecx
lea edi, [esi + 8]
push 2
mov ecx, edi
mov dword [esp + 0x20], 0
mov dword [esi], eax
call fcn.100afd40
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 4]
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
movzx eax, word [esp + eax + 0x58]
lea ecx, [edx + esi + 8]
mov word [ecx + 0x30], ax
mov edx, dword [esp + 0xa8]
xor eax, eax
push 0xffffffffffffffff
lea ecx, [esi + 0x88]
push eax
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], 0
push edx
mov byte [esp + 0x24], 1
mov word [ecx + 4], ax
call fcn.1003cca0
lea ecx, [esp + 0x74]
mov dword [esp + 0x18], 0xffffffff
call fcn.100a4f50
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0x78], vtable.std::ios_base.0
call fcn.1006fa15
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x8c
Function at 0x100b8ca0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x101115ae
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x10157de0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x44]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x60], esp
call fcn.100b5e50
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x70], 0
mov dword [esp + 0x44], esp
call fcn.100b8200
sub esp, 0x74
mov ecx, esp
mov dword [esp + 0xbc], esp
push 0x10126f44
push 0x10126f40
push 0x10126f3c
push 0x10126f38
push 1
mov byte [esp + 0xf8], 1
call fcn.100aa590
mov ecx, dword [0x10157560]
push ecx
mov ecx, esi
mov dword [esp + 0xe8], 0xffffffff
call fcn.100b1c50
xor edx, edx
mov dword [esi], vtable.boost::date_time::time_facet_class_boost::posix_time::ptime__wchar_t__class_std::ostreambuf_iterator_wchar_t__struct_std::char_traits_wchar_t___.0
mov word [esp + 0x1c], dx
mov edx, dword [0x1015755c]
mov eax, edx
mov dword [esp + 0x3c], 2
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100b8d70
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x20]
call fcn.10079e40
mov eax, dword [str._O:_M:_S_F]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esi + 0x160]
push edx
mov byte [esp + 0x48], 3
call fcn.100aaa50
add esp, 0xc
cmp dword [esp + 0x30], 8
jb 0x100b8dbd
mov eax, dword [esp + 0x1c]
push eax
call fcn.100d41da
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x34
ret 4

Function at 0x100ba150
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1011189b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
push esi
mov eax, dword [0x10157de0]
xor eax, esp
push eax
lea eax, [esp + 0x248]
mov dword fs:[0], eax
mov esi, dword [esp + 0x258]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x474]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x28], esp
xor edx, edx
push 0xffffffffffffffff
push edx
lea eax, [esp + 0x480]
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], 0
push eax
mov dword [esp + 0x27c], 2
mov word [ecx + 4], dx
call fcn.1003cca0
lea ecx, [esp + 0x34]
call fcn.100ab9a0
push eax
sub esp, 0x1fc
lea edx, [esp + 0x45c]
mov ecx, esp
mov dword [esp + 0x208], esp
push edx
mov byte [esp + 0x454], 3
call fcn.100b8ec0
lea ecx, [esp + 0x230]
call fcn.100b9090
push eax
mov ecx, esi
mov byte [esp + 0x254], 4
call fcn.100b8f90
lea ecx, [esp + 0x30]
mov dword [esp + 0xc], 1
mov byte [esp + 0x250], 3
call fcn.100b5d10
cmp dword [esp + 0x2c], 8
jb 0x100ba244
mov eax, dword [esp + 0x18]
push eax
call fcn.100d41da
add esp, 4
xor ecx, ecx
mov word [esp + 0x18], cx
lea ecx, [esp + 0x25c]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov byte [esp + 0x250], 1
call fcn.100b5c40
cmp dword [esp + 0x470], 8
jb 0x100ba289
mov edx, dword [esp + 0x45c]
push edx
call fcn.100d41da
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x248]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24c
ret
Function at 0x100c6ea0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x10112e23
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10157de0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, dword [esp + 0x7c]
xor ebp, ebp
push ebp
push ebp
mov dword [esp + 0x1c], ebp
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push edi
call ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.100c6e30
mov esi, dword [esp + 0x28]
sub esi, dword [esp + 0x24]
mov dword [esp + 0x70], 1
sar esi, 1
je 0x100c6f3e
cmp esi, ebp
ja 0x100c6f03
call fcn.100d3cfd
mov eax, dword [esp + 0x24]
push esi
push eax
push edi
call ebx
test eax, eax
je 0x100c6f3e
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x24]
sar ecx, 1
jne 0x100c6f21
call fcn.100d3cfd
mov edx, dword [esp + 0x24]
push edx
lea ecx, [esp + 0x50]
call fcn.1007a780
mov ebx, 1
mov byte [esp + 0x70], 2
lea edi, [ebx + 6]
jmp 0x100c6f63
mov edi, 7
xor eax, eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], ax
lea eax, [esp + 0x30]
mov dword [esp + 0x70], 3
mov ebx, 2
mov esi, dword [esp + 0x78]
push 0xffffffffffffffff
xor ecx, ecx
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebp
push ebp
mov word [esi + 4], cx
push eax
mov ecx, esi
mov dword [esp + 0x20], ebx
call fcn.1003cca0
or ebx, 4
test bl, 2
je 0x100c6fb0
and ebx, 0xfffffffd
cmp dword [esp + 0x48], 8
jb 0x100c6fa1
mov edx, dword [esp + 0x34]
push edx
call fcn.100d41da
add esp, 4
xor eax, eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], ax
test bl, 1
je 0x100c6fd8
cmp dword [esp + 0x64], 8
jb 0x100c6fc9
mov ecx, dword [esp + 0x50]
push ecx
call fcn.100d41da
add esp, 4
xor edx, edx
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebp
mov word [esp + 0x50], dx
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x100c6fe9
push eax
call fcn.100d41da
add esp, 4
mov eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
call fcn.100d41da
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
Function at 0x100c7920
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x10112f88
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x10157de0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
push 0
mov dword [esp + 0x14], 0
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0
call ebp
mov esi, eax
test esi, esi
jne 0x100c7963
mov esi, 1
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100701e0
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
push edi
push esi
mov dword [esp + 0x24], 0
call ebp
test eax, eax
jne 0x100c799c
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100c799e
xor eax, eax
mov ecx, dword [esp + 0x28]
push str.boost::filesystem::current_path
push ecx
push eax
call fcn.100c71c0
mov esi, dword [esp + 0x30]
add esp, 0xc
xor edx, edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov eax, edi
mov word [esi + 4], dx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100c79d0
sub eax, edx
sar eax, 1
push eax
push edi
mov ecx, esi
call fcn.10079e40
push edi
call fcn.100d4171
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x100c8950
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x10113160
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x10157de0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, dword [esp + 0x48]
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x100c8987
mov eax, dword [esi]
jmp 0x100c8989
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x100c89bf
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x44]
push eax
push edi
push esi
call fcn.100c7500
add esp, 0xc
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
test ebx, 0x400
je 0x100c8aa0
cmp dword [edi + 0x18], 8
jb 0x100c89d3
mov esi, dword [esi]
push esi
lea ecx, [esp + 0x1c]
call fcn.100c22f0
cmp dword [esp + 0x30], 8
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], 0
jae 0x100c89f4
lea eax, [esp + 0x1c]
push 0
push 0x2000000
push 3
push 0
push 7
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x48], esi
cmp dword [esp + 0x30], 8
mov byte [esp + 0x3c], 2
jb 0x100c8a29
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.100d41da
add esp, 4
xor edx, edx
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], dx
cmp esi, 0xffffffff
je 0x100c8997
push edi
call fcn.100c5f70
add esp, 4
test al, al
jne 0x100c8a91
push ebx
push edi
call fcn.100c63d0
mov edi, dword [esp + 0x4c]
add esp, 8
push esi
mov dword [edi], 9
mov dword [edi + 4], eax
mov dword [esp + 0x40], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x30
ret
push esi
mov dword [esp + 0x40], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x100c8ab6
mov dword [esi], 0
call fcn.100bfda0
mov dword [esi + 4], eax
push ebx
push edi
mov dword [esp + 0x18], 3
test bl, 0x10
jne 0x100c8acd
mov dword [esp + 0x18], 2
call fcn.100c63d0
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], eax
mov edx, dword [ecx]
mov eax, dword [esp + 0x4c]
mov ecx, dword [ecx + 4]
add esp, 8
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x30
ret
Function at 0x100c8b00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x18], 8
jb 0x100c8b14
mov eax, dword [esi + 4]
jmp 0x100c8b17
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x100c8b40
mov eax, dword [esp + 0x1c]
push eax
push esi
mov esi, dword [esp + 0x1c]
push esi
call fcn.100c7500
add esp, 0xc
mov eax, esi
pop esi
pop ebx
add esp, 8
ret
push edi
mov edi, dword [esp + 0x20]
test edi, edi
je 0x100c8b57
mov dword [edi], 0
call fcn.100bfda0
mov dword [edi + 4], eax
pop edi
test ebx, 0x400
je 0x100c8b81
push esi
call fcn.100c5f70
add esp, 4
push ebx
push esi
mov dword [esp + 0x10], 4
test al, al
jne 0x100c8b98
mov dword [esp + 0x10], 9
jmp 0x100c8b98
push ebx
push esi
mov dword [esp + 0x10], 3
test bl, 0x10
jne 0x100c8b98
mov dword [esp + 0x10], 2
call fcn.100c63d0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
add esp, 8
pop esi
mov dword [eax + 4], ecx
mov dword [eax], edx
pop ebx
add esp, 8
ret
Function at 0x100ca130
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x10113468
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x10157de0]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov esi, dword [esp + 0xa0]
cmp dword [esi + 0x18], 8
jb 0x100ca16e
mov eax, dword [esi + 4]
jmp 0x100ca171
lea eax, [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x100ca19e
mov esi, dword [esp + 0xa4]
test esi, esi
je 0x100ca197
mov dword [esi], 0
call fcn.100bfda0
mov dword [esi + 4], eax
mov al, 1
jmp 0x100ca231
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.100bfda0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push esi
push ecx
call fcn.100c8950
add esp, 0xc
cmp dword [esp + 0x10], 3
jne 0x100ca1e0
mov esi, dword [esp + 0xa4]
test esi, esi
je 0x100ca22f
mov dword [esi], 0
call fcn.100bfda0
mov dword [esi + 4], eax
jmp 0x100ca22f
mov edi, dword [esp + 0xa4]
test edi, edi
jne 0x100ca225
push str.boost::filesystem::create_directory
lea ecx, [esp + 0x24]
call fcn.10006340
mov dword [esp + 0x98], edi
call fcn.100bfda0
push eax
push ebx
push esi
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x4c]
call fcn.100b0c90
push 0x101433f8
lea eax, [esp + 0x40]
push eax
call fcn.100d660c
call fcn.100bfda0
mov dword [edi], ebx
mov dword [edi + 4], eax
xor al, al
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x8c
ret

Function at 0x100cbdb0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 0x10
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x100cbdd6
mov eax, dword [esp + 0x14]
mov dword [eax], 0
mov dword [eax + 4], 0
add esp, 0x10
ret
cmp dword [esp + 4], 0
jg 0x100cbde5
jl 0x100cbdc1
cmp dword [esp], 0
jbe 0x100cbdc1
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea ecx, [esp + 0x10]
push ecx
xor esi, esi
call edi
test eax, eax
jne 0x100cbe11
lea ebx, [ebx]
inc esi
cmp esi, 3
ja 0x100cbe37
lea edx, [esp + 0x10]
push edx
call edi
test eax, eax
je 0x100cbe00
fild qword [esp + 0x10]
fmul qword [0x101279b0]
fild qword [esp + 8]
fdivp st(1)
call fcn.100dc696
mov ecx, dword [esp + 0x1c]
pop edi
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, ecx
pop esi
add esp, 0x10
ret
mov eax, dword [esp + 0x1c]
pop edi
mov dword [eax], 0
mov dword [eax + 4], 0
pop esi
add esp, 0x10
ret
Function at 0x100d08b0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x1015782c]
sub esp, 8
push esi
push edi
cmp eax, 0xffffffff
je 0x100d091e
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100d091e
lea esi, [eax + 0x14]
push ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.100d0760
mov edi, dword [esp + 0xc]
mov ebx, dword [esi + 0x18]
mov esi, dword [esi]
test edi, edi
je 0x100d08f0
cmp edi, esi
je 0x100d08f5
call fcn.100d3cfd
mov esi, dword [esp + 0x10]
cmp esi, ebx
pop ebx
je 0x100d091e
test edi, edi
jne 0x100d091a
call fcn.100d3cfd
cmp esi, dword [edi + 0x18]
jne 0x100d0911
call fcn.100d3cfd
pop edi
lea eax, [esi + 0x10]
pop esi
add esp, 8
ret
mov edi, dword [edi]
jmp 0x100d0907
pop edi
xor eax, eax
pop esi
add esp, 8
ret
Function at 0x100d1190
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10113fc8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10157de0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [0x1015782c]
cmp eax, 0xffffffff
jne 0x100d11cb
xor ebx, ebx
jmp 0x100d11d4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x30], 0
test ebx, ebx
je 0x100d1215
cmp dword [ebx + 0x30], 0
jne 0x100d125c
cmp dword [ebx + 0xc], 0
jne 0x100d1262
push 0x100cbed0
push 0x1015cc08
call fcn.100cd730
mov eax, dword [0x1015782c]
add esp, 8
cmp eax, 0xffffffff
je 0x100d1215
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x30], 0xffffffff
test ebx, ebx
je 0x100d1248
lea ecx, [ebx + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x100d1248
mov edx, dword [ebx]
push eax
mov eax, dword [edx]
mov ecx, ebx
call eax
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0xc], 0
je 0x100d12aa
mov edi, dword [ebx + 0xc]
mov eax, dword [edi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x100d1294
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov esi, dword [edi]
mov edx, dword [esi]
mov eax, dword [edx]
push 0
mov ecx, esi
call eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebx + 0xc], 0
jne 0x100d1262
cmp dword [ebx + 0x30], 0
je 0x100d11ea
lea esi, [ebx + 0x14]
mov ecx, dword [esi + 0x18]
mov esi, dword [esi]
mov edi, dword [ecx]
test esi, esi
jne 0x100d1353
call fcn.100d3cfd
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x100d12d7
call fcn.100d3cfd
cmp dword [edi + 0x10], 0
je 0x100d1333
test esi, esi
jne 0x100d135a
call fcn.100d3cfd
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x100d12f2
call fcn.100d3cfd
cmp dword [edi + 0x18], 0
je 0x100d1333
test esi, esi
jne 0x100d135e
call fcn.100d3cfd
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x100d130d
call fcn.100d3cfd
mov ebp, dword [edi + 0x10]
test esi, esi
jne 0x100d1362
call fcn.100d3cfd
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x100d1325
call fcn.100d3cfd
mov edx, dword [ebp]
mov eax, dword [edi + 0x18]
mov edx, dword [edx + 4]
push eax
mov ecx, ebp
call edx
push edi
push esi
lea eax, [esp + 0x24]
lea esi, [ebx + 0x14]
push eax
mov ecx, esi
call fcn.100d0950
cmp dword [ebx + 0x30], 0
jne 0x100d12b7
jmp 0x100d11e4
mov eax, dword [esi]
jmp 0x100d12cd
mov eax, dword [esi]
jmp 0x100d12e8
mov eax, dword [esi]
jmp 0x100d1303
mov eax, dword [esi]
jmp 0x100d131b
Function at 0x100d2dd0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10114260
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10157de0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.100d2d20
mov esi, eax
push 0x100cbed0
push 0x1015cc08
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
call fcn.100cd730
mov eax, dword [0x1015782c]
add esp, 8
cmp eax, 0xffffffff
je 0x100d2e30
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100d2e90
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x1015782c]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 0xffffffff
je 0x100d2ea8
push eax
call esi
test eax, eax
jne 0x100d2ed1
call fcn.100d2dd0
mov eax, dword [0x1015782c]
cmp eax, 0xffffffff
jne 0x100d2ece
xor eax, eax
lea esi, [eax + 0xc]
lea eax, [esp + 8]
push esi
push eax
call fcn.100d1160
add esp, 8
mov dword [esi], eax
pop esi
ret
push eax
call esi
lea esi, [eax + 0xc]
lea eax, [esp + 8]
push esi
push eax
call fcn.100d1160
add esp, 8
mov dword [esi], eax
pop esi
ret