Function at 0x521867
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4dd90a
call 0x575ad8
sub esp, 0x10
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
call fcn.00523840
lea ecx, [ebx + 0x2e8]
push 0x515ae0
mov dword [ebx + 4], 0x6e
call 0x58d31f
xor esi, esi
push 0x44
mov dword [ebx + 0x2ec], esi
call 0x58c41a
pop ecx
mov dword [ebp - 0x1c], eax
cmp eax, esi
mov dword [ebp - 4], esi
je 0x5218bb
mov ecx, eax
call fcn.00513473
mov esi, eax
or dword [ebp - 4], 0xffffffff
push ecx
mov edi, esp
mov dword [ebp - 0x18], esp
push ecx
mov dword [esi + 8], 0xcb
mov ecx, esp
mov dword [ebp - 0x18], esp
push fcn.005155c8
call 0x58d204
lea ecx, [ebx + 0x1a8]
push edi
call 0x54d20a
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.0051c398
push 1
lea ecx, [esi + 0x30]
pop edi
push eax
mov dword [ebp - 4], edi
call 0x58d2cf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call 0x58d196
and dword [esi + 0x2c], 0
and dword [esi + 0x34], 0
lea ecx, [ebx + 0x14]
push esi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [ebp - 0x14], ecx
call 0x58bba8
push 0x44
call 0x58c41a
pop ecx
mov dword [ebp - 0x1c], eax
test eax, eax
mov dword [ebp - 4], 2
je 0x52194c
mov ecx, eax
call fcn.00513473
mov esi, eax
jmp 0x52194e
xor esi, esi
or dword [ebp - 4], 0xffffffff
push ecx
mov ebx, esp
mov dword [ebp - 0x18], esp
push ecx
mov dword [esi + 8], 0xd3
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x515ac0
call 0x58d204
push ebx
mov ebx, dword [ebp - 0x10]
lea ecx, [ebx + 0x1a8]
call 0x54d20a
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.0051c398
push eax
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 3
call 0x58d2cf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call 0x58d196
mov ecx, dword [ebp - 0x14]
and dword [esi + 0x2c], 0
push esi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 2
call 0x58bba8
push 0x70
call 0x58c41a
pop ecx
mov dword [ebp - 0x1c], eax
test eax, eax
mov dword [ebp - 4], 4
je 0x5219e0
mov ecx, eax
call fcn.0050d84b
mov esi, eax
jmp 0x5219e2
xor esi, esi
or dword [ebp - 4], 0xffffffff
push ecx
mov ebx, esp
mov dword [ebp - 0x18], esp
push ecx
mov dword [esi + 8], 0x321
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x515aa8
call 0x58d204
push ebx
mov ebx, dword [ebp - 0x10]
lea ecx, [ebx + 0x1a8]
call 0x54d20a
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.0051c398
push eax
lea ecx, [esi + 0x5c]
mov dword [ebp - 4], 5
call 0x58d2cf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call 0x58d196
xor eax, eax
push 0x523280
lea ecx, [esi + 0x44]
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
call 0x58d31f
push 0x523280
lea ecx, [esi + 0x48]
call 0x58d31f
and dword [esi + 0x50], 0
lea eax, [ebx + 0x2e8]
push eax
lea ecx, [esi + 0x68]
mov dword [esi + 0x4c], edi
call 0x58d2cf
push esi
lea ecx, [ebx + 0x14]
mov dword [esi + 0x14], 3
call 0x58bba8
push 0x40
call 0x58c41a
pop ecx
mov dword [ebp - 0x1c], eax
test eax, eax
mov dword [ebp - 4], 6
je 0x521ab4
mov ecx, eax
call fcn.0050b99b
mov esi, eax
jmp 0x521ab6
xor esi, esi
or dword [ebp - 4], 0xffffffff
push ecx
mov ebx, esp
mov dword [ebp - 0x18], esp
push ecx
mov dword [esi + 8], 0x6e
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x515a90
call 0x58d204
push ebx
mov ebx, dword [ebp - 0x10]
lea ecx, [ebx + 0x1a8]
call 0x54d20a
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.0051c398
push eax
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 7
call 0x58d2cf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call 0x58d196
and dword [esi + 0x2c], 0
push esi
lea ecx, [ebx + 0x14]
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 4
call 0x58bba8
push 0x44
call 0x58c41a
pop ecx
mov dword [ebp - 0x1c], eax
test eax, eax
mov dword [ebp - 4], 8
je 0x521b48
mov ecx, eax
call fcn.00513473
mov esi, eax
jmp 0x521b4a
xor esi, esi
or dword [ebp - 4], 0xffffffff
push ecx
mov ebx, esp
mov dword [ebp - 0x18], esp
push ecx
mov dword [esi + 8], 0xd0
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x515a6c
call 0x58d204
push ebx
mov ebx, dword [ebp - 0x10]
lea ecx, [ebx + 0x1a8]
call 0x54d20a
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.0051c398
push eax
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 9
call 0x58d2cf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call 0x58d196
and dword [esi + 0x2c], 0
lea ecx, [ebx + 0x14]
push esi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 5
mov dword [ebp - 0x14], ecx
call 0x58bba8
push 0x44
call 0x58c41a
pop ecx
mov dword [ebp - 0x1c], eax
test eax, eax
mov dword [ebp - 4], 0xa
je 0x521bdf
mov ecx, eax
call fcn.00513473
mov esi, eax
jmp 0x521be1
xor esi, esi
or dword [ebp - 4], 0xffffffff
push ecx
mov ebx, esp
mov dword [ebp - 0x1c], esp
push ecx
mov dword [esi + 8], 0xcf
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x515a48
call 0x58d204
push ebx
mov ebx, dword [ebp - 0x10]
lea ecx, [ebx + 0x1a8]
call 0x54d20a
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.0051c398
push eax
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 0xb
call 0x58d2cf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call 0x58d196
mov ecx, dword [ebp - 0x14]
and dword [esi + 0x2c], 0
push esi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 6
call 0x58bba8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret