joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10056940
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x102c0850]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x104], 0x6a7c6a60
push esi
push edi
push 0x6a33
push 0x102cf198
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], 0x6a676a75
mov dword [ebp - 0xfc], 0x6a726a64
mov dword [ebp - 0xf8], 0x6a766a61
mov dword [ebp - 0xf4], 0x6a646a6f
mov dword [ebp - 0xf0], 0x6a596a52
mov dword [ebp - 0xec], 0x6a5e6a52
mov dword [ebp - 0xe8], 0x6a646a13
mov dword [ebp - 0xe4], 0x6a516a56
mov dword [ebp - 0xe0], 0x6a766a13
mov dword [ebp - 0xdc], 0x6a5b6a5d
mov dword [ebp - 0xd8], 0x6a5d6a52
mov dword [ebp - 0xd4], 0x6a566a50
mov dword [ebp - 0xd0], 0x6a336a41
call fcn.10048970
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
call fcn.1008de57
mov esp, ebp
pop ebp
ret
Function at 0x100662e0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c2ca6
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x102c0850]
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.100043b0
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.100043b0
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 0x100663a3
push dword [ebp + 0x1c]
call fcn.1008dfdb
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 0x100663cd
push dword [ebp + 0x34]
call fcn.1008dfdb
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 0x1006f490
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c4d8d
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x102c0850]
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, edx
mov esi, ecx
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xa4], 0
call fcn.1006f6c0
mov edx, eax
cmp byte [edx], 0
jne 0x1006f4e2
xor ecx, ecx
jmp 0x1006f4f0
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006f4e7
sub ecx, ebx
push ecx
push edx
push 4
push 0
mov ecx, edi
call fcn.10019ef0
test eax, eax
jne 0x1006f57f
push 0xffffffffffffffff
push 4
lea eax, [ebp - 0xbc]
mov ecx, edi
push eax
call fcn.100294e0
mov ebx, eax
mov dword [ebp - 4], 1
cmp edi, ebx
je 0x1006f549
cmp dword [edi + 0x14], 0x10
jb 0x1006f530
push dword [edi]
call fcn.1008dfdb
add esp, 4
mov dword [edi + 0x14], 0xf
mov ecx, edi
mov dword [edi + 0x10], 0
push ebx
mov byte [edi], 0
call fcn.100198d0
mov byte [ebp - 4], 0
cmp dword [ebp - 0xa8], 0x10
jb 0x1006f564
push dword [ebp - 0xbc]
call fcn.1008dfdb
add esp, 4
mov dword [ebp - 0xa8], 0xf
mov dword [ebp - 0xac], 0
mov byte [ebp - 0xbc], 0
cmp dword [edi + 0x14], 0x10
xorps xmm0, xmm0
mov eax, dword [edi + 0x10]
movlpd qword [ebp - 0xa0], xmm0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x54], 0x6a09e667
mov dword [ebp - 0x50], 0xbb67ae85
mov dword [ebp - 0x4c], 0x3c6ef372
mov dword [ebp - 0x48], 0xa54ff53a
mov dword [ebp - 0x44], 0x510e527f
mov dword [ebp - 0x40], 0x9b05688c
mov dword [ebp - 0x3c], 0x1f83d9ab
mov dword [ebp - 0x38], 0x5be0cd19
jb 0x1006f5d7
mov edi, dword [edi]
push eax
push edi
lea ecx, [ebp - 0xa0]
call fcn.10081bb0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa0]
call fcn.10081db0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x1006f610
mov eax, dword [esi]
jmp 0x1006f612
mov eax, esi
lea edx, [ebp - 0x30]
cmp edx, eax
jb 0x1006f64d
cmp ecx, 0x10
jb 0x1006f622
mov edx, dword [esi]
jmp 0x1006f624
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
lea edx, [ebp - 0x30]
cmp eax, edx
jbe 0x1006f64d
cmp ecx, 0x10
jb 0x1006f639
mov ecx, dword [esi]
jmp 0x1006f63b
mov ecx, esi
push 0x20
lea eax, [ebp - 0x30]
sub eax, ecx
mov ecx, esi
push eax
push esi
call fcn.100043b0
jmp 0x1006f690
cmp ecx, 0x20
jae 0x1006f65e
push dword [esi + 0x10]
mov ecx, esi
push 0x20
call fcn.10004520
cmp dword [esi + 0x14], 0x10
jb 0x1006f668
mov eax, dword [esi]
jmp 0x1006f66a
mov eax, esi
push 0x20
lea ecx, [ebp - 0x30]
push ecx
push eax
call fcn.10093e90
add esp, 0xc
mov dword [esi + 0x10], 0x20
cmp dword [esi + 0x14], 0x10
jb 0x1006f68a
mov eax, dword [esi]
jmp 0x1006f68c
mov eax, esi
mov byte [eax + 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xa4], 1
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 - 0x10]
xor ecx, ebp
call fcn.1008de57
mov esp, ebp
pop ebp
ret
Function at 0x10070b90
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x102c0850]
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 0x10070c78
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x10070c71
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ebx, [ebx]
cmp dword [ebp - 0x20], 0x10
jb 0x10070c56
call ebx
cmp dword [ebp - 0x14], eax
jne 0x10070c56
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10070c56
mov ecx, dword [esi]
test ecx, ecx
jne 0x10070c1f
push 0x200
push ecx
push dword [0x102cd24c]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi], eax
test eax, eax
je 0x10070c70
jmp 0x10070c48
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x10070c48
shl eax, 3
push eax
push ecx
push 0
push dword [0x102cd24c]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
test eax, eax
je 0x10070c70
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 0x10070be0
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.1008de57
mov esp, ebp
pop ebp
ret

