joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10053920
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b83d1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100f1850]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], 0
call fcn.10053810
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0
push esi
push 0x10053780
push 0
xorps xmm0, xmm0
push 0
movq qword [edi], xmm0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, eax
mov ecx, edi
call fcn.10066ea0
mov dword [ebp - 4], 0
mov eax, dword [edi]
mov dword [ebp - 0x1c], 1
test eax, eax
je 0x100539f5
cmp dword [eax], 0
je 0x100539f5
push 0x100fe1f4
mov dword [ebp - 0x18], 0x100fe1f4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 1
push edi
call fcn.10053be0
mov byte [ebp - 4], 0
push 0x100fe1f4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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.1008aee2
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.wtf__cannot_create_the_thread
push eax
lea ecx, [ebp - 0x2c]
call fcn.1008af28
push 0x100ef7a4
lea eax, [ebp - 0x2c]
push eax
call fcn.1009151f
int3

Function at 0x10053a20
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b8408
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x100f1850]
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
call fcn.10053810
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.100538a0
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
cmp esi, edi
je 0x10053a97
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edi, edi
mov eax, dword [esi]
test eax, eax
je 0x10053a88
mov eax, dword [eax]
push 0x29a
push eax
call ebx
add esi, 8
cmp esi, edi
jne 0x10053a80
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10053ad1
push dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
push ecx
call fcn.10053fe0
push dword [ebp - 0x1c]
call fcn.1008b066
add esp, 0xc
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
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.1008aee2
mov esp, ebp
pop ebp
ret
Function at 0x100674c0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd9f6
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100f1850]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 1
lea ecx, [esi + 0x18]
push 0xffffffffffffffff
mov dword [esi], 0xffffffff
lea eax, [ebp + 0x1c]
mov dword [esi + 4], 8
mov dword [esi + 8], 0xf
mov dword [esi + 0xc], 8
mov dword [esi + 0x10], 0
mov word [esi + 0x14], 0
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.100061e0
mov byte [ebp - 4], 2
lea ecx, [esi + 0x30]
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x34]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.100061e0
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0x4c]
mov dword [esi + 0x48], eax
mov eax, dword [ebp + 0x50]
mov dword [esi + 0x4c], eax
mov byte [ebp - 4], 0
cmp dword [ebp + 0x30], 0x10
jb 0x10067583
push dword [ebp + 0x1c]
call fcn.1008b066
add esp, 4
mov dword [ebp + 0x30], 0xf
mov dword [ebp + 0x2c], 0
mov byte [ebp + 0x1c], 0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x48], 0x10
jb 0x100675ad
push dword [ebp + 0x34]
call fcn.1008b066
add esp, 4
mov dword [ebp + 0x48], 0xf
mov eax, esi
mov dword [ebp + 0x44], 0
mov byte [ebp + 0x34], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x4c
Function at 0x10070210
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100f1850]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 4
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x100702f8
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x100702f1
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ebx, [ebx]
cmp dword [ebp - 0x20], 0x10
jb 0x100702d6
call ebx
cmp dword [ebp - 0x14], eax
jne 0x100702d6
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x100702d6
mov ecx, dword [esi]
test ecx, ecx
jne 0x1007029f
push 0x200
push ecx
push dword [0x100fe0fc]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi], eax
test eax, eax
je 0x100702f0
jmp 0x100702c8
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x100702c8
shl eax, 3
push eax
push ecx
push 0
push dword [0x100fe0fc]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
test eax, eax
je 0x100702f0
mov ecx, dword [esi + 4]
add ecx, ecx
mov dword [esi], eax
mov dword [esi + 4], ecx
mov edx, dword [esi + 8]
mov ecx, dword [esi]
mov eax, dword [ebp - 0x18]
mov dword [ecx + edx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10070260
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1008aee2
mov esp, ebp
pop ebp
ret

Function at 0x10070310
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.10070210
cmp dword [edi], 0
je 0x1007037c
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x1007037b
push ebx
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10070374
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 4]
mov ecx, ebx
call fcn.100700d0
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x10070341
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x10070390
Capabilities:
Resume thread

