Function at 0x475520
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70660d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x7c0ab4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
xorps xmm0, xmm0
movq qword [ebx], xmm0
mov dword [ebx + 8], 0
mov dword [ebx], vtable.KLSTD::KLBaseImpl_class_KLERR::CErrorBase__1_.2.0
mov dword [ebx + 4], vtable.KLSTD::KLBaseImpl_class_KLERR::CErrorBase__1_.0
mov dword [ebx + 8], vtable.KLSTD::KLBaseImpl_class_KLERR::CErrorBase__1_.1.0
mov dword [ebx + 0xc], 1
mov esi, dword [ebp + 8]
lea ecx, [ebx + 0x18]
mov dword [ebp - 4], 0
mov dword [ebx], vtable.KLERR::CError.1.0
mov dword [ebx + 4], vtable.KLERR::CError.2.0
mov dword [ebx + 8], vtable.KLERR::CError.0
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
lea eax, [esi + 0x18]
push eax
call fcn.00449040
lea eax, [esi + 0x30]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebx + 0x30]
call fcn.00449040
lea eax, [esi + 0x48]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebx + 0x48]
call fcn.00449040
lea eax, [esi + 0x60]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebx + 0x60]
call fcn.00454640
mov eax, dword [esi + 0x78]
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], 0
mov byte [ebp - 4], 6
mov edi, dword [esi + 0x7c]
test edi, edi
je 0x475764
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 7
mov eax, dword [edi]
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x70d440]
mov ecx, edi
call esi
mov esi, eax
mov dword [ebp - 0x14], esi
mov ecx, dword [esi]
mov edi, dword [ecx + 0x40]
cmp ecx, vtable.KLERR::CError.2.0
jne 0x4757a5
mov edi, dword [0x7ccb74]
test edi, edi
je 0x47564e
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x70d440]
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x70d440]
mov ecx, edi
call esi
push 0x84
call fcn.006d0b01
mov ecx, dword [ebp - 0x14]
add esp, 4
add ecx, 0xfffffffc
push ecx
mov ecx, eax
call fcn.00475520
test eax, eax
je 0x475683
lea esi, [eax + 4]
jmp 0x475685
xor esi, esi
mov dword [ebp - 0x10], esi
test esi, esi
je 0x47569c
mov eax, dword [esi]
mov ebx, dword [eax]
mov ecx, ebx
call dword [0x70d440]
mov ecx, esi
call ebx
mov byte [ebp - 4], 8
test esi, esi
je 0x4756b5
mov eax, dword [esi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x70d440]
mov ecx, esi
call ebx
mov byte [ebp - 4], 9
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x70d440]
mov ecx, edi
call esi
mov byte [ebp - 4], 0xa
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x70d440]
mov ecx, edi
call esi
mov byte [ebp - 4], 7
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x475744
mov eax, dword [esi]
mov edi, dword [eax + 0x2c]
mov ecx, edi
call dword [0x70d440]
mov ecx, esi
call edi
mov edi, eax
test edi, edi
je 0x475722
mov ecx, dword [edi]
mov esi, dword [ecx]
cmp ecx, vtable.KLERR::CError.1.0
jne 0x475716
lock inc dword [edi + 0xc]
jmp 0x475722
mov ecx, esi
call dword [0x70d440]
mov ecx, edi
call esi
mov eax, dword [ebx + 0x7c]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x47573e
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x70d440]
mov ecx, dword [ebp - 0x14]
call esi
mov esi, dword [ebp - 0x10]
mov dword [ebx + 0x7c], edi
mov byte [ebp - 4], 0xb
test esi, esi
je 0x47575d
mov eax, dword [esi]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x70d440]
mov ecx, esi
call edi
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 6
mov ecx, dword [esi + 0x80]
test ecx, ecx
je 0x47578f
lea eax, [ebp - 0x1c]
push eax
call fcn.004746b0
push eax
lea ecx, [ebx + 0x80]
mov byte [ebp - 4], 0xc
call fcn.004784d0
lea ecx, [ebp - 0x1c]
call fcn.004785a0
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 4
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call dword [0x70d440]
mov ecx, esi
call edi
jmp 0x4756e6