Function at 0x4700ec
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4703b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 1
xor edx, edx
push ebp
push 0x470394
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x470370
push dword fs:[edx]
mov dword fs:[edx], esp
mov ecx, 0x4703d4
mov dl, 1
mov eax, dword [0x466864]
call fcn.0046c864
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x22], 0
mov eax, dword [ebp - 0xc]
call fcn.0046c938
mov edx, 0x4703ec
mov ecx, dword [eax]
call dword [ecx + 0x7c]
mov edx, 0x470408
mov ecx, dword [eax]
call dword [ecx + 0x7c]
mov ebx, eax
push 0x1e
mov ecx, dword [0x4aae34]
mov ecx, dword [ecx]
mov edx, 0x470420
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x118]
push 2
mov ecx, dword [0x4aae34]
mov ecx, dword [ecx + 4]
mov edx, 0x470438
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x118]
push 0x19
mov ecx, dword [0x4aae34]
mov ecx, dword [ecx + 8]
mov edx, 0x47044c
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x118]
push 3
mov ecx, dword [0x4aae34]
mov ecx, dword [ecx + 0xc]
mov edx, 0x47045c
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x118]
push 0
mov ecx, dword [0x4aae34]
mov cl, byte [ecx + 0x10]
mov edx, 0x470470
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xf4]
push 1
mov ecx, dword [0x4aae34]
mov cl, byte [ecx + 0x11]
mov edx, 0x470488
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xf4]
push 0
mov ecx, dword [0x4aae34]
mov ecx, dword [ecx + 0x14]
mov edx, 0x4704a4
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x11c]
push 0
mov ecx, dword [0x4aae34]
mov ecx, dword [ecx + 0x18]
mov edx, 0x4704b4
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x11c]
push 0
mov ecx, dword [0x4aae34]
mov ecx, dword [ecx + 0x1c]
mov edx, 0x4704c8
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x11c]
push 0x1447
mov ecx, dword [0x4aae34]
mov ecx, dword [ecx + 0x20]
mov edx, 0x4704d8
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x118]
push 0
mov ecx, dword [0x4aae34]
mov ecx, dword [ecx + 0x24]
mov edx, 0x4704e8
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x11c]
push 0
mov ecx, dword [0x4aae34]
mov ecx, dword [ecx + 0x28]
mov edx, 0x4704f8
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x11c]
push 1
mov ecx, dword [0x4aae34]
mov cl, byte [ecx + 0x2c]
mov edx, 0x47050c
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xf4]
push 0x23bf
mov ecx, dword [0x4aae34]
movzx ecx, word [ecx + 0x2e]
mov edx, 0x470520
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x118]
push 1
mov ecx, dword [0x4aae34]
mov ecx, dword [ecx + 0x30]
mov edx, 0x470530
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x118]
mov edx, 0x470544
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x7c]
mov dword [ebp - 0x10], eax
xor esi, esi
mov ebx, dword [0x4aae34]
add ebx, 0x34
lea eax, [ebp - 8]
push eax
lea eax, [esi + 1]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x18]
xor ecx, ecx
mov eax, 0x470558
call fcn.00409a9c
push 0
cmp dword [ebx], 1
sbb ecx, ecx
inc ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xf4]
inc esi
add ebx, 4
cmp esi, 0x31
jne 0x47030a
mov edx, dword [0x4aac7c]
mov edx, dword [edx]
lea eax, [ebp - 0x1c]
mov ecx, 0x47056c
call fcn.004048d8
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47037e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47039b
mov eax, dword [ebp - 0xc]
call fcn.00403868
ret