Function at 0x10034070
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10065ce3
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10081080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], edi
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
push 0x10
mov byte [ebp - 4], 2
call fcn.1003b671
mov esi, eax
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 3
lea edx, [esi + 0xc]
sub esp, 0x24
xorps xmm0, xmm0
movq qword [esi], xmm0
mov eax, esp
mov dword [esi + 8], 0
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_obj2_class_ui_bank_.0
mov ecx, dword [edi + 0x30]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__public:_void___thiscall_ui_bank::constructor_class_ZealService___class_IO_ini__::_2::_lambda_1___void___.0
mov dword [eax + 4], edx
push 5
mov dword [eax + 0x24], eax
call fcn.1001eaf0
mov eax, dword [0x809478]
test eax, eax
je 0x10034148
mov eax, dword [eax + 0x5ac]
cmp eax, 0xffffffff
je 0x10034148
cmp eax, 5
jne 0x10034148
call fcn.10007770
mov byte [ebp - 4], 2
lea eax, [esi + 0xc]
mov edi, dword [ebx + 0xc]
mov dword [ebx + 0xc], esi
or esi, 0xffffffff
mov dword [ebx + 8], eax
test edi, edi
je 0x1003417e
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x1003417e
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x1003417e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
push 0xec
call fcn.1003b671
mov edi, eax
mov dword [ebp - 0x18], edi
push dword [ebp - 0x14]
mov byte [ebp - 4], 4
lea esi, [edi + 0xc]
xorps xmm0, xmm0
mov ecx, esi
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov dword [edi], vtable.std::_Ref_count_obj2_class_ui_options_.0
call fcn.10035e40
mov byte [ebp - 4], 2
mov eax, dword [ebx + 4]
mov dword [ebx + 4], edi
mov edi, eax
mov dword [ebx], esi
or esi, 0xffffffff
test edi, edi
je 0x100341f4
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x100341f4
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x100341f4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
push 0x10
call fcn.1003b671
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 5
lea edi, [eax + 0xc]
xorps xmm0, xmm0
sub esp, 0x24
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_obj2_class_ui_loot_.0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x30]
mov eax, esp
push 5
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__public:_void___thiscall_ui_loot::constructor_class_ZealService___class_IO_ini__::_2::_lambda_1___void___.0
mov dword [eax + 4], edi
mov dword [eax + 0x24], eax
call fcn.1001eaf0
mov eax, dword [0x809478]
test eax, eax
je 0x10034263
mov eax, dword [eax + 0x5ac]
cmp eax, 0xffffffff
je 0x10034263
cmp eax, 5
jne 0x10034263
call fcn.10033f40
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x10], edi
mov edi, dword [ebx + 0x14]
mov dword [ebx + 0x14], eax
test edi, edi
je 0x10034291
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10034291
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x10034291
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8