Function at 0x474bf0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x474c08
add esp, 0xfffffff0
call fcn.004046cc
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
lea eax, [ebp - 4]
call fcn.00405fc4
xor eax, eax
push ebp
push 0x474ef0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4fcf04]
mov eax, dword [eax]
push eax
call fcn.004081fc
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.00405d34
jne 0x474c4c
lea eax, [ebp - 4]
mov edx, dword [0x4f39fc]
call fcn.00405a94
lea ecx, [ebp - 8]
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0047475c
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.00405a94
mov eax, dword [ebp - 4]
call fcn.00405c00
mov edx, eax
lea eax, [ebp - 0xc]
call fcn.00405b8c
mov eax, dword [ebp - 0xc]
call fcn.00474bdc
mov esi, eax
mov dword [edi + 4], esi
test esi, esi
je 0x474e20
push 0x474f18
push esi
call fcn.004090f0
mov dword [edi + 8], eax
push 0x474f28
mov eax, dword [edi + 4]
push eax
call fcn.004090f0
mov dword [edi + 0xc], eax
push 0x474f38
mov eax, dword [edi + 4]
push eax
call fcn.004090f0
mov dword [edi + 0x10], eax
push 0x474f48
mov eax, dword [edi + 4]
push eax
call fcn.004090f0
mov dword [edi + 0x14], eax
push 0x474f54
mov eax, dword [edi + 4]
push eax
call fcn.004090f0
mov dword [edi + 0x18], eax
push 0x474f68
mov eax, dword [edi + 4]
push eax
call fcn.004090f0
mov dword [edi + 0x1c], eax
push 0x474f74
mov eax, dword [edi + 4]
push eax
call fcn.004090f0
mov dword [edi + 0x20], eax
push 0x474f84
mov eax, dword [edi + 4]
push eax
call fcn.004090f0
mov dword [edi + 0x24], eax
push 0x474f98
mov eax, dword [edi + 4]
push eax
call fcn.004090f0
mov dword [edi + 0x28], eax
push 0x474fa4
mov eax, dword [edi + 4]
push eax
call fcn.004090f0
mov dword [edi + 0x2c], eax
push 0x474fb4
mov eax, dword [edi + 4]
push eax
call fcn.004090f0
mov dword [edi + 0x30], eax
push 0x474fbc
mov eax, dword [edi + 4]
push eax
call fcn.004090f0
mov dword [edi + 0x34], eax
push 0x474fc8
mov eax, dword [edi + 4]
push eax
call fcn.004090f0
mov dword [edi + 0x38], eax
push 0x474fd8
mov eax, dword [edi + 4]
push eax
call fcn.004090f0
mov dword [edi + 0x3c], eax
push 0x474fe4
mov eax, dword [edi + 4]
push eax
call fcn.004090f0
mov dword [edi + 0x40], eax
push 0x474ff0
mov eax, dword [edi + 4]
push eax
call fcn.004090f0
mov dword [edi + 0x44], eax
push 0x475000
mov eax, dword [edi + 4]
push eax
call fcn.004090f0
mov dword [edi + 0x48], eax
push 0x475010
mov eax, dword [edi + 4]
push eax
call fcn.004090f0
mov dword [edi + 0x4c], eax
push 0x475024
mov eax, dword [edi + 4]
push eax
call fcn.004090f0
mov dword [edi + 0x50], eax
push 0x475038
mov eax, dword [edi + 4]
push eax
call fcn.004090f0
mov dword [edi + 0x54], eax
push 0x475048
mov eax, dword [edi + 4]
push eax
call fcn.004090f0
mov dword [edi + 0x58], eax
push 0x475058
mov eax, dword [edi + 4]
push eax
call fcn.004090f0
mov dword [edi + 0x5c], eax
push 0x475068
mov eax, dword [edi + 4]
push eax
call fcn.004090f0
mov dword [edi + 0x60], eax
push 0x475078
mov eax, dword [edi + 4]
push eax
call fcn.004090f0
mov dword [edi + 0x64], eax
cmp dword [edi + 4], 0
je 0x474ec2
cmp dword [edi + 8], 0
je 0x474ec2
cmp dword [edi + 0xc], 0
je 0x474ec2
cmp dword [edi + 0x10], 0
je 0x474ec2
cmp dword [edi + 0x24], 0
je 0x474ec2
cmp dword [edi + 0x28], 0
je 0x474ec2
cmp dword [edi + 0x2c], 0
je 0x474ec2
cmp dword [edi + 0x30], 0
je 0x474ec2
cmp dword [edi + 0x34], 0
je 0x474ec2
cmp dword [edi + 0x38], 0
je 0x474ec2
cmp dword [edi + 0x3c], 0
je 0x474ec2
cmp dword [edi + 0x40], 0
je 0x474ec2
cmp dword [edi + 0x44], 0
je 0x474ec2
cmp dword [edi + 0x48], 0
je 0x474ec2
cmp dword [edi + 0x4c], 0
je 0x474ec2
cmp dword [edi + 0x50], 0
je 0x474ec2
cmp dword [edi + 0x54], 0
je 0x474ec2
cmp dword [edi + 0x58], 0
je 0x474ec2
cmp dword [edi + 0x5c], 0
je 0x474ec2
cmp dword [edi + 0x60], 0
je 0x474ec2
cmp dword [edi + 0x64], 0
je 0x474ec2
cmp dword [edi + 0x14], 0
je 0x474ec2
cmp dword [edi + 0x18], 0
je 0x474ec2
cmp dword [edi + 0x1c], 0
je 0x474ec2
cmp dword [edi + 0x20], 0
jne 0x474ed5
xor ecx, ecx
mov dl, 1
mov eax, dword [0x40d5c8]
call fcn.0040e6ac
call fcn.00404c1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474ef7
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405a48
ret