Function at 0x1004bab0
Capabilities:
Resume thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101bd417
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x101d32d0]
xor eax, ebp
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 - 0x10], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x1004bbea
mov ecx, ebx
call fcn.1004db80
mov dword [ebx], 0x10001884
mov dword [ebx + 4], 0x10001820
mov dword [ebx + 8], 0x10001870
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebx + 0x138], eax
mov byte [ebp - 4], 1
lea ecx, [ebx + 0x140]
mov dword [ebx], 0x10001c64
mov dword [ebx + 4], 0x10001820
mov dword [ebx + 8], 0x10001c50
mov dword [ebx + 0x13c], 0
call fcn.100380b0
fld1
mov byte [ebx + 0x158], 0
mov dword [ebx + 0x15c], 0
mov dword [ebx + 0x160], 0
mov byte [ebx + 0x164], 0
mov dword [ebp - 0x10], ebx
fstp dword [ebx + 0x168]
mov dword [ebx + 0x174], 0
mov dword [ebx + 0x178], 0
mov dword [ebx + 0x18c], 0x1000168c
mov dword [ebx + 0x190], 0
mov dword [ebx], 0x10001c04
mov dword [ebx + 4], 0x10001820
mov dword [ebx + 8], 0x10001bf0
mov dword [ebx + 0x18c], 0x10001bec
mov dword [ebx + 0x194], 0
test ebx, ebx
je 0x1004bbef
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x101d83dc]
call esi
jmp 0x1004bbef
xor ebx, ebx
mov dword [ebp - 0x10], ebx
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.1005b8c0
mov ecx, dword [ebx + 0x178]
lea edx, [ebx + 0x174]
call fcn.100f9850
push dword [ebp - 0x14]
mov ecx, dword [ebx + 0x174]
push 0
call fcn.100f9bd0
mov edi, dword [ebx + 0x174]
test edi, edi
je 0x1004bc72
mov eax, dword [edi]
push edi
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x101d83dc]
call esi
mov ecx, dword [ebx + 0x118]
test ecx, ecx
je 0x1004bc8c
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x101d83dc]
call esi
mov ecx, ebx
mov dword [ebx + 0x118], edi
call fcn.1004e2f0
mov eax, dword [ebx]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x101d83dc]
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 0x100bca10
push 0
push 0
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__beginthreadex]
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x1004bcd9
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 [0x101d83dc]
call esi
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x101d83dc]
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