Function at 0x4478a0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x98]
cmp eax, dword [ecx + 8]
jbe 0x447bc3
sub esp, 0x118
mov eax, dword [esp + 0x11c]
mov ecx, dword [eax + 0x38]
test ecx, ecx
jne 0x447bac
mov ecx, dword [eax + 4]
mov edx, dword [eax]
test edx, edx
je 0x447b96
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], edx
mov ebx, dword fs:[0x14]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x18]
sub ecx, edx
mov dword [esp + 0x3c], ecx
mov esi, dword [esp + 0x120]
sub esi, ecx
mov ecx, 0
sbb ecx, 0
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x38], eax
mov ebx, dword [ebx + 0x58]
lea eax, [0x62fd20]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], esi
call fcn.0041d9c0
mov eax, dword [esp + 0x120]
mov dword [esp], eax
call fcn.00446c30
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x30], ecx
lea edi, [esp + 0x48]
mov edx, eax
xor eax, eax
call fcn.0045d4dc
mov eax, dword [esp + 0x40]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x4c], ecx
mov ebx, edx
sub edx, ecx
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x38]
mov ebp, ecx
sub ecx, edx
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x11c]
movzx esi, byte [edx + 0x6c]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4479a3
mov esi, dword [edx + 0xc8]
xor edi, edi
jmp 0x447b44
mov esi, dword [esp + 0x120]
mov edi, dword [esp + 0x3c]
cmp esi, edi
jae 0x4479e1
lea eax, [edx + 0x6d]
mov dword [esp], eax
call fcn.00401e80
movzx eax, byte [esp + 4]
test al, al
jne 0x447b21
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x11c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x44]
nop
mov esi, dword [edx + 0xc8]
jmp 0x4479ed
mov esi, dword [esi + 0x2c]
test esi, esi
je 0x447a10
nop
mov edi, dword [esi + 0xc]
cmp dword [esp + 0x48], edi
ja 0x4479ea
cmp dword [esp + 0x4c], edi
jbe 0x4479ea
mov eax, dword [esp + 0x50]
add eax, edi
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x40]
jmp 0x4479ea
sub ebx, ecx
sub ebp, ecx
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
call fcn.0045dc00
nop
nop
mov eax, dword [esp + 0x11c]
mov ecx, dword [eax + 0x28]
cmp dword [esp + 0x48], ecx
ja 0x447a45
cmp dword [esp + 0x4c], ecx
jbe 0x447a45
mov edx, dword [esp + 0x50]
add ecx, edx
mov dword [eax + 0x28], ecx
mov dword [esp], eax
lea ecx, [esp + 0x48]
mov dword [esp + 4], ecx
call fcn.004476a0
nop
nop
mov eax, dword [esp + 0x11c]
mov ecx, dword [eax + 0x10]
cmp dword [esp + 0x48], ecx
ja 0x447a76
cmp dword [esp + 0x4c], ecx
jbe 0x447a76
mov edx, dword [esp + 0x50]
add ecx, edx
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x114]
test ecx, ecx
je 0x447a8e
mov edx, dword [esp + 0x50]
add ecx, edx
mov dword [esp + 0x114], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov edx, dword [esp + 0x34]
mov dword [eax + 4], edx
add ecx, 0xba0
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x2c]
sub edx, ecx
mov dword [eax + 0x1c], edx
mov ecx, dword [esp + 0x50]
add dword [eax + 0x40], ecx
mov dword [esp], 0xffffffff
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0x7fffffff
lea eax, [0x5102e4]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
call fcn.004512f0
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
call fcn.00446eb0
add esp, 0x118
ret
lea eax, [0x50eb01]
mov dword [esp], eax
mov dword [esp + 4], 0x2f
call fcn.004328e0
mov esi, dword [esi + 0x2c]
mov ebx, dword [esp + 0x34]
mov edi, ecx
mov ecx, dword [esp + 0x2c]
test esi, esi
je 0x447b64
mov ebx, dword [esi + 0x34]
mov ecx, dword [esi + 0xc]
movzx ebx, word [ebx + 0xc]
add ecx, ebx
cmp eax, ecx
ja 0x447b60
cmp ebp, ecx
jbe 0x447b60
cmp edi, ecx
jb 0x447b37
mov ecx, edi
jmp 0x447b37
mov dword [esp + 0x114], edi
mov dword [esp], edx
mov dword [esp + 4], ecx
lea eax, [esp + 0x48]
mov dword [esp + 8], eax
call fcn.00447780
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
sub ecx, eax
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x44]
jmp 0x447a10
lea eax, [0x505939]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.004328e0
lea eax, [0x50d841]
mov dword [esp], eax
mov dword [esp + 4], 0x27
call fcn.004328e0
nop
call fcn.0045c000
jmp fcn.004478a0