Function at 0x477644
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47786d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60c]
mov esi, dword [eax + 0x24]
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
mov eax, dword [esi + 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
lea edx, [ebp - 0x2c]
mov ecx, 3
mov eax, 0x477884
call fcn.0040917c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3a4]
call fcn.0042fc0c
mov edx, dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3a8]
call fcn.0042fc0c
lea eax, [ebp - 0x30]
push eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
lea edx, [ebp - 0x2c]
mov ecx, 3
mov eax, 0x4778a0
call fcn.0040917c
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3b4]
call fcn.0042fc0c
mov dl, 1
mov eax, dword [0x40e5cc]
call fcn.00402d3c
mov ebx, eax
mov eax, dword [esi + 0x38]
mov ecx, ebx
mov dl, 1
call fcn.00459254
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c0]
mov eax, dword [eax + 0x1f0]
mov edx, dword [eax]
call dword [edx + 0x40]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x477843
inc eax
mov dword [ebp - 8], eax
xor esi, esi
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x38]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x38]
mov eax, 0x4778d4
call fcn.00403fa0
dec eax
push eax
lea ecx, [ebp - 0x3c]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x3c]
mov edx, 1
pop ecx
call fcn.00403ebc
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c0]
mov eax, dword [eax + 0x1f0]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x44]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x44]
mov eax, 0x4778d4
call fcn.00403fa0
add eax, 2
push eax
lea ecx, [ebp - 0x48]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x48]
mov ecx, 0x7fffffff
pop edx
call fcn.00403ebc
mov eax, dword [ebp - 0x40]
mov edx, 0x4778e0
call fcn.00403dc4
sete al
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c0]
mov eax, dword [eax + 0x1f0]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c0]
pop ecx
call fcn.00473ca0
inc esi
dec dword [ebp - 8]
jne 0x477777
mov eax, ebx
call fcn.00402d6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477874
lea eax, [ebp - 0x48]
mov edx, 7
call fcn.00403a58
lea eax, [ebp - 0xc]
call fcn.00403a34
ret