Disassembly:
push edi
mov edi, ecx
cmp dword [edi], 0
je 0x100703dc
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x100703cb
push ebx
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x100703c4
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x100703a1
pop ebx
push dword [edi]
push 0
push dword [0x100fe0fc]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
ret
Function at 0x100703e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100f1850]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x101012f0]
lea ecx, [ecx + ecx*4]
test byte [eax + ecx*8 + 0x14], 1
push ebx
push esi
mov esi, dword [eax + ecx*8]
mov ebx, edx
push edi
lea edi, [eax + ecx*8]
mov eax, 5
mov dword [ebp - 0xc], eax
je 0x1007041c
sub esi, eax
mov eax, 7
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 8]
push ecx
push 0x40
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10070444
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008aee2
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x10070465
mov byte [esi], 0xe9
mov eax, dword [edi + 4]
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
test byte [edi + 0x14], 1
je 0x10070486
mov eax, dword [edi]
mov word [eax], 0xf9eb
jmp 0x10070486
mov eax, dword [edi + 0xc]
test byte [edi + 0x14], 1
mov dword [esi], eax
je 0x10070480
mov ax, word [edi + 0x10]
mov word [esi + 4], ax
mov al, byte [edi + 0x12]
mov byte [esi + 6], al
jmp 0x10070486
mov al, byte [edi + 0x10]
mov byte [esi + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
and ebx, 1
mov ecx, ebx
and ecx, 0xfffffffd
lea eax, [ebx + ebx]
or ecx, eax
mov eax, dword [edi + 0x14]
add ecx, ecx
and eax, 0xfffffff9
or ecx, eax
xor eax, eax
mov dword [edi + 0x14], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008aee2
mov esp, ebp
pop ebp
ret
Function at 0x10070f60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x100f1850]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x104], 0x600042
push ebx
push esi
push edi
push 1
push 0x100fffc0
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x104]
push 0x31
push eax
mov dword [ebp - 0x100], 0x6f006f
mov dword [ebp - 0xfc], 0x75006e
mov dword [ebp - 0xf8], 0x6e0021
mov dword [ebp - 0xf4], 0x640071
mov dword [ebp - 0xf0], 0x21006f
mov dword [ebp - 0xec], 0x64006a
mov dword [ebp - 0xe8], 0x210078
mov dword [ebp - 0xe4], 0x21002c
mov dword [ebp - 0xe0], 0x6a005a
mov dword [ebp - 0xdc], 0x780064
mov dword [ebp - 0xd8], 0x24003b
mov dword [ebp - 0xd4], 0x240030
mov dword [ebp - 0xd0], 0x21005c
mov dword [ebp - 0xcc], 0x71005a
mov dword [ebp - 0xc8], 0x750060
mov dword [ebp - 0xc4], 0x3b0069
mov dword [ebp - 0xc0], 0x330024
mov dword [ebp - 0xbc], 0x5c0024
mov dword [ebp - 0xb8], 0x5a0021
mov dword [ebp - 0xb4], 0x640073
mov dword [ebp - 0xb0], 0x3b0075
mov dword [ebp - 0xac], 0x320024
mov dword [ebp - 0xa8], 0x5c0024
mov dword [ebp - 0xa4], 1
call fcn.1004ae20
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1008aee2
mov esp, ebp
pop ebp
ret
Function at 0x100715e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x100f1850]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x104], 0x644f6453
push esi
push edi
push 0x6400
push 0x10100024
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x104]
push 0x1c
push eax
mov dword [ebp - 0x100], 0x64546446
mov dword [ebp - 0xfc], 0x64416457
mov dword [ebp - 0xf8], 0x64456452
mov dword [ebp - 0xf4], 0x6457645c
mov dword [ebp - 0xf0], 0x646a6461
mov dword [ebp - 0xec], 0x646d6461
mov dword [ebp - 0xe8], 0x64576420
mov dword [ebp - 0xe4], 0x64626465
mov dword [ebp - 0xe0], 0x64456420
mov dword [ebp - 0xdc], 0x6468646e
mov dword [ebp - 0xd8], 0x646e6461
mov dword [ebp - 0xd4], 0x64656463
mov dword [ebp - 0xd0], 0x64006472
call fcn.1004ae20
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
call fcn.1008aee2
mov esp, ebp
pop ebp
ret
Function at 0x10073f80
Capabilities:
Parse credit card information

