Function at 0x477100
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x626dc2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov al, byte [esp + 3]
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0xc
mov dword [esp + 0x20], esi
mov byte [esi + 0x3c0], al
call fcn.00613321
xor ebx, ebx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x3c4], eax
mov dword [esi + 0x3c8], ebx
mov cl, byte [esp + 0x17]
push 0xc
mov dword [esp + 0x40], ebx
mov byte [esi + 0x3cc], cl
call fcn.00613321
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x3d0], eax
mov dword [esi + 0x3d4], ebx
mov dl, byte [esp + 0x1b]
push 0xc
mov byte [esp + 0x44], 1
mov byte [esi + 0x3d8], dl
call fcn.00613321
mov dword [eax], eax
mov dword [eax + 4], eax
add esp, 0xc
mov dword [esi + 0x3dc], eax
mov dword [esi + 0x3e0], ebx
mov al, byte [esp + 0x13]
mov dword [esi + 0x418], ebx
mov byte [esi + 0x414], al
mov dword [esi + 0x41c], ebx
mov dword [esi + 0x420], ebx
mov cl, byte [esp + 0x13]
lea ebp, [esi + 0x430]
mov byte [ebp], cl
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x2c], ebx
mov dl, byte [esp + 0x13]
lea edi, [esi + 0x460]
mov byte [edi], dl
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov byte [esp + 0x38], 5
mov dword [esi + 0x4d8], ebx
mov dword [esi + 0x4cc], ebx
mov dword [esi + 0x4d0], ebx
mov dword [esi + 0x4dc], ebx
lea eax, [esi + 0x4e0]
mov ecx, 0x22
mov dword [eax + 0xc], ebx
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 0x10], ebx
add eax, 0x14
dec ecx
jne 0x47721d
lea eax, [esi + 0x7a8]
mov dword [esp + 0x18], 3
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
call fcn.00477f00
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add ecx, 8
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
jne 0x477240
lea ecx, [esi + 0x7c0]
mov dword [esp + 0x18], 2
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x14]
call fcn.00477eb0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add ecx, 0xc
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
jne 0x477271
lea ecx, [esi + 0x7d8]
call fcn.00477ed0
mov dl, byte [esp + 0x13]
mov dword [esi + 0x798], 0xffffffff
mov dword [esi + 0x79c], 1
mov dword [esi + 0x7a0], ebx
mov dword [esi + 0x7a4], ebx
push 0xc
mov byte [esi + 0x824], dl
call fcn.00613321
mov dword [eax], eax
mov dword [eax + 4], eax
add esp, 4
mov dword [esi + 0x828], eax
mov dword [esi + 0x82c], ebx
mov eax, 1
mov byte [esp + 0x38], 6
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x278], ebx
call fcn.005a44e0
mov dword [esi + 0x20], eax
mov dword [esi + 0xc8], ebx
mov word [esi + 0xb6], 2
mov word [esi + 0x80e], bx
mov dword [esi + 0x254], ebx
mov dword [esi + 0xc0], ebx
mov byte [esi + 0x4a0], bl
mov byte [esi + 0x4a3], bl
mov byte [esi + 0x4a2], bl
mov byte [esi + 0x4a1], bl
mov dword [esi + 0x488], ebx
mov dword [esi + 0x48c], ebx
mov dword [esi + 0x268], ebx
mov dword [esi + 0x26c], ebx
mov dword [esi + 0x334], ebx
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
cmp eax, eax
mov dword [esp + 0x18], eax
je 0x477376
mov edx, dword [eax]
add eax, 4
mov dword [ecx], edx
mov edx, dword [esp + 0x18]
add ecx, 4
cmp eax, edx
jne 0x477364
mov eax, dword [edi + 8]
mov dword [edi + 8], ecx
mov dword [esp + 0x18], eax
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x477394
mov ecx, dword [edi + 0xc]
sub ecx, eax
sar ecx, 2
cmp ecx, 8
jae 0x4773f3
push 0x20
call fcn.00613321
mov edx, dword [edi + 8]
add esp, 4
mov dword [esp + 0x18], eax
mov ecx, edi
push eax
mov eax, dword [edi + 4]
push edx
push eax
call fcn.00478050
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
push ecx
push edx
mov ecx, edi
call fcn.004e2bb0
mov eax, dword [edi + 4]
push eax
call fcn.006066eb
mov edx, dword [esp + 0x1c]
add esp, 4
lea ecx, [edx + 0x20]
mov dword [edi + 0xc], ecx
mov ecx, dword [edi + 4]
cmp ecx, ebx
jne 0x4773e2
xor eax, eax
jmp 0x4773ea
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
lea eax, [edx + eax*4]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
lea ecx, [ebp + 0x14]
sub esp, 0x10
mov dword [esi + 0x470], ebx
mov dword [esi + 0x42c], ebx
mov eax, dword [ecx]
mov edx, esp
sub esp, 0x10
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx + 8], eax
mov eax, esp
mov dword [edx + 0xc], ecx
lea edx, [ebp + 4]
mov ecx, dword [ebp + 4]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, ebp
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
lea eax, [esp + 0x40]
push eax
call fcn.0045a780
xor ecx, ecx
mov word [esi + 0x80c], bx
mov dword [esi + 0x4cc], ecx
xor eax, eax
mov dword [esi + 0x4d0], ecx
lea edi, [esi + 0x4e0]
mov dword [esi + 0x4d4], ecx
mov edx, 5
mov dword [esi + 0x4d8], ecx
mov dword [esi + 0x4dc], ecx
mov ecx, 0xaa
rep stosd dword es:[edi], eax
mov ecx, 6
lea edi, [esi + 0x390]
rep stosd dword es:[edi], eax
mov dword [esi + 0x490], edx
mov dword [esi + 0x258], ebx
mov dword [esi + 0x428], ebx
mov dword [esi + 0x7ec], ebx
mov byte [esi + 0x7f4], bl
mov dword [esi + 0x494], ebx
mov dword [esi + 0x3e4], ebx
mov dword [esi + 0x3e8], ebx
mov dword [esi + 0x3ec], ebx
mov dword [esi + 0x25c], ebx
mov dword [esi + 0x264], ebx
mov dword [esi + 0x378], ebx
mov dword [esi + 0x250], ebx
lea ecx, [esi + 0x290]
lea eax, [esi + 0x27c]
mov dword [eax + 0xa4], ebx
mov dword [eax], ebx
mov word [ecx], bx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x48], ebx
mov dword [eax + 0x34], ebx
mov dword [eax + 0x5c], ebx
mov dword [eax + 0x90], ebx
add ecx, 2
add eax, 4
dec edx
jne 0x4774ea
lea eax, [esi + 0x13c]
xor edx, edx
mov dword [esi + 0x308], ebx
mov dword [esi + 0x2ec], ebx
mov dword [esi + 0x2f0], ebx
mov word [esi + 0x2f4], bx
mov dword [esi + 0x2f8], ebx
mov dword [esi + 0x300], ebx
mov dword [esi + 0x2fc], ebx
mov dword [esi + 0x304], ebx
mov dword [esi + 0x150], ebx
mov dword [esi + 0x818], ebx
mov dword [esi + 0x81c], ebx
mov word [esi + 0x820], bx
mov dword [esi + 0x260], ebx
mov word [esi + 0x810], bx
mov word [esi + 0x812], bx
mov dword [esi + 0x830], ebx
mov dword [esi + 0x138], ebx
mov dword [esi + 0x814], ebx
mov dword [eax], edx
mov ecx, dword [esp + 0x30]
pop edi
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov word [eax + 0x10], dx
mov byte [eax + 0x12], dl
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x9e0], ebx
mov dword [esi + 0xf0], ebx
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret