Function at 0x438210
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4965ab
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebp
push esi
push edi
mov eax, dword [0x4bea30]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebx + 0x1c]
xor edi, edi
cmp dword [ebx + 0xc], eax
mov dword [esp + 0x18], 1
mov dword [esp + 0x24], edi
jle 0x438266
cmp eax, edi
jl 0x438261
cmp eax, dword [ebx + 0xc]
jge 0x438261
mov ecx, dword [ebx + 8]
mov esi, dword [ecx + eax*4]
mov dword [esp + 0x1c], esi
jmp 0x43826c
call fcn.00455154
mov dword [esp + 0x1c], edi
mov esi, edi
mov edx, dword [esi]
mov eax, dword [esp + 0x48]
mov edx, dword [edx + 0x1c]
push edi
push eax
mov ecx, esi
call edx
test eax, eax
je 0x438496
call fcn.0045525d
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x43829d
push 0x80004005
call fcn.004022b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], edi
call fcn.0045525d
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4382cb
push 0x80004005
call fcn.004022b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, str.DiagCheckItem
mov byte [esp + 0x38], 1
xor ebp, ebp
call fcn.004354e0
mov dword [esp + 0x28], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x78]
lea eax, [esp + 0x14]
push eax
push 0
mov ecx, esi
call edx
test eax, eax
je 0x438409
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
push eax
push str.DiagCheckItem
push ecx
call fcn.0047a061
add esp, 0xc
test eax, eax
jne 0x438409
mov edx, dword [esi]
mov edx, dword [edx + 0x60]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call edx
test eax, eax
je 0x438409
push 0x10
call fcn.0045502b
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov byte [esp + 0x38], 2
je 0x438368
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x4c]
push ebx
push eax
call fcn.00443440
mov esi, eax
jmp 0x43836a
xor esi, esi
mov byte [esp + 0x38], 1
call fcn.00443690
test eax, eax
je 0x4383f3
cmp dword [esp + 0x18], 0
jne 0x438390
test edi, edi
je 0x43838c
call fcn.00443770
cmp eax, edi
je 0x438390
xor eax, eax
jmp 0x438395
mov eax, 1
xor edx, edx
test eax, eax
sete dl
mov ebp, edx
test ebp, ebp
jne 0x4383ec
mov ecx, dword [esp + 0x44]
push esi
call fcn.00443a70
test eax, eax
jne 0x4383ec
mov eax, dword [esp + 0x4c]
push eax
push esi
call fcn.00443840
lea ecx, [esp + 0x14]
push ecx
push esi
call fcn.00443910
test eax, eax
je 0x4383dc
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00409b30
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], 0x65b
call fcn.00443770
mov edi, eax
test esi, esi
je 0x438401
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
test ebp, ebp
jne 0x43841a
mov esi, dword [esp + 0x1c]
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
mov ecx, esi
call eax
test eax, eax
jne 0x4382f0
cmp dword [esp + 0x18], 0
mov esi, dword [esp + 0x20]
jne 0x43844d
push esi
lea ecx, [esp + 0x18]
push 0x4a0768
push ecx
call fcn.004045e0
mov edx, dword [esp + 0x20]
add esp, 0xc
push edx
push ebx
mov eax, str._DIAG_ERR_REPORT_
mov ecx, 1
call fcn.00435f90
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438472
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438496
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x14], edx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x2c
ret 0x10