Function at 0x1004efb0
Capabilities:
Create thread
Resume thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b844b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x101cc284]
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 dword [ebp - 0x14], edx
mov edi, ecx
push 1
push 0x198
call dword [sym.imp.PhotoBase.dll_void____cdecl_BasePrivate::New_unsigned_int__bool_]
mov ebx, eax
add esp, 8
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x1004f0d6
mov ecx, ebx
call fcn.10050e80
mov dword [ebx], 0x10001774
mov dword [ebx + 4], 0x10001d24
mov dword [ebx + 8], 0x10001760
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebx + 0x138], eax
mov byte [ebp - 4], 1
lea ecx, [ebx + 0x140]
mov dword [ebx], 0x10001b64
mov dword [ebx + 4], 0x10001d24
mov dword [ebx + 8], 0x10001b50
mov dword [ebx + 0x13c], 0
call fcn.1003b8a0
fld1
mov byte [ebx + 0x158], 0
mov dword [ebx + 0x15c], 0
mov dword [ebx + 0x160], 0
fstp dword [ebx + 0x168]
mov byte [ebx + 0x164], 0
mov dword [ebx + 0x174], 0
mov dword [ebx + 0x178], 0
mov dword [ebx + 0x18c], 0x10001584
mov dword [ebx + 0x190], 0
mov dword [ebx], 0x10001b04
mov dword [ebx + 4], 0x10001d24
mov dword [ebx + 8], 0x10001af0
mov dword [ebx + 0x18c], 0x10001aec
mov dword [ebx + 0x194], 0
jmp 0x1004f0d8
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x1004f0f6
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x101d13b0]
call esi
mov dword [ebp - 4], 2
lea ecx, [ebx + 0x178]
mov eax, dword [ebx + 0x100]
mov dword [ebx + 0x17c], eax
mov eax, dword [ebx + 0x104]
mov dword [ebx + 0x180], eax
mov eax, dword [ebx + 0x108]
mov dword [ebx + 0x184], eax
mov eax, dword [ebx + 0x10c]
mov dword [ebx + 0x13c], edi
mov dword [ebx + 0x188], eax
call fcn.1005e860
mov ecx, dword [ebx + 0x178]
lea edx, [ebx + 0x174]
call fcn.100f7c50
push dword [ebp - 0x14]
mov ecx, dword [ebx + 0x174]
push 0
call fcn.100f7fb0
mov edi, dword [ebx + 0x174]
test edi, edi
je 0x1004f179
mov eax, dword [edi]
push edi
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x101d13b0]
call esi
mov ecx, dword [ebx + 0x118]
test ecx, ecx
je 0x1004f193
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x101d13b0]
call esi
mov ecx, ebx
mov dword [ebx + 0x118], edi
call fcn.10051650
mov eax, dword [ebx]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x101d13b0]
mov ecx, ebx
call esi
mov esi, dword [ebx + 0xc]
lea ecx, [ebx + 8]
lea eax, [esi + 4]
mov byte [esi + 8], 0
push eax
push 4
push ecx
push 0x100bda70
push 0
push 0
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x1004f1e0
call dword [sym.imp.PhotoBase.dll_void___stdcall_Base::ThrowLastError_void_]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp + 8]
push ebx
mov dword [eax], ebx
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x101d13b0]
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x101d13b0]
call 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.101b6170
mov esp, ebp
pop ebp
ret 4