Function at 0x495530
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x495538
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404eec
mov esi, dword [ebp + 8]
add esi, 0xfffffffc
mov edi, dword [ebp + 8]
add edi, 0xfffffff0
xor eax, eax
push ebp
push 0x4959da
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi]
mov edx, dword [eax + 0x5c4]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
call fcn.00404d48
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x48bbec]
call fcn.0048bc68
mov ebx, eax
mov edx, 0x4959f0
mov eax, ebx
call fcn.0048c154
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
mov edx, 0x4959f0
mov eax, ebx
call fcn.0048c0a0
mov edx, dword [ebx + 0x164]
mov edx, dword [edx + eax*8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov eax, dword [esi]
mov eax, dword [eax + 0xf38]
call fcn.00405888
mov edx, dword [ebp + 8]
mov dword [edx - 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
inc eax
push eax
mov eax, dword [esi]
add eax, 0xf38
mov ecx, 1
mov edx, dword [0x493b0c]
call fcn.00405a44
add esp, 4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
mov edx, dword [esi]
mov edx, dword [edx + 0xf38]
lea eax, [edx + eax*4 + 0x1c]
mov edx, dword [ebp - 4]
call fcn.00404a90
lea ecx, [ebp - 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, 0x495a04
call fcn.004165a0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0xf38]
lea eax, [ecx + eax*4]
call fcn.00404a90
lea ecx, [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, 0x495a14
call fcn.004165a0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0xf38]
lea eax, [ecx + eax*4 + 4]
call fcn.00404a90
lea ecx, [ebp - 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, 0x495a28
call fcn.004165a0
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.004089f0
mov eax, dword [ebp - 0x14]
call fcn.00408c2c
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0xc]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0xf38]
mov dword [ecx + edx*4 + 0x18], eax
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, 0x495a3c
call fcn.004165a0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0xf38]
lea eax, [ecx + eax*4 + 8]
call fcn.00404a90
lea ecx, [ebp - 0x20]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, 0x495a50
call fcn.004165a0
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0xf38]
lea eax, [ecx + eax*4 + 0xc]
call fcn.00404a90
lea ecx, [ebp - 0x24]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, 0x495a68
call fcn.004165a0
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0xf38]
lea eax, [ecx + eax*4 + 0x10]
call fcn.00404a90
lea ecx, [ebp - 0x28]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, 0x495a80
call fcn.004165a0
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0xf38]
lea eax, [ecx + eax*4 + 0x14]
call fcn.00404a90
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, 0x495a98
call fcn.004165a0
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0xf38]
lea eax, [ecx + eax*4 + 0x20]
call fcn.00404a90
lea ecx, [ebp - 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, 0x495aac
call fcn.004165a0
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0xf38]
lea eax, [ecx + eax*4 + 0x24]
call fcn.00404a90
lea ecx, [ebp - 0x34]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, 0x495ac4
call fcn.004165a0
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0xf38]
lea eax, [ecx + eax*4 + 0x28]
call fcn.00404a90
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
mov edx, dword [esi]
mov edx, dword [edx + 0xf38]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 0xc]
mov dword [edx + eax*4 + 0x60], ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
mov edx, dword [esi]
mov edx, dword [edx + 0xf38]
mov edx, dword [edx + eax*4 + 0x14]
mov eax, ebx
call fcn.0048c154
mov dl, 1
mov eax, dword [0x47420c]
call fcn.00476948
mov dword [edi], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
mov edx, dword [esi]
mov edx, dword [edx + 0xf38]
mov edx, dword [edx + eax*4 + 0x14]
mov eax, ebx
call fcn.0048c0a0
mov edx, dword [ebx + 0x164]
mov edx, dword [edx + eax*8]
mov eax, dword [edi]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0xc]
mov eax, dword [esi]
mov eax, dword [eax + 0x344]
mov eax, dword [eax + 0x34]
call fcn.0046e540
mov eax, dword [eax + 0x20]
call fcn.004216c0
mov edx, dword [edi]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esi]
mov eax, dword [eax + 0x344]
mov eax, dword [eax + 0x34]
call fcn.0046e73c
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00413a20
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
mov edx, dword [esi]
mov edx, dword [edx + 0xf38]
push esi
push edi
lea esi, [ebp - 0x44]
lea edi, [edx + eax*4 + 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [edi]
call fcn.00403cec
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
mov edx, 0x495adc
mov eax, ebx
call fcn.0048c154
mov edx, 0x495adc
mov eax, ebx
call fcn.0048c0a0
mov edx, dword [ebx + 0x164]
mov edx, dword [edx + eax*8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, 2
jge 0x49597b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
mov edx, dword [esi]
mov edx, dword [edx + 0xf38]
mov dword [edx + eax*4 + 0x5c], 0x3e8
jmp 0x4959ae
lea ecx, [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, 1
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x48]
call fcn.00408c2c
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0xc]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0xf38]
mov dword [ecx + edx*4 + 0x5c], eax
mov dl, 1
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4959e1
lea eax, [ebp - 0x48]
call fcn.00404a3c
lea eax, [ebp - 0x34]
mov edx, 0xd
call fcn.00404a60
ret