Function at 0x47a410
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d5510
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.0040b840
xor ebx, ebx
mov dword [esp + 0x60], ebx
push 0x692fe8
push 0x694458
lea edx, [esp + 0x30]
push edx
call fcn.0040ba70
mov edi, dword [ebp + 0x10]
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x1c], ebx
je 0x47a97b
lea ebx, [ebx]
mov esi, dword [esp + 0x28]
mov eax, ebx
call fcn.0048ddc0
xor ecx, ecx
test esi, esi
setne cl
test ecx, ecx
je 0x47a9b6
mov eax, dword [eax]
push esi
push eax
call fcn.00593c0f
add esp, 8
test eax, eax
jne 0x47a955
xor esi, esi
mov eax, ebx
mov dword [esp + 0x24], esi
call fcn.0048ddc0
mov ecx, dword [eax + 0x14]
sub ecx, dword [eax + 0x10]
add eax, 4
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x47a955
mov dword [esp + 0x18], esi
mov edi, edi
mov eax, ebx
call fcn.0048ddc0
mov ecx, eax
mov edx, dword [ecx + 0x14]
sub edx, dword [ecx + 0x10]
add ecx, 4
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x2c], ecx
cmp esi, eax
jb 0x47a523
call fcn.0059471a
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 0xc]
mov edx, dword [esp + 0x18]
cmp dword [edx + ecx], 1
je 0x47a574
mov eax, ebx
call fcn.0048ddc0
mov ecx, eax
mov edx, dword [ecx + 0x14]
sub edx, dword [ecx + 0x10]
add ecx, 4
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x2c], ecx
cmp esi, eax
jb 0x47a563
call fcn.0059471a
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 0xc]
mov edx, dword [esp + 0x18]
cmp dword [edx + ecx], 4
jne 0x47a923
mov eax, ebx
call fcn.0048ddc0
mov ebx, eax
mov ecx, dword [ebx + 0x14]
sub ecx, dword [ebx + 0x10]
add ebx, 4
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x47a59f
call fcn.0059471a
mov ebx, dword [ebx + 0xc]
add ebx, dword [esp + 0x18]
mov ebx, dword [ebx + 4]
mov ecx, dword [ebx - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub ebx, 0x10
call eax
cmp dword [ebx + 0xc], 0
lea ecx, [ebx + 0xc]
jl 0x47a5ce
cmp eax, dword [ebx]
jne 0x47a5ce
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x47a60f
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov dword [esp + 0x2c], eax
test eax, eax
je 0x47a9c0
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [ebx + 4]
lea edx, [ecx + ecx + 2]
push edx
add ebx, 0x10
push ebx
lea ecx, [ecx + ecx + 2]
push ecx
add eax, 0x10
push eax
call fcn.005947c0
mov ebx, dword [esp + 0x3c]
add esp, 0x10
add ebx, 0x10
mov dword [esp + 0x14], ebx
mov byte [esp + 0x60], 2
mov eax, dword [esp + 0x1c]
call fcn.0048ddc0
mov ebx, eax
mov ecx, dword [ebx + 0x14]
sub ecx, dword [ebx + 0x10]
add ebx, 4
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x47a648
call fcn.0059471a
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + ecx + 8]
cmp dword [eax - 0xc], 0
je 0x47a761
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x38]
push edx
mov ebx, 0x6994ac
call fcn.004176f0
add esp, 8
mov ebx, eax
mov byte [esp + 0x60], 3
mov eax, dword [esp + 0x1c]
call fcn.0048ddc0
mov edi, eax
mov ecx, dword [edi + 0x14]
sub ecx, dword [edi + 0x10]
add edi, 4
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x47a6a8
call fcn.0059471a
mov edi, dword [edi + 0xc]
add edi, dword [esp + 0x18]
lea ecx, [esp + 0x30]
add edi, 8
push edi
push ecx
call fcn.0041c9d0
add esp, 8
mov byte [esp + 0x60], 4
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x47a717
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x47a70a
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x47a70a
call fcn.0040f770
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x47a701
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x14], ebx
jmp 0x47a717
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.0040f6d0
mov byte [esp + 0x60], 3
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47a73c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x60], 2
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47a761
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x47a78c
cmp eax, dword [esi]
jne 0x47a78c
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x47a7c7
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x47a9c0
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.005947c0
add esp, 0x10
add edi, 0x10
mov dword [esp + 0x20], edi
mov byte [esp + 0x60], 8
mov esi, dword [edi - 0xc]
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x47a7f6
mov ecx, esi
lea eax, [esp + 0x20]
call fcn.004121d0
mov edi, dword [esp + 0x20]
lea ecx, [esi + 1]
push ecx
push edi
call fcn.00594468
add esp, 8
test esi, esi
jl 0x47a9c5
cmp esi, dword [edi - 8]
jg 0x47a9c5
mov dword [edi - 0xc], esi
xor edx, edx
mov word [edi + esi*2], dx
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xd8]
mov ecx, dword [esi + 0xc0]
add esi, 0xc0
lea edx, [esp + 0x20]
mov dword [esp + 0x3c], eax
push edx
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x40], ecx
call fcn.004394e0
mov ebx, eax
mov eax, dword [ebx]
test eax, eax
je 0x47a857
cmp eax, dword [esp + 0x38]
je 0x47a85c
call fcn.0059471a
mov ecx, dword [esp + 0x3c]
cmp dword [ebx + 4], ecx
jne 0x47a8d2
lea edx, [esp + 0x20]
push edx
push esi
lea ebx, [esp + 0x50]
call fcn.0041d270
mov eax, dword [esp + 0x1c]
mov edi, dword [ebp + 0x10]
call fcn.0048ddc0
mov esi, eax
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
add esi, 4
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x24], eax
jb 0x47a8a6
call fcn.0059471a
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x18]
cmp dword [edx + ecx], 4
jne 0x47a8c2
push str._x64_
lea eax, [esp + 0x18]
push eax
call fcn.004379c0
mov edi, dword [ebp + 0x14]
lea ebx, [esp + 0x14]
call fcn.0041ce00
mov edi, dword [esp + 0x20]
mov byte [esp + 0x60], 2
add edi, 0xfffffff0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47a8f3
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [esp + 0x60], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47a918
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
mov edi, dword [ebp + 0x10]
add dword [esp + 0x18], 0xc
inc esi
mov eax, ebx
mov dword [esp + 0x24], esi
call fcn.0048ddc0
mov ecx, dword [eax + 0x14]
sub ecx, dword [eax + 0x10]
add eax, 4
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp esi, ecx
jb 0x47a4f0
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
mov dword [esp + 0x1c], ebx
cmp ebx, eax
jb 0x47a490
mov dword [esp + 0x60], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47a9a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403d10
call fcn.0040f590
push 0x80070057
call fcn.00403d10
int3