Function at 0x403d60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x666af8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7289f4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00403330
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], 0x68b294
mov eax, dword [esi + 0x58]
add eax, 0x4a4
push eax
mov dword [esp + 0x3c], edi
call dword [0x68a1b4]
push eax
lea ecx, [esp + 0x1c]
call fcn.004a58ef
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + 0x28]
lea ecx, [esi + 0x3c]
lea edx, [esp + 0x18]
push edx
call eax
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
mov dword [esi + 0x2c], ecx
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x58]
mov dword [esi + 0x38], ecx
mov ebx, dword [eax + 0xf8]
mov eax, dword [eax + 0xf4]
xor ebp, ebp
cmp ebx, eax
jge 0x403e0d
mov ecx, dword [esi + 0x58]
push ebx
call fcn.0048f220
mov edx, dword [esi + 0x58]
inc ebx
add ebp, eax
cmp ebx, dword [edx + 0xf4]
jl 0x403df6
mov eax, dword [esi + 0x24]
sub eax, dword [esi + 0x1c]
cmp eax, ebp
jle 0x403e39
mov eax, dword [esi + 0x24]
sub eax, dword [esi + 0x1c]
sub eax, ebp
cdq
sub eax, edx
sar eax, 1
add dword [esi + 0x2c], eax
mov eax, dword [esi + 0x24]
sub eax, dword [esi + 0x1c]
sub eax, ebp
cdq
sub eax, edx
sar eax, 1
neg eax
add dword [esi + 0x34], eax
mov eax, dword [esi + 4]
cmp eax, edi
je 0x403e4c
push eax
call fcn.004a1cdb
add esp, 4
mov dword [esi + 4], edi
mov ecx, dword [esi + 0x54]
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
call fcn.004051d0
mov eax, dword [esi + 0x58]
mov ebx, dword [eax + 0xf0]
mov eax, dword [eax + 0xec]
mov ebp, ebx
cmp ebp, eax
jge 0x403f3d
mov eax, dword [esi + 0x38]
sub eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x58]
push ebp
mov dword [esp + 0x18], eax
call fcn.0048f1f0
add eax, edi
cmp eax, dword [esp + 0x14]
jle 0x403f22
mov edi, dword [esi + 8]
test edi, edi
jl 0x403f47
push 0xffffffffffffffff
lea ecx, [edi + 1]
push ecx
mov ecx, esi
call fcn.006112d0
mov eax, dword [esi + 4]
lea edx, [edi + edi*2]
mov dword [eax + edx*4], ebx
lea eax, [eax + edx*4]
lea ecx, [ebp - 1]
mov dword [eax + 4], ecx
xor ecx, ecx
mov dword [eax + 8], ecx
mov edi, dword [esi + 0x28]
mov ebx, dword [esi + 0x24]
sub edi, dword [esi + 0x20]
sub ebx, dword [esi + 0x1c]
call fcn.004a4b4e
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x20]
mov ecx, dword [eax + 0xadc]
push ecx
call dword [0x68a7d8]
push eax
call fcn.004a5609
mov ecx, dword [esi + 0x58]
mov edx, dword [ecx + 0x50c]
push edx
mov dword [esp + 0x18], eax
call fcn.00440d40
push eax
sub esp, 0x10
mov eax, esp
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x54]
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edi
mov eax, dword [esp + 0x28]
push eax
call fcn.00405230
mov ebx, ebp
xor edi, edi
mov ecx, dword [esi + 0x58]
push ebp
call fcn.0048f1f0
mov ecx, dword [esi + 0x58]
inc ebp
add edi, eax
cmp ebp, dword [ecx + 0xec]
jl 0x403e73
lea edi, [ebp - 1]
mov ebp, dword [esi + 8]
test ebp, ebp
jge 0x403f4c
call fcn.004a1df9
push 0xffffffffffffffff
lea edx, [ebp + 1]
push edx
mov ecx, esi
call fcn.006112d0
mov ecx, dword [esi + 4]
lea eax, [ebp + ebp*2]
lea eax, [ecx + eax*4]
mov dword [eax], ebx
mov dword [eax + 4], edi
xor ecx, ecx
mov dword [eax + 8], ecx
mov ebx, dword [esi + 0x28]
mov ebp, dword [esi + 0x24]
sub ebx, dword [esi + 0x20]
sub ebp, dword [esi + 0x1c]
xor edi, edi
mov dword [esp + 0x24], edi
call fcn.004a4b4e
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x20]
mov edx, dword [eax + 0xadc]
push edx
call dword [0x68a7d8]
push eax
call fcn.004a5609
mov ecx, dword [esi + 0x58]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0x50c]
push eax
call fcn.00440d40
mov edx, dword [esp + 0x14]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov ecx, edi
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x54]
mov dword [eax + 8], ebp
push edx
mov dword [eax + 0xc], ebx
call fcn.00405230
lea ecx, [esp + 0x18]
mov dword [esi + 0x18], 1
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x18], 0x68b294
call fcn.004037e0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret