Function at 0x470258
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 0x470525
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 1
xor edx, edx
push ebp
push 0x470500
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x4704dc
push dword fs:[edx]
mov dword fs:[edx], esp
mov ecx, 0x470540
mov dl, 1
mov eax, dword [0x466c34]
call fcn.0046c614
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x23], 0
mov eax, dword [ebp - 0xc]
call fcn.0046c740
mov edx, 0x470558
mov ecx, dword [eax]
call dword [ecx + 0x7c]
mov edx, 0x470574
mov ecx, dword [eax]
call dword [ecx + 0x7c]
mov ebx, eax
push 0x1e
mov ecx, dword [0x4aae38]
mov ecx, dword [ecx]
mov edx, 0x47058c
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x10c]
push 2
mov ecx, dword [0x4aae38]
mov ecx, dword [ecx + 4]
mov edx, 0x4705a4
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x10c]
push 0x19
mov ecx, dword [0x4aae38]
mov ecx, dword [ecx + 8]
mov edx, 0x4705b8
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x10c]
push 3
mov ecx, dword [0x4aae38]
mov ecx, dword [ecx + 0xc]
mov edx, 0x4705c8
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x10c]
push 0
mov ecx, dword [0x4aae38]
mov cl, byte [ecx + 0x10]
mov edx, 0x4705dc
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xe8]
push 1
mov ecx, dword [0x4aae38]
mov cl, byte [ecx + 0x11]
mov edx, 0x4705f4
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xe8]
push 0
mov ecx, dword [0x4aae38]
mov ecx, dword [ecx + 0x14]
mov edx, 0x470610
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x110]
push 0
mov ecx, dword [0x4aae38]
mov ecx, dword [ecx + 0x18]
mov edx, 0x470620
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x110]
push 0
mov ecx, dword [0x4aae38]
mov ecx, dword [ecx + 0x1c]
mov edx, 0x470634
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x110]
push 0x1447
mov ecx, dword [0x4aae38]
mov ecx, dword [ecx + 0x20]
mov edx, 0x470644
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x10c]
push 0
mov ecx, dword [0x4aae38]
mov ecx, dword [ecx + 0x24]
mov edx, 0x470654
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x110]
push 0
mov ecx, dword [0x4aae38]
mov ecx, dword [ecx + 0x28]
mov edx, 0x470664
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x110]
push 1
mov ecx, dword [0x4aae38]
mov cl, byte [ecx + 0x2c]
mov edx, 0x470678
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xe8]
push 0x23bf
mov ecx, dword [0x4aae38]
movzx ecx, word [ecx + 0x2e]
mov edx, 0x47068c
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x10c]
push 1
mov ecx, dword [0x4aae38]
mov ecx, dword [ecx + 0x30]
mov edx, 0x47069c
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x10c]
mov edx, 0x4706b0
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x7c]
mov dword [ebp - 0x10], eax
xor esi, esi
mov ebx, dword [0x4aae38]
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, 0x4706c4
call fcn.00409cdc
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 + 0xe8]
inc esi
add ebx, 4
cmp esi, 0x31
jne 0x470476
mov edx, dword [0x4aac7c]
mov edx, dword [edx]
lea eax, [ebp - 0x1c]
mov ecx, 0x4706d8
call fcn.004048c8
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 0x4704ea
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470507
mov eax, dword [ebp - 0xc]
call fcn.00403858
ret