Function at 0x477127
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10074937
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x164
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x50]
mov eax, dword [esi + 0x10]
push eax
call fcn.0043cfa7
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0x10]
xor ebx, ebx
push ecx
push edx
mov dword [esp + 0x184], ebx
call dword [0x1007567c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
neg eax
neg ecx
push eax
lea eax, [esp + 0x14]
push ecx
push eax
call dword [0x10075790]
lea ecx, [esp + 0x20]
call fcn.00478b49
mov edi, dword [esp + 0x54]
lea eax, [esp + 0x50]
neg eax
sbb eax, eax
mov byte [esp + 0x17c], 1
and eax, edi
push eax
call dword [0x10075054]
push eax
lea ecx, [esp + 0x24]
call fcn.00478b43
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], 0x10075964
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
sub eax, ebp
sub ecx, edi
push eax
push ecx
mov ecx, dword [esp + 0x5c]
mov byte [esp + 0x184], 2
push ecx
call dword [0x10075068]
push eax
lea ecx, [esp + 0x34]
call fcn.00478b1f
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x30]
neg eax
sbb eax, eax
and eax, ecx
push eax
push edx
call fcn.00478b3d
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x10]
push 0xff00ff
push eax
lea ecx, [esp + 0x28]
call fcn.00478b37
mov ebp, dword [esi + 0x60]
xor ecx, ecx
cmp ebp, ebx
lea eax, [esp + 0x20]
sete cl
neg eax
mov ebp, ecx
sbb eax, eax
mov edx, dword [esp + 0x24]
mov ecx, dword [esi + 0x18c]
and eax, edx
lea edx, [ebp + ebp*4]
push ebx
push 0xff00ff
lea edi, [ebp + edx*8]
shl edi, 3
lea edx, [ecx + edi + 0xcc8]
lea ecx, [esp + 0x18]
push edx
push ecx
push eax
call fcn.0043e527
mov edx, dword [esi + 0x18c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
mov edi, dword [edx + edi + 0xde8]
mov dword [esp + 0x78], eax
add edi, eax
mov eax, ecx
sub eax, ebx
add esp, 0x14
sub eax, 0x10
cdq
sub eax, edx
sar eax, 1
add ebx, eax
lea eax, [esi + 0x2ec]
mov edx, eax
mov eax, dword [esp + 0x18]
mov dword [edx], edi
mov dword [edx + 4], ebx
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov eax, dword [esi + 0x2ec]
mov ecx, dword [esi + 0x2f0]
add eax, 0x10
mov dword [esi + 0x2f4], eax
mov eax, dword [esi + 0x188]
add ecx, 0x10
test eax, eax
mov dword [esi + 0x2f8], ecx
jne 0x4772ea
mov edx, dword [esi + 0x10]
push edx
call fcn.0043e377
add esp, 4
mov dword [esi + 0x188], eax
mov ecx, dword [esi + 0x188]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x20]
push 3
push 0
push 0
neg eax
push 0x10
push 0x10
sbb eax, eax
push ecx
and eax, edx
push ebx
push edi
push eax
call dword [0x10075620]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], eax
add edi, 0x11
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0x10]
lea eax, [esp + 0x74]
mov dword [esp + 0x40], edi
push 0xff
add edi, 0x55
push eax
push ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], edi
call dword [0x10075698]
mov edi, dword [esi + 0x18c]
test ebp, ebp
je 0x477366
add edi, 0xfe0
jmp 0x47736c
add edi, 0xf98
lea edx, [esp + 0x74]
lea ecx, [esp + 0x38]
push edx
call fcn.00478ab3
mov ecx, dword [esi + 0x18c]
mov ebp, dword [esp + 0x24]
lea eax, [esp + 0x20]
push 0
neg eax
sbb eax, eax
push 0
add ecx, 0xf58
push edi
push ecx
lea edx, [esp + 0x50]
lea ecx, [esp + 0x48]
and eax, ebp
push edx
push ecx
mov ecx, dword [0x10091710]
push eax
mov byte [esp + 0x198], 3
call fcn.0040fc17
lea ecx, [esp + 0x38]
mov byte [esp + 0x17c], 2
call fcn.00478aa1
mov ebx, dword [esp + 0x24]
mov edx, dword [esi + 0x2b4]
lea eax, [esp + 0x20]
push 0
neg eax
sbb eax, eax
push 0x1d
lea ecx, [esp + 0x18]
and eax, ebx
push edx
push ecx
lea edx, [esp + 0x74]
push eax
push edx
mov ecx, esi
call fcn.0046eec7
mov edx, dword [eax]
lea ecx, [esi + 0x2bc]
mov ebp, dword [esp + 0x24]
push 0
mov dword [ecx], edx
mov edx, dword [eax + 4]
push 0x1e
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x18]
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x2b0]
lea eax, [esp + 0x28]
push ecx
neg eax
sbb eax, eax
push edx
and eax, ebp
mov ecx, esi
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0046eec7
mov edx, dword [eax]
lea ecx, [esi + 0x2cc]
mov dword [esi + 0x2cc], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov edx, dword [esp + 0x24]
mov dword [ecx + 0xc], eax
lea eax, [esp + 0x20]
neg eax
sbb eax, eax
mov ecx, dword [esi + 0x2b8]
and eax, edx
push 0
push 0x1f
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x78]
mov ecx, esi
push eax
call fcn.0046eec7
mov ecx, dword [eax]
add esi, 0x2dc
mov edi, dword [esp + 0x24]
push 0xffffffffffffffff
mov dword [esi], ecx
mov edx, dword [eax + 4]
push 0xcc0020
push 0
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
push 0
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x30]
lea ecx, [esp + 0x60]
neg eax
sbb eax, eax
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x64]
and eax, edi
neg ecx
sbb ecx, ecx
mov esi, dword [esp + 0x28]
and ecx, edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x28]
sub edx, eax
push edx
mov edx, dword [esp + 0x28]
sub esi, edx
push esi
push eax
push edx
push ecx
call fcn.0043e017
mov eax, dword [esp + 0x64]
add esp, 0x28
test eax, eax
pop edi
pop esi
pop ebp
pop ebx
je 0x4774fa
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x18]
push eax
call fcn.00478b3d
mov dword [esp + 0x20], 0x100758b0
lea ecx, [esp + 0x20]
mov byte [esp + 0x16c], 4
call fcn.00478ae3
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0x10075898
mov byte [esp + 0x16c], 0
call fcn.00478b2b
lea ecx, [esp + 0x40]
mov dword [esp + 0x16c], 0xffffffff
call fcn.0043d037
mov ecx, dword [esp + 0x164]
mov dword fs:[0], ecx
add esp, 0x170
ret