Function at 0x10070c90
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.10070b90
cmp dword [edi], 0
je 0x10070cfc
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x10070cfb
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 0x10070cf4
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 4]
mov ecx, ebx
call fcn.10070a50
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x10070cc1
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x10070d10
Capabilities:
Resume thread

Disassembly:
push edi
mov edi, ecx
cmp dword [edi], 0
je 0x10070d5c
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x10070d4b
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 0x10070d44
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 0x10070d21
pop ebx
push dword [edi]
push 0
push dword [0x102cd24c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
ret
Function at 0x10070d60
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x102c0850]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x102d0570]
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 0x10070d9c
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 0x10070dc4
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008de57
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x10070de5
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 0x10070e06
mov eax, dword [edi]
mov word [eax], 0xf9eb
jmp 0x10070e06
mov eax, dword [edi + 0xc]
test byte [edi + 0x14], 1
mov dword [esi], eax
je 0x10070e00
mov ax, word [edi + 0x10]
mov word [esi + 4], ax
mov al, byte [edi + 0x12]
mov byte [esi + 6], al
jmp 0x10070e06
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.1008de57
mov esp, ebp
pop ebp
ret
Function at 0x100718e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x102c0850]
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 0x102cf250
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.10048970
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1008de57
mov esp, ebp
pop ebp
ret
Function at 0x10075180
Capabilities:
Parse credit card information

Disassembly:
add ecx, 0xfffffffe
cmp ecx, 8
ja case.default.0x1007518c
jmp dword [ecx*4 + 0x100752b4]
cmp dl, 0x40
jne 0x1007519e
mov eax, 4
ret
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x100751aa
cmp al, 0x7a
jbe 0x1007520d
cmp dl, 0x30
jl 0x100751b4
cmp dl, 0x39
jle 0x1007520d
cmp dl, 0x2d
je 0x1007520d
cmp dl, 0x5f
je 0x1007520d
cmp dl, 0x2e
je 0x1007520d
cmp dl, 0x21
je 0x1007520d
cmp dl, 0x7e
je 0x1007520d
cmp dl, 0x2a
je 0x1007520d
cmp dl, 0x27
je 0x1007520d
cmp dl, 0x28
je 0x1007520d
cmp dl, 0x29
je 0x1007520d
cmp dl, 0x25
je 0x1007520d
cmp dl, 0x3b
je 0x1007520d
cmp dl, 0x3a
je 0x1007520d
cmp dl, 0x26
je 0x1007520d
cmp dl, 0x3d
je 0x1007520d
cmp dl, 0x2b
je 0x1007520d
cmp dl, 0x24
je 0x1007520d
cmp dl, 0x2c
jne case.default.0x1007518c
mov eax, 3
ret
cmp dl, 0x5b
jne 0x1007521e
mov eax, 5
ret
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x1007522a
cmp al, 0x7a
jbe 0x1007523e
cmp dl, 0x30
jl 0x10075234
cmp dl, 0x39
jle 0x1007523e
cmp dl, 0x2e
je 0x1007523e
cmp dl, 0x2d
jne case.default.0x1007518c
mov eax, 6
ret
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x10075250
cmp al, 0x7a
jbe 0x1007523e
cmp dl, 0x30
jl 0x1007525a
cmp dl, 0x39
jle 0x1007523e
cmp dl, 0x2e
je 0x1007523e
cmp dl, 0x2d
je 0x1007523e
cmp dl, 0x3a
jne case.default.0x1007518c
mov eax, 9
ret
cmp dl, 0x5d
jne case.0x1007518c.5
mov eax, 8
ret
cmp dl, 0x30
jl 0x10075284
cmp dl, 0x39
jle 0x1007529a
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x10075290
cmp al, 0x66
jbe 0x1007529a
cmp dl, 0x3a
je 0x1007529a
cmp dl, 0x2e
jne case.default.0x1007518c
mov eax, 7
ret
sub dl, 0x30
mov eax, 0xa
cmp dl, 9
jbe 0x100752b2
mov eax, 1
ret

