Function at 0x520439
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
push edi
push dword [ebp + 8]
call fcn.0052779a
mov esi, eax
test esi, esi
jns 0x520472
cmp esi, 0xc000000d
jne 0x520460
push 0xc1008035
jmp 0x5204cb
push esi
call dword [0x42a518]
push eax
call fcn.00528664
jmp 0x5207ac
push 0x4010ec
call fcn.00527a0a
test al, al
jne 0x5207a5
push 0x4010f0
call fcn.00527a0a
test al, al
jne 0x5207a5
push 0x4010fc
call fcn.00527a4b
mov esi, dword [fcn.0042a514]
mov ecx, eax
xor edi, edi
test ecx, ecx
je 0x5204ea
cmp dword [ecx + 0xc], 1
push ecx
je 0x5204d6
mov eax, dword fs:[0x30]
push edi
push dword [eax + 0x18]
call esi
push 0xc1008001
mov esi, 0xc000000d
call fcn.00528617
pop ecx
jmp 0x5207ac
mov eax, dword [ecx + 0x10]
mov dword [0x4296e0], eax
mov eax, dword fs:[0x30]
push edi
push dword [eax + 0x18]
call esi
push 0x401108
call fcn.00527a4b
test eax, eax
je 0x52051a
cmp dword [eax + 0xc], edi
push eax
mov eax, dword fs:[0x30]
push edi
push dword [eax + 0x18]
je 0x520511
call esi
push 0xc1008002
jmp 0x5204c6
mov byte [0x4296dc], 1
call esi
cmp dword [0x4296e4], 0x4296e4
je 0x520534
push 0x40110c
call fcn.00527a0a
test al, al
je 0x520543
call fcn.00527ee8
call fcn.005259a6
jmp 0x520797
push 0x401118
call fcn.00527a0a
test al, al
je 0x520560
call fcn.00527ee8
call fcn.00526a70
jmp 0x520797
push 0x401124
call fcn.00527a0a
test al, al
je 0x52057d
call fcn.00527ee8
call fcn.00527499
jmp 0x520797
push 0x401134
call fcn.00527a0a
test al, al
je 0x52059a
call fcn.00527ee8
call fcn.00526dd1
jmp 0x520797
push 0x401144
call fcn.00527a0a
test al, al
je 0x5205b7
call fcn.00527ee8
call fcn.00523612
jmp 0x520797
push 0x40115c
call fcn.00527a0a
test al, al
je 0x5205d4
call fcn.00527ee8
call fcn.005237dc
jmp 0x520797
push 0x401164
call fcn.00527a0a
test al, al
je 0x5205f1
call fcn.00527ee8
call fcn.005207c0
jmp 0x520797
push 0x401174
call fcn.00527a0a
test al, al
je 0x52060e
call fcn.00527ee8
call fcn.005208f6
jmp 0x520797
push 0x401184
call fcn.00527a0a
test al, al
je 0x52062b
call fcn.00527ee8
call fcn.00520a11
jmp 0x520797
push 0x4011a0
call fcn.00527a0a
test al, al
je 0x520648
call fcn.00527ee8
call fcn.00520c34
jmp 0x520797
push 0x4011c4
call fcn.00527a0a
test al, al
je 0x520665
call fcn.00527ee8
call fcn.00520e44
jmp 0x520797
push 0x4011e0
call fcn.00527a0a
test al, al
je 0x52067e
call fcn.00527ee8
push edi
jmp 0x520778
push 0x4011f8
call fcn.00527a0a
test al, al
je 0x52069b
call fcn.00527ee8
call fcn.005232bd
jmp 0x520797
push 0x401204
call fcn.00527a0a
test al, al
je 0x5206b8
call fcn.00527ee8
call fcn.00523480
jmp 0x520797
push 0x401218
call fcn.00527a0a
test al, al
je 0x5206d5
call fcn.00527ee8
call fcn.00525111
jmp 0x520797
push 0x401230
call fcn.00527a0a
test al, al
je 0x5206f2
call fcn.00527ee8
call fcn.00525623
jmp 0x520797
push 0x401238
call fcn.00527a0a
test al, al
je 0x52070f
call fcn.00527ee8
call fcn.00525800
jmp 0x520797
push 0x401248
call fcn.00527a0a
test al, al
je 0x520724
call fcn.00527abe
jmp 0x520797
push 0x401260
call fcn.00527a0a
test al, al
je 0x520739
call fcn.00527be0
jmp 0x520797
push 0x401270
call fcn.00527a0a
test al, al
je 0x52074e
call fcn.00527cb6
jmp 0x520797
push 0x401280
call fcn.00527a0a
test al, al
je 0x520763
call fcn.00527dc7
jmp 0x520797
push 0x401294
call fcn.00527a0a
test al, al
je 0x52077f
call fcn.00527ee8
push 1
call fcn.00521054
jmp 0x520797
push 0x4012bc
call fcn.00527a0a
test al, al
je 0x52079b
call fcn.00527ee8
call fcn.005260ba
mov esi, eax
jmp 0x5207ac
push 0xc100802a
jmp 0x5204c6
call fcn.00527f0b
xor esi, esi
call fcn.005279c2
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4