Function at 0x517900
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1a
push 0
push 0
dec ecx
jne 0x517908
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x518079
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebx + 0x20]
mov dl, 1
mov eax, dword [0x4392f8]
call fcn.004393a8
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x518054
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov ecx, 0x518090
mov edx, 0x5180a4
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 8]
mov byte [ebx + 0x40], al
push 0
lea eax, [ebp - 8]
push eax
mov ecx, 0x5180b4
mov edx, 0x5180a4
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 8]
lea eax, [ebx + 0x14]
call fcn.004043e4
push 0x26ac
mov ecx, 0x5180c4
mov edx, 0x5180a4
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 8], eax
lea eax, [ebx + 0x18]
mov edx, 0x5180d4
call fcn.004043e4
mov dword [ebx + 0xc], 0x26ac
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x5180ec
mov edx, 0x5180a4
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0x2c]
call fcn.004043e4
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x518100
mov edx, 0x5180a4
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x30]
call fcn.004043e4
push 0
mov ecx, 0x518114
mov edx, 0x5180a4
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 4], al
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x518128
mov edx, 0x5180a4
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x24]
call fcn.004043e4
push 0x438
mov ecx, 0x518138
mov edx, 0x5180a4
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x10], eax
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x51814c
mov edx, 0x5180a4
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x1c]
call fcn.004043e4
push 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x518160
mov edx, 0x5180a4
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x28]
call fcn.004043e4
push 0x518174
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x518184
mov edx, 0x5180a4
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 0x34]
call fcn.004043e4
push 0x518194
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x5181a0
mov edx, 0x5180a4
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x24]
lea eax, [ebx + 0x38]
call fcn.004043e4
push 0x5181ac
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x5181b8
mov edx, 0x5180a4
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x28]
lea eax, [ebx + 0x3c]
call fcn.004043e4
mov eax, dword [0x52405c]
mov edx, dword [ebx + 0x3c]
call fcn.004043e4
push 0
mov ecx, 0x5181c4
mov edx, 0x5180a4
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [0x523b74]
mov dword [edx], eax
lea eax, [ebp - 0x30]
push eax
push 0
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x5181d4
mov edx, 0x5180a4
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [ebp - 0x34]
xor ecx, ecx
mov edx, 0x5181e8
call fcn.00517360
mov eax, dword [ebp - 0x30]
call fcn.00404850
lea edx, [ebp - 0x2c]
call fcn.00409ae0
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x523d34]
call fcn.004043e4
lea eax, [ebp - 0x3c]
push eax
push 0
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x5181f4
mov edx, 0x5180a4
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [ebp - 0x40]
xor ecx, ecx
mov edx, 0x5181e8
call fcn.00517360
mov eax, dword [ebp - 0x3c]
call fcn.00404850
lea edx, [ebp - 0x38]
call fcn.00409ae0
mov edx, dword [ebp - 0x38]
mov eax, dword [0x523d28]
call fcn.004043e4
lea eax, [ebp - 0x48]
push eax
push 0
lea eax, [ebp - 0x4c]
push eax
mov ecx, 0x518208
mov edx, 0x5180a4
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x5181e8
call fcn.00517360
mov eax, dword [ebp - 0x48]
call fcn.00404850
lea edx, [ebp - 0x44]
call fcn.00409ae0
mov edx, dword [ebp - 0x44]
mov eax, dword [0x523c28]
call fcn.004043e4
lea eax, [ebp - 0x54]
push eax
push 0
lea eax, [ebp - 0x58]
push eax
mov ecx, 0x51821c
mov edx, 0x5180a4
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [ebp - 0x58]
xor ecx, ecx
mov edx, 0x5181e8
call fcn.00517360
mov eax, dword [ebp - 0x54]
call fcn.00404850
lea edx, [ebp - 0x50]
call fcn.00409ae0
mov edx, dword [ebp - 0x50]
mov eax, dword [0x524084]
call fcn.004043e4
lea eax, [ebp - 0x60]
push eax
push 0
lea eax, [ebp - 0x64]
push eax
mov ecx, 0x518230
mov edx, 0x5180a4
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [ebp - 0x64]
xor ecx, ecx
mov edx, 0x5181e8
call fcn.00517360
mov eax, dword [ebp - 0x60]
call fcn.00404850
lea edx, [ebp - 0x5c]
call fcn.00409ae0
mov edx, dword [ebp - 0x5c]
mov eax, dword [0x523d08]
call fcn.004043e4
lea eax, [ebp - 0x6c]
push eax
push 0
lea eax, [ebp - 0x70]
push eax
mov ecx, 0x518240
mov edx, 0x5180a4
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [ebp - 0x70]
xor ecx, ecx
mov edx, 0x5181e8
call fcn.00517360
mov eax, dword [ebp - 0x6c]
call fcn.00404850
lea edx, [ebp - 0x68]
call fcn.00409ae0
mov edx, dword [ebp - 0x68]
mov eax, dword [0x5241a4]
call fcn.004043e4
lea eax, [ebp - 0x78]
push eax
push 0
lea eax, [ebp - 0x7c]
push eax
mov ecx, 0x518250
mov edx, 0x5180a4
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [ebp - 0x7c]
xor ecx, ecx
mov edx, 0x5181e8
call fcn.00517360
mov eax, dword [ebp - 0x78]
call fcn.00404850
lea edx, [ebp - 0x74]
call fcn.00409ae0
mov edx, dword [ebp - 0x74]
mov eax, dword [0x524198]
call fcn.004043e4
lea eax, [ebp - 0x84]
push eax
push 0
lea eax, [ebp - 0x88]
push eax
mov ecx, 0x518268
mov edx, 0x5180a4
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [ebp - 0x88]
xor ecx, ecx
mov edx, 0x5181e8
call fcn.00517360
mov eax, dword [ebp - 0x84]
call fcn.00404850
lea edx, [ebp - 0x80]
call fcn.00409ae0
mov edx, dword [ebp - 0x80]
mov eax, dword [0x523d30]
call fcn.004043e4
lea eax, [ebp - 0x90]
push eax
push 0
lea eax, [ebp - 0x94]
push eax
mov ecx, 0x518280
mov edx, 0x5180a4
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [ebp - 0x94]
xor ecx, ecx
mov edx, 0x5181e8
call fcn.00517360
mov eax, dword [ebp - 0x90]
call fcn.00404850
lea edx, [ebp - 0x8c]
call fcn.00409ae0
mov edx, dword [ebp - 0x8c]
mov eax, dword [0x523eec]
call fcn.004043e4
lea eax, [ebp - 0x9c]
push eax
push 0
lea eax, [ebp - 0xa0]
push eax
mov ecx, 0x51828c
mov edx, 0x5180a4
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [ebp - 0xa0]
xor ecx, ecx
mov edx, 0x5181e8
call fcn.00517360
mov eax, dword [ebp - 0x9c]
call fcn.00404850
lea edx, [ebp - 0x98]
call fcn.00409ae0
mov edx, dword [ebp - 0x98]
mov eax, dword [0x523f4c]
call fcn.004043e4
lea eax, [ebp - 0xa8]
push eax
push 0
lea eax, [ebp - 0xac]
push eax
mov ecx, 0x518298
mov edx, 0x5180a4
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [ebp - 0xac]
xor ecx, ecx
mov edx, 0x5181e8
call fcn.00517360
mov eax, dword [ebp - 0xa8]
call fcn.00404850
lea edx, [ebp - 0xa4]
call fcn.00409ae0
mov edx, dword [ebp - 0xa4]
mov eax, dword [0x523f2c]
call fcn.004043e4
lea eax, [ebp - 0xb4]
push eax
push 0
lea eax, [ebp - 0xb8]
push eax
mov ecx, 0x5182a4
mov edx, 0x5180a4
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [ebp - 0xb8]
xor ecx, ecx
mov edx, 0x5181e8
call fcn.00517360
mov eax, dword [ebp - 0xb4]
call fcn.00404850
lea edx, [ebp - 0xb0]
call fcn.00409ae0
mov edx, dword [ebp - 0xb0]
mov eax, dword [0x523f78]
call fcn.004043e4
push 0x5182b0
mov eax, dword [0x523f4c]
push dword [eax]
push 0x5182d0
push 0x5182dc
mov eax, dword [0x523f2c]
push dword [eax]
push 0x5182d0
push 0x5182f0
mov eax, dword [0x523f78]
push dword [eax]
mov eax, dword [0x523aec]
mov edx, 8
call fcn.00404710
lea eax, [ebp - 0xc0]
push eax
push 0
lea eax, [ebp - 0xc4]
push eax
mov ecx, 0x518304
mov edx, 0x5180a4
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [ebp - 0xc4]
xor ecx, ecx
mov edx, 0x5181e8
call fcn.00517360
mov eax, dword [ebp - 0xc0]
call fcn.00404850
lea edx, [ebp - 0xbc]
call fcn.00409ae0
mov edx, dword [ebp - 0xbc]
mov eax, dword [0x524194]
call fcn.004043e4
lea eax, [ebp - 0xcc]
push eax
xor ecx, ecx
mov edx, 0x5181e8
mov eax, 0x518310
call fcn.00517360
mov eax, dword [ebp - 0xcc]
call fcn.00404850
lea edx, [ebp - 0xc8]
call fcn.00409ae0
mov edx, dword [ebp - 0xc8]
mov eax, dword [0x523fc4]
call fcn.004043e4
lea eax, [ebp - 0xd4]
push eax
xor ecx, ecx
mov edx, 0x5181e8
mov eax, 0x51834c
call fcn.00517360
mov eax, dword [ebp - 0xd4]
call fcn.00404850
lea edx, [ebp - 0xd0]
call fcn.00409ae0
mov edx, dword [ebp - 0xd0]
mov eax, dword [0x524030]
call fcn.004043e4
mov eax, dword [0x523d34]
push dword [eax]
mov eax, dword [0x523d28]
push dword [eax]
push 0x518388
mov eax, dword [0x524040]
mov edx, 3
call fcn.00404710
mov ecx, dword [0x523d28]
mov ecx, dword [ecx]
mov edx, dword [0x523d34]
mov edx, dword [edx]
mov eax, dword [0x523da0]
call fcn.0040469c
push 0x5183a0
mov eax, dword [0x524198]
push dword [eax]
push 0x5182d0
push 0x518404
mov eax, dword [0x523d30]
push dword [eax]
mov eax, dword [0x524228]
mov edx, 5
call fcn.00404710
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51805b
mov eax, dword [ebp - 4]
call fcn.0040355c
ret