Function at 0x1004a750
Capabilities:
Create thread
Resume thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ac78b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x101bf2c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 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 - 0x14], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x1004a873
mov ecx, ebx
call fcn.1004c5b0
mov dword [ebx], 0x100017a0
mov dword [ebx + 4], 0x1000173c
mov dword [ebx + 8], 0x1000178c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebx + 0x138], eax
mov byte [ebp - 4], 1
lea ecx, [ebx + 0x140]
mov dword [ebx], 0x10001b80
mov dword [ebx + 4], 0x1000173c
mov dword [ebx + 8], 0x10001b6c
mov dword [ebx + 0x13c], 0
call fcn.10037910
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], 0x100015a8
mov dword [ebx + 0x190], 0
mov dword [ebx], 0x10001b20
mov dword [ebx + 4], 0x1000173c
mov dword [ebx + 8], 0x10001b0c
mov dword [ebx + 0x18c], 0x10001b08
mov dword [ebx + 0x194], 0
jmp 0x1004a875
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x1004a893
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x101c43b0]
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.10059640
mov ecx, dword [ebx + 0x178]
lea edx, [ebx + 0x174]
call fcn.100ef1e0
push dword [ebp - 0x10]
mov ecx, dword [ebx + 0x174]
push 0
call fcn.100ef530
mov edi, dword [ebx + 0x174]
test edi, edi
je 0x1004a916
mov eax, dword [edi]
push edi
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x101c43b0]
call esi
mov ecx, dword [ebx + 0x118]
test ecx, ecx
je 0x1004a930
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x101c43b0]
call esi
mov ecx, ebx
mov dword [ebx + 0x118], edi
call fcn.1004cca0
mov eax, dword [ebx]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x101c43b0]
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 0x100b6240
push 0
push 0
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x1004a97d
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 [0x101c43b0]
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x101c43b0]
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4