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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bea41
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100fa850]
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.10052700
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0
push esi
push 0x10052670
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.10066a50
mov dword [ebp - 4], 0
mov eax, dword [edi]
mov dword [ebp - 0x1c], 1
test eax, eax
je 0x100528e5
cmp dword [eax], 0
je 0x100528e5
push 0x10106fec
mov dword [ebp - 0x18], 0x10106fec
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 1
push edi
call fcn.10052ad0
mov byte [ebp - 4], 0
push 0x10106fec
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.1008f5b7
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.1008f5fd
push 0x100f8064
lea eax, [ebp - 0x2c]
push eax
call fcn.10095eaf
int3

Function at 0x10052910
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bea78
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x100fa850]
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.10052700
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.10052790
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
cmp esi, edi
je 0x10052987
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edi, edi
mov eax, dword [esi]
test eax, eax
je 0x10052978
mov eax, dword [eax]
push 0x29a
push eax
call ebx
add esi, 8
cmp esi, edi
jne 0x10052970
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x100529c1
push dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
push ecx
call fcn.10052ed0
push dword [ebp - 0x1c]
call fcn.1008f73b
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.1008f5b7
mov esp, ebp
pop ebp
ret
Function at 0x10057910
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x100fa850]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x104], 0x2f5e2f15
push ebx
push esi
push edi
push 0x2f63
push 0x10108fb8
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 0x2a
push eax
mov dword [ebp - 0x100], 0x2f462f07
mov dword [ebp - 0xfc], 0x2f462f52
mov dword [ebp - 0xf8], 0x2f0c2f45
mov dword [ebp - 0xf4], 0x2f3c2f10
mov dword [ebp - 0xf0], 0x2f092f0e
mov dword [ebp - 0xec], 0x2f462f5e
mov dword [ebp - 0xe8], 0x2f462f51
mov dword [ebp - 0xe4], 0x2f0c2f45
mov dword [ebp - 0xe0], 0x2f3c2f10
mov dword [ebp - 0xdc], 0x2f0d2f0e
mov dword [ebp - 0xd8], 0x2f462f5e
mov dword [ebp - 0xd4], 0x2f462f50
mov dword [ebp - 0xd0], 0x2f0c2f45
mov dword [ebp - 0xcc], 0x2f3c2f10
mov dword [ebp - 0xc8], 0x2f0a2f01
mov dword [ebp - 0xc4], 0x2f0d2f17
mov dword [ebp - 0xc0], 0x2f102f06
mov dword [ebp - 0xbc], 0x2f5e2f10
mov dword [ebp - 0xb8], 0x2f572f46
mov dword [ebp - 0xb4], 0x2f632f46
call fcn.10049a90
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1008f5b7
mov esp, ebp
pop ebp
ret
Function at 0x10057c50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x100fa850]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x104], 0x34413477
push 0x3420
push 0x10109028
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], eax
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 8
push eax
mov dword [ebp - 0x100], 0x346e344a
mov dword [ebp - 0xfc], 0x34543445
mov dword [ebp - 0xf8], 0x34203465
call fcn.10049a90
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
call fcn.1008f5b7
mov esp, ebp
pop ebp
ret
Function at 0x10067920
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c4436
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100fa850]
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.100044d0
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.100044d0
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 0x100679e3
push dword [ebp + 0x1c]
call fcn.1008f73b
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 0x10067a0d
push dword [ebp + 0x34]
call fcn.1008f73b
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 0x10072100
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100fa850]
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 0x100721e8
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x100721e1
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ebx, [ebx]
cmp dword [ebp - 0x20], 0x10
jb 0x100721c6
call ebx
cmp dword [ebp - 0x14], eax
jne 0x100721c6
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x100721c6
mov ecx, dword [esi]
test ecx, ecx
jne 0x1007218f
push 0x200
push ecx
push dword [0x10106edc]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi], eax
test eax, eax
je 0x100721e0
jmp 0x100721b8
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x100721b8
shl eax, 3
push eax
push ecx
push 0
push dword [0x10106edc]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
test eax, eax
je 0x100721e0
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 0x10072150
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.1008f5b7
mov esp, ebp
pop ebp
ret

Function at 0x10072200
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.10072100
cmp dword [edi], 0
je 0x1007226c
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x1007226b
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 0x10072264
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 4]
mov ecx, ebx
call fcn.10071fc0
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x10072231
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x10072280
Capabilities:
Resume thread

Disassembly:
push edi
mov edi, ecx
cmp dword [edi], 0
je 0x100722cc
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x100722bb
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 0x100722b4
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 0x10072291
pop ebx
push dword [edi]
push 0
push dword [0x10106edc]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
ret
Function at 0x100722d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100fa850]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1010a3d0]
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 0x1007230c
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 0x10072334
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008f5b7
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x10072355
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 0x10072376
mov eax, dword [edi]
mov word [eax], 0xf9eb
jmp 0x10072376
mov eax, dword [edi + 0xc]
test byte [edi + 0x14], 1
mov dword [esi], eax
je 0x10072370
mov ax, word [edi + 0x10]
mov word [esi + 4], ax
mov al, byte [edi + 0x12]
mov byte [esi + 6], al
jmp 0x10072376
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.1008f5b7
mov esp, ebp
pop ebp
ret
Function at 0x10072e50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x100fa850]
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 0x101090b8
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.10049a90
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1008f5b7
mov esp, ebp
pop ebp
ret
Function at 0x100768c0
Capabilities:
Parse credit card information

