Function at 0x440860
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 0x440b83
sub esp, 0x118
mov eax, dword [esp + 0x11c]
mov ecx, dword [eax + 0x38]
test ecx, ecx
jne 0x440b6c
mov ecx, dword [eax + 4]
mov edx, dword [eax]
test edx, edx
je 0x440b56
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, [0x6d6dc0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], esi
call fcn.0041b3f0
mov eax, dword [esp + 0x120]
mov dword [esp], eax
call fcn.0043fc90
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.004521fc
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 0x440963
mov esi, dword [edx + 0xc8]
xor edi, edi
jmp 0x440b04
mov esi, dword [esp + 0x120]
mov edi, dword [esp + 0x3c]
cmp esi, edi
jae 0x4409a1
lea eax, [edx + 0x6d]
mov dword [esp], eax
call fcn.00401f10
movzx eax, byte [esp + 4]
test al, al
jne 0x440ae1
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 0x4409ad
mov esi, dword [esi + 0x2c]
test esi, esi
je 0x4409d0
nop
mov edi, dword [esi + 0xc]
cmp dword [esp + 0x48], edi
ja 0x4409aa
cmp dword [esp + 0x4c], edi
jbe 0x4409aa
mov eax, dword [esp + 0x50]
add eax, edi
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x40]
jmp 0x4409aa
sub ebx, ecx
sub ebp, ecx
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
call fcn.00452920
nop
nop
mov eax, dword [esp + 0x11c]
mov ecx, dword [eax + 0x28]
cmp dword [esp + 0x48], ecx
ja 0x440a05
cmp dword [esp + 0x4c], ecx
jbe 0x440a05
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.00440660
nop
nop
mov eax, dword [esp + 0x11c]
mov ecx, dword [eax + 0x10]
cmp dword [esp + 0x48], ecx
ja 0x440a36
cmp dword [esp + 0x4c], ecx
jbe 0x440a36
mov edx, dword [esp + 0x50]
add ecx, edx
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x114]
test ecx, ecx
je 0x440a4e
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, [0x5d9ad0]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
call fcn.00449610
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
call fcn.0043ff40
add esp, 0x118
ret
lea eax, [0x5d59f2]
mov dword [esp], eax
mov dword [esp + 4], 0x2f
call fcn.0042ee20
mov esi, dword [esi + 0x2c]
mov ebx, dword [esp + 0x34]
mov edi, ecx
mov ecx, dword [esp + 0x2c]
test esi, esi
je 0x440b24
mov ebx, dword [esi + 0x34]
mov ecx, dword [esi + 0xc]
movzx ebx, word [ebx + 0xc]
add ecx, ebx
cmp eax, ecx
ja 0x440b20
cmp ebp, ecx
jbe 0x440b20
cmp edi, ecx
jb 0x440af7
mov ecx, edi
jmp 0x440af7
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.00440740
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
sub ecx, eax
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x44]
jmp 0x4409d0
lea eax, [0x5cec3c]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.0042ee20
lea eax, [0x5d4819]
mov dword [esp], eax
mov dword [esp + 4], 0x27
call fcn.0042ee20
nop
call fcn.00450c10
jmp fcn.00440860