Disassembly:
add ecx, 0xfffffffe
cmp ecx, 8
ja case.default.0x10073f8c
jmp dword [ecx*4 + 0x100740b4]
cmp dl, 0x40
jne 0x10073f9e
mov eax, 4
ret
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x10073faa
cmp al, 0x7a
jbe 0x1007400d
cmp dl, 0x30
jl 0x10073fb4
cmp dl, 0x39
jle 0x1007400d
cmp dl, 0x2d
je 0x1007400d
cmp dl, 0x5f
je 0x1007400d
cmp dl, 0x2e
je 0x1007400d
cmp dl, 0x21
je 0x1007400d
cmp dl, 0x7e
je 0x1007400d
cmp dl, 0x2a
je 0x1007400d
cmp dl, 0x27
je 0x1007400d
cmp dl, 0x28
je 0x1007400d
cmp dl, 0x29
je 0x1007400d
cmp dl, 0x25
je 0x1007400d
cmp dl, 0x3b
je 0x1007400d
cmp dl, 0x3a
je 0x1007400d
cmp dl, 0x26
je 0x1007400d
cmp dl, 0x3d
je 0x1007400d
cmp dl, 0x2b
je 0x1007400d
cmp dl, 0x24
je 0x1007400d
cmp dl, 0x2c
jne case.default.0x10073f8c
mov eax, 3
ret
cmp dl, 0x5b
jne 0x1007401e
mov eax, 5
ret
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x1007402a
cmp al, 0x7a
jbe 0x1007403e
cmp dl, 0x30
jl 0x10074034
cmp dl, 0x39
jle 0x1007403e
cmp dl, 0x2e
je 0x1007403e
cmp dl, 0x2d
jne case.default.0x10073f8c
mov eax, 6
ret
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x10074050
cmp al, 0x7a
jbe 0x1007403e
cmp dl, 0x30
jl 0x1007405a
cmp dl, 0x39
jle 0x1007403e
cmp dl, 0x2e
je 0x1007403e
cmp dl, 0x2d
je 0x1007403e
cmp dl, 0x3a
jne case.default.0x10073f8c
mov eax, 9
ret
cmp dl, 0x5d
jne case.0x10073f8c.5
mov eax, 8
ret
cmp dl, 0x30
jl 0x10074084
cmp dl, 0x39
jle 0x1007409a
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x10074090
cmp al, 0x66
jbe 0x1007409a
cmp dl, 0x3a
je 0x1007409a
cmp dl, 0x2e
jne case.default.0x10073f8c
mov eax, 7
ret
sub dl, 0x30
mov eax, 0xa
cmp dl, 9
jbe 0x100740b2
mov eax, 1
ret