Function at 0x10075850
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
mov eax, dword [0x102c0850]
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 0x10075895
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.100b1f00
mov dword [esp + 0x10], eax
test esi, esi
jne 0x100758a8
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.1008de57
mov esp, ebp
pop ebp
ret
mov edx, 0x1029fd9c
lea ecx, [esp + 0xc]
call fcn.10075650
int3
Function at 0x10075ba0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x102c0850]
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 0x102ce18c
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push 0
push dword [esi + 4]
test eax, eax
je 0x10075c03
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008de57
mov esp, ebp
pop ebp
ret
push fcn.10004690
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.1008de57
mov esp, ebp
pop ebp
ret
Function at 0x10075c30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x102c0850]
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 0x10075c99
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.100b1f00
mov dword [esp + 0x14], eax
test esi, esi
jne 0x10075d7c
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 0x10075ce5
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.100b1f00
mov dword [esp + 0x14], eax
test esi, esi
jne 0x10075d8a
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 0
push ebx
push 0x10075db0
push 0
push 0
call fcn.10091bde
add esp, 0x18
mov dword [esi + 4], eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x10075d58
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 0x10075d2c
push edi
call esi
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 8]
test eax, eax
je 0x10075d3a
push eax
call esi
mov ebx, dword [esp + 0x10]
xorps xmm0, xmm0
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x18], ebx
call fcn.100b1f00
mov dword [esp + 0x1c], eax
test ebx, ebx
jne 0x10075d98
test edi, edi
je 0x10075d68
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.1008de57
mov esp, ebp
pop ebp
ret 8
mov edx, str.thread.entry_event
lea ecx, [esp + 0x10]
call fcn.10075650
mov edx, str.thread.exit_event
lea ecx, [esp + 0x10]
call fcn.10075650
mov edx, str.thread
lea ecx, [esp + 0x18]
call fcn.10075650
int3
Function at 0x10075e60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c5337
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x102c0850]
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.100758c0
xorps xmm0, xmm0
mov esi, eax
movq qword [ebp - 0x18], xmm0
call fcn.100b1f00
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
test esi, esi
je 0x10075f40
mov edx, str.mutex
lea ecx, [ebp - 0x18]
call fcn.10075650
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 0x10075fa6
call dword [sym.imp.KERNEL32.dll_GetLastError]
xorps xmm0, xmm0
mov esi, eax
movq qword [ebp - 0x18], xmm0
call fcn.100b1f00
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
test esi, esi
je 0x10075fa6
mov edx, str.iocp
lea ecx, [ebp - 0x18]
call fcn.10075650
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.1008de57
mov esp, ebp
pop ebp
ret 8
Function at 0x10076320
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c5450
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x102c0850]
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 0x1007637c
mov ecx, edi
call fcn.10076440
call fcn.100b1f00
mov dword [ebx + 4], eax
xor eax, eax
mov dword [ebx], 0
jmp 0x10076413
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 1
xorps xmm0, xmm0
push dword [0x102cf394]
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 [0x102cf394]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov byte [ebp - 4], 2
xor esi, esi
push ebx
push ecx
mov ecx, edi
call fcn.100765d0
test eax, eax
je 0x100763e7
cmp esi, 0xffffffff
je 0x100763da
inc esi
push ebx
push ecx
mov ecx, edi
call fcn.100765d0
test eax, eax
jne 0x100763d4
mov byte [ebp - 4], 1
push dword [ebp - 0x1c]
push dword [0x102cf394]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10076411
push ecx
call fcn.1008dfdb
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.1008de57
mov esp, ebp
pop ebp
ret 4