Disassembly:
add ecx, 0xfffffffe
cmp ecx, 8
ja case.default.0x100768cc
jmp dword [ecx*4 + 0x100769f4]
cmp dl, 0x40
jne 0x100768de
mov eax, 4
ret
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x100768ea
cmp al, 0x7a
jbe 0x1007694d
cmp dl, 0x30
jl 0x100768f4
cmp dl, 0x39
jle 0x1007694d
cmp dl, 0x2d
je 0x1007694d
cmp dl, 0x5f
je 0x1007694d
cmp dl, 0x2e
je 0x1007694d
cmp dl, 0x21
je 0x1007694d
cmp dl, 0x7e
je 0x1007694d
cmp dl, 0x2a
je 0x1007694d
cmp dl, 0x27
je 0x1007694d
cmp dl, 0x28
je 0x1007694d
cmp dl, 0x29
je 0x1007694d
cmp dl, 0x25
je 0x1007694d
cmp dl, 0x3b
je 0x1007694d
cmp dl, 0x3a
je 0x1007694d
cmp dl, 0x26
je 0x1007694d
cmp dl, 0x3d
je 0x1007694d
cmp dl, 0x2b
je 0x1007694d
cmp dl, 0x24
je 0x1007694d
cmp dl, 0x2c
jne case.default.0x100768cc
mov eax, 3
ret
cmp dl, 0x5b
jne 0x1007695e
mov eax, 5
ret
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x1007696a
cmp al, 0x7a
jbe 0x1007697e
cmp dl, 0x30
jl 0x10076974
cmp dl, 0x39
jle 0x1007697e
cmp dl, 0x2e
je 0x1007697e
cmp dl, 0x2d
jne case.default.0x100768cc
mov eax, 6
ret
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x10076990
cmp al, 0x7a
jbe 0x1007697e
cmp dl, 0x30
jl 0x1007699a
cmp dl, 0x39
jle 0x1007697e
cmp dl, 0x2e
je 0x1007697e
cmp dl, 0x2d
je 0x1007697e
cmp dl, 0x3a
jne case.default.0x100768cc
mov eax, 9
ret
cmp dl, 0x5d
jne case.0x100768cc.5
mov eax, 8
ret
cmp dl, 0x30
jl 0x100769c4
cmp dl, 0x39
jle 0x100769da
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x100769d0
cmp al, 0x66
jbe 0x100769da
cmp dl, 0x3a
je 0x100769da
cmp dl, 0x2e
jne case.default.0x100768cc
mov eax, 7
ret
sub dl, 0x30
mov eax, 0xa
cmp dl, 9
jbe 0x100769f2
mov eax, 1
ret

Function at 0x10076f90
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
mov eax, dword [0x100fa850]
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 0x10076fd5
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.100b1b10
mov dword [esp + 0x10], eax
test esi, esi
jne 0x10076fe8
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.1008f5b7
mov esp, ebp
pop ebp
ret
mov edx, 0x100d9b84
lea ecx, [esp + 0xc]
call fcn.10076d90
int3
Function at 0x100772e0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100fa850]
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 0x10107e3c
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push 0
push dword [esi + 4]
test eax, eax
je 0x10077343
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008f5b7
mov esp, ebp
pop ebp
ret
push fcn.100047b0
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.1008f5b7
mov esp, ebp
pop ebp
ret
Function at 0x10077370
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x100fa850]
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 0x100773d9
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.100b1b10
mov dword [esp + 0x14], eax
test esi, esi
jne 0x100774bc
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 0x10077425
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.100b1b10
mov dword [esp + 0x14], eax
test esi, esi
jne 0x100774ca
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 0
push ebx
push 0x100774f0
push 0
push 0
call fcn.1009333e
add esp, 0x18
mov dword [esi + 4], eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x10077498
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 0x1007746c
push edi
call esi
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 8]
test eax, eax
je 0x1007747a
push eax
call esi
mov ebx, dword [esp + 0x10]
xorps xmm0, xmm0
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x18], ebx
call fcn.100b1b10
mov dword [esp + 0x1c], eax
test ebx, ebx
jne 0x100774d8
test edi, edi
je 0x100774a8
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.1008f5b7
mov esp, ebp
pop ebp
ret 8
mov edx, str.thread.entry_event
lea ecx, [esp + 0x10]
call fcn.10076d90
mov edx, str.thread.exit_event
lea ecx, [esp + 0x10]
call fcn.10076d90
mov edx, str.thread
lea ecx, [esp + 0x18]
call fcn.10076d90
int3
Function at 0x100775a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c6af7
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x100fa850]
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.10077000
xorps xmm0, xmm0
mov esi, eax
movq qword [ebp - 0x18], xmm0
call fcn.100b1b10
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
test esi, esi
je 0x10077680
mov edx, str.mutex
lea ecx, [ebp - 0x18]
call fcn.10076d90
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 0x100776e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
xorps xmm0, xmm0
mov esi, eax
movq qword [ebp - 0x18], xmm0
call fcn.100b1b10
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
test esi, esi
je 0x100776e6
mov edx, str.iocp
lea ecx, [ebp - 0x18]
call fcn.10076d90
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.1008f5b7
mov esp, ebp
pop ebp
ret 8