Function at 0x10074940
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
mov eax, dword [0x100f1850]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10074985
xorps xmm0, xmm0
movq qword [esp + 0xc], xmm0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [esp + 0xc], esi
call fcn.100ad2a0
mov dword [esp + 0x10], eax
test esi, esi
jne 0x10074998
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.1008aee2
mov esp, ebp
pop ebp
ret
mov edx, 0x100d1564
lea ecx, [esp + 0xc]
call fcn.10074740
int3
Function at 0x10074c90
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100f1850]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push 0xffffffffffffffff
push 0
mov eax, dword [esi + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x100fefdc
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push 0
push dword [esi + 4]
test eax, eax
je 0x10074cf3
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008aee2
mov esp, ebp
pop ebp
ret
push fcn.100050f0
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1008aee2
mov esp, ebp
pop ebp
ret
Function at 0x10074d20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x100f1850]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
push 0
push 1
mov esi, ecx
push 0
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
mov dword [ebx + 4], edi
test edi, edi
jne 0x10074d89
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
xorps xmm0, xmm0
movq qword [esp + 0x10], xmm0
mov dword [esp + 0x10], esi
call fcn.100ad2a0
mov dword [esp + 0x14], eax
test esi, esi
jne 0x10074e6c
mov esi, dword [esp + 0x18]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 8], eax
mov dword [ebx + 8], eax
cmp dword [esi + 8], 0
jne 0x10074dd5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
xorps xmm0, xmm0
movq qword [esp + 0x10], xmm0
mov dword [esp + 0x10], esi
call fcn.100ad2a0
mov dword [esp + 0x14], eax
test esi, esi
jne 0x10074e7a
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 0
push ebx
push 0x10074ea0
push 0
push 0
call fcn.1008e82f
add esp, 0x18
mov dword [esi + 4], eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x10074e48
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov dword [esp + 0x14], eax
call dword [edx]
test edi, edi
je 0x10074e1c
push edi
call esi
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 8]
test eax, eax
je 0x10074e2a
push eax
call esi
mov ebx, dword [esp + 0x10]
xorps xmm0, xmm0
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x18], ebx
call fcn.100ad2a0
mov dword [esp + 0x1c], eax
test ebx, ebx
jne 0x10074e88
test edi, edi
je 0x10074e58
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call esi
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1008aee2
mov esp, ebp
pop ebp
ret 8
mov edx, str.thread.entry_event
lea ecx, [esp + 0x10]
call fcn.10074740
mov edx, str.thread.exit_event
lea ecx, [esp + 0x10]
call fcn.10074740
mov edx, str.thread
lea ecx, [esp + 0x18]
call fcn.10074740
int3
Function at 0x10074f50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bfd27
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x100f1850]
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 edi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [edi], vtable.boost::asio::io_service::service.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 0x1c], edi
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov dword [ebp - 4], 0
mov dword [edi], vtable.boost::asio::detail::service_base_class_boost::asio::detail::win_iocp_io_service_.0
mov dword [ebp - 4], 1
mov dword [edi], vtable.boost::asio::detail::win_iocp_io_service.0
mov dword [edi + 0x14], 0
mov byte [ebp - 4], 2
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov byte [ebp - 4], 3
mov dword [edi + 0x2c], 0
mov byte [ebp - 4], 4
lea ecx, [edi + 0x34]
mov dword [edi + 0x30], 0
call fcn.100749b0
xorps xmm0, xmm0
mov esi, eax
movq qword [ebp - 0x18], xmm0
call fcn.100ad2a0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
test esi, esi
je 0x10075030
mov edx, str.mutex
lea ecx, [ebp - 0x18]
call fcn.10074740
mov byte [ebp - 4], 5
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov byte [ebp - 4], 6
or eax, 0xffffffff
cmp ebx, 0xffffffff
cmovb eax, ebx
push eax
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [edi + 0x14], eax
test eax, eax
jne 0x10075096
call dword [sym.imp.KERNEL32.dll_GetLastError]
xorps xmm0, xmm0
mov esi, eax
movq qword [ebp - 0x18], xmm0
call fcn.100ad2a0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
test esi, esi
je 0x10075096
mov edx, str.iocp
lea ecx, [ebp - 0x18]
call fcn.10074740
mov dword [ebp - 4], 0xffffffff
mov eax, edi
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.1008aee2
mov esp, ebp
pop ebp
ret 8
Function at 0x10075410
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bfe40
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x100f1850]
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 edi, ecx
mov ebx, dword [ebp + 8]
lea eax, [edi + 0x18]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
jne 0x1007546c
mov ecx, edi
call fcn.10075530
call fcn.100ad2a0
mov dword [ebx + 4], eax
xor eax, eax
mov dword [ebx], 0
jmp 0x10075503
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 1
xorps xmm0, xmm0
push dword [0x10100104]
movq qword [ebp - 0x24], xmm0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x10100104]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov byte [ebp - 4], 2
xor esi, esi
push ebx
push ecx
mov ecx, edi
call fcn.100756c0
test eax, eax
je 0x100754d7
cmp esi, 0xffffffff
je 0x100754ca
inc esi
push ebx
push ecx
mov ecx, edi
call fcn.100756c0
test eax, eax
jne 0x100754c4
mov byte [ebp - 4], 1
push dword [ebp - 0x1c]
push dword [0x10100104]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10075501
push ecx
call fcn.1008b066
add esp, 4
mov eax, esi
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.1008aee2
mov esp, ebp
pop ebp
ret 4