Function at 0x404440
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x58a2f1
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
xor ebx, ebx
mov dword [esi], vtable.TCDGameObject.0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x30], ebx
mov dword [esi + 0x10], ebx
lea edi, [esi + 0x14]
mov ecx, edi
mov byte [esp + 0x30], 1
call fcn.004038e0
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
or eax, 0xffffffff
lea ecx, [esi + 0x28]
mov byte [esp + 0x30], 2
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
call fcn.0049a820
lea ecx, [esi + 0x34]
mov dword [esi + 0x30], ebx
call fcn.0049a820
lea ecx, [esi + 0x3c]
call fcn.0049a820
mov byte [esi + 0x4c], bl
mov dword [esi + 0x50], ebx
mov byte [esi + 0x54], bl
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov byte [esi + 0x60], bl
call fcn.0047d770
sub esp, 8
mov dword [esp + 0x24], esp
mov ebp, esp
push ecx
mov edi, eax
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x5a8b10
mov dword [esp + 0x24], edi
call fcn.00496da0
push ebp
mov ecx, edi
call fcn.0047dc70
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.004a6f90
add esp, 0x10
mov ecx, dword [eax]
mov dword [esi + 4], ecx
mov ebp, dword [eax + 4]
cmp ebp, dword [esi + 8]
mov byte [esp + 0x30], 3
je 0x404558
cmp ebp, ebx
je 0x40452a
add dword [ebp + 4], 1
mov edi, dword [esi + 8]
cmp edi, ebx
je 0x404555
add dword [edi + 4], 0xffffffff
cmp dword [edi + 4], ebx
jne 0x404555
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
add dword [edi + 8], 0xffffffff
cmp dword [edi + 8], ebx
jne 0x404555
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov dword [esi + 8], ebp
mov edi, dword [esp + 0x24]
cmp edi, ebx
mov byte [esp + 0x30], 2
je 0x40458c
add dword [edi + 4], 0xffffffff
mov ecx, dword [edi + 4]
lea eax, [edi + 4]
jne 0x40458c
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
add dword [edi + 8], 0xffffffff
cmp dword [edi + 8], ebx
jne 0x40458c
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
sub esp, 8
mov dword [esp + 0x24], esp
mov edi, esp
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x5a8b10
call fcn.00496da0
mov ecx, dword [esp + 0x20]
push edi
call fcn.0047dc70
lea ecx, [esp + 0x28]
push ebx
push ecx
call fcn.004a6f90
add esp, 0x10
mov edx, dword [eax]
mov dword [esi + 0xc], edx
mov ebp, dword [eax + 4]
cmp ebp, dword [esi + 0x10]
mov byte [esp + 0x30], 4
je 0x404606
cmp ebp, ebx
je 0x4045d8
add dword [ebp + 4], 1
mov edi, dword [esi + 0x10]
cmp edi, ebx
je 0x404603
add dword [edi + 4], 0xffffffff
cmp dword [edi + 4], ebx
jne 0x404603
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
add dword [edi + 8], 0xffffffff
cmp dword [edi + 8], ebx
jne 0x404603
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
mov dword [esi + 0x10], ebp
mov edi, dword [esp + 0x24]
cmp edi, ebx
mov byte [esp + 0x30], 2
je 0x404637
add dword [edi + 4], 0xffffffff
lea eax, [edi + 4]
jne 0x404637
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
add dword [edi + 8], 0xffffffff
cmp dword [edi + 8], ebx
jne 0x404637
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov ecx, dword [esi + 4]
push ebx
call fcn.004a5ee0
mov ecx, dword [esi + 0xc]
push ebx
call fcn.004a5ee0
mov edx, dword [esi + 4]
sub esp, 8
mov ecx, esp
mov dword [ecx], edx
mov eax, dword [esi + 8]
cmp eax, ebx
mov dword [esp + 0x24], esp
mov dword [ecx + 4], eax
je 0x404665
add dword [eax + 4], 1
mov byte [esp + 0x38], 5
call fcn.00488e70
mov ecx, eax
mov byte [esp + 0x38], 2
call fcn.004893c0
mov eax, dword [esi + 0xc]
sub esp, 8
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esi + 0x10]
cmp eax, ebx
mov dword [esp + 0x24], esp
mov dword [ecx + 4], eax
je 0x404697
add dword [eax + 4], 1
mov byte [esp + 0x38], 6
call fcn.00488e70
mov ecx, eax
mov byte [esp + 0x38], 2
call fcn.004893c0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret