Function at 0x47abe0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4629ea
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x10c0
call fcn.00495920
mov eax, dword [0x48d640]
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov ecx, 0x48d640
mov dword [esp + 0x24], ebx
call dword [eax + 0xc]
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
mov edx, dword [0x48d640]
mov ecx, 0x48d640
mov dword [esp + 0x10dc], 0
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x2c], eax
xor eax, eax
mov ecx, 0x27
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
mov edi, dword [fcn.00464320]
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x10e0], 1
mov dword [esp + 0x34], 0x9c
call edi
mov esi, eax
test esi, esi
jne 0x47aca7
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x34], 0x94
call edi
test eax, eax
jne 0x47aca7
mov byte [esp + 0x10dc], al
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x47b56e
mov eax, dword [esp + 0x40]
cmp eax, 2
mov edi, dword [0x464020]
jne 0x47af27
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x466428
call fcn.0046a990
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x466414
mov byte [esp + 0x10e8], 2
call fcn.0046a990
mov ecx, ebx
mov byte [esp + 0x10e4], 1
call fcn.0047a990
test esi, esi
je 0x47ae68
mov ecx, dword [esp + 0x34]
cmp ecx, 5
jb 0x47ae68
mov al, byte [esp + 0xca]
cmp al, 1
je 0x47adf0
jbe 0x47af12
cmp al, 3
ja 0x47af12
cmp dword [esp + 0x38], 2
jne 0x47ad9f
mov eax, dword [esp + 0xc8]
test ah, 4
je 0x47ad4e
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov esi, 0x47d738
jmp 0x47afac
mov al, byte [esp + 0xc8]
test al, al
jns 0x47ad6f
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov esi, 0x47d6e8
jmp 0x47afac
test al, 2
je 0x47ad89
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov esi, 0x47d698
jmp 0x47afac
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov esi, 0x47d648
jmp 0x47afac
mov al, byte [esp + 0xc8]
test al, al
jns 0x47adc0
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov esi, 0x47d604
jmp 0x47afac
test al, 2
je 0x47adda
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov esi, 0x47d5c8
jmp 0x47afac
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov esi, 0x47d5a0
jmp 0x47afac
cmp ecx, 6
jne 0x47ae20
mov eax, dword [esp + 0xc8]
test ah, 2
mov esi, 0x47d564
je 0x47af16
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov esi, 0x47d528
jmp 0x47afac
cmp dword [esp + 0x38], 1
jne 0x47ae52
mov eax, dword [esp + 0xc8]
test ah, 2
mov esi, 0x47d4f8
je 0x47af16
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov esi, 0x47d4c8
jmp 0x47afac
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov esi, 0x47d494
jmp 0x47afac
lea eax, [esp + 0x10]
push eax
push 1
push 0
push 0x4663e4
push 0x80000002
mov dword [esp + 0x28], 0x1000
call dword [0x464024]
test eax, eax
jne 0x47aefc
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0xd4]
push edx
push eax
push eax
mov eax, dword [esp + 0x20]
push 0x4663d8
push eax
call edi
mov ecx, dword [esp + 0x10]
push ecx
mov esi, eax
call dword [0x464028]
test esi, esi
jne 0x47aefc
push 0x4663d0
lea edx, [esp + 0xd4]
push edx
call dword [0x464308]
test eax, eax
jne 0x47aee6
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov esi, 0x47d464
jmp 0x47afac
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov esi, 0x47d440
jmp 0x47afac
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov esi, 0x47d428
jmp 0x47afac
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
jmp 0x47afac
cmp eax, 1
jne 0x47b552
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x4663c0
call fcn.0046a990
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x466414
mov byte [esp + 0x10e8], 3
call fcn.0046a990
mov ecx, ebx
mov byte [esp + 0x10e4], 1
call fcn.0047a990
mov eax, dword [esp + 0x34]
cmp eax, 4
mov ecx, dword [esp + 0x38]
ja 0x47af83
jne 0x47af7c
test ecx, ecx
ja 0x47af83
mov esi, 0x47d410
jmp 0x47afa7
cmp ecx, 0x5a
jae 0x47afa2
cmp byte [esp + 0x45], 0x41
jne 0x47af9b
mov byte [esp + 0x44], 0
mov esi, 0x47d3dc
jmp 0x47afa7
mov esi, 0x47d3c4
jmp 0x47afa7
mov esi, 0x47d3ac
movzx ebp, word [esp + 0x3c]
push ecx
push eax
lea eax, [esp + 0x24]
push 0x4663b4
push eax
call fcn.0046a310
add esp, 0xc
mov ecx, esp
mov dword [esp + 0x1c], esp
push esi
call fcn.0046a990
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x464ff8
mov byte [esp + 0x10e8], 4
call fcn.0046a990
mov ecx, ebx
mov byte [esp + 0x10e4], 1
call fcn.0047a990
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x47b03b
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.004696e0
add eax, 0x10
mov dword [esi], eax
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x46639c
mov byte [esp + 0x10e8], 5
call fcn.0046a990
mov ecx, ebx
mov byte [esp + 0x10e4], 1
call fcn.0047a990
mov dl, byte [esp + 0x44]
mov cl, 0x20
xor eax, eax
cmp dl, cl
jne 0x47b05e
cmp eax, 0x80
jae 0x47b09f
mov dl, byte [esp + eax + 0x45]
inc eax
cmp dl, cl
je 0x47b047
cmp eax, 0x80
jae 0x47b09f
mov cl, byte [esp + eax + 0x44]
test cl, cl
je 0x47b09f
push ecx
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.0047a2c0
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x46637c
mov byte [esp + 0x10e8], 6
call fcn.0046a990
mov ecx, ebx
mov byte [esp + 0x10e4], 1
call fcn.0047aa40
push ebp
lea eax, [esp + 0x20]
push 0x466374
push eax
call fcn.0046a310
mov esi, dword [esp + 0x28]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
add esi, 0xfffffff0
add esp, 8
mov dword [esp + 0x1c], esp
mov ebp, esp
call dword [edx + 0x10]
mov edx, dword [esi + 0xc]
test edx, edx
lea ecx, [esi + 0xc]
jl 0x47b0e2
cmp eax, dword [esi]
jne 0x47b0e2
mov eax, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x47b11d
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 2
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
jne 0x47b0f7
jmp fcn.00468620
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
add ecx, ecx
mov edx, ecx
shr ecx, 2
add esi, 0x10
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [0x464020]
add eax, 0x10
mov dword [ebp], eax
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x465010
mov byte [esp + 0x10e8], 7
call fcn.0046a990
mov ecx, ebx
mov byte [esp + 0x10e4], 1
call fcn.0047a990
lea eax, [esp + 0x10]
push eax
push 1
push 0
push 0x46634c
push 0x80000002
mov dword [esp + 0x28], 0x1000
call dword [0x464024]
test eax, eax
jne 0x47b1d8
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0xd4]
push edx
push eax
push eax
mov eax, dword [esp + 0x20]
push 0x466344
push eax
call edi
mov ecx, dword [esp + 0x10]
push ecx
mov esi, eax
call dword [0x464028]
test esi, esi
jne 0x47b1d8
push ecx
lea edx, [esp + 0xd4]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.0047a2c0
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x465030
mov byte [esp + 0x10e8], 8
call fcn.0046a990
mov ecx, ebx
mov byte [esp + 0x10e4], 1
call fcn.0047aa40
lea eax, [esp + 0x10]
push eax
push 1
push 0
push 0x466308
push 0x80000001
call dword [0x464024]
test eax, eax
jne 0x47b46f
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0xd4]
push edx
push eax
push eax
mov eax, dword [esp + 0x20]
push 0x4662fc
mov esi, 0x1000
push eax
mov dword [esp + 0x2c], esi
call edi
test eax, eax
jne 0x47b25d
push ecx
lea edx, [esp + 0xd4]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.0047a2c0
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x4662e0
mov byte [esp + 0x10e8], 9
call fcn.0046a990
mov ecx, ebx
mov byte [esp + 0x10e4], 1
call fcn.0047aa40
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push 0
push 0x4662d4
push edx
mov dword [esp + 0x2c], 4
call edi
test eax, eax
jne 0x47b2b0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x47b2b0
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xd4]
push ecx
push 0
push 0
push 0x4662c8
push edx
mov dword [esp + 0x2c], esi
call edi
mov esi, eax
jmp 0x47b2b3
or esi, 0xffffffff
mov eax, dword [esp + 0x10]
push eax
call dword [0x464028]
test esi, esi
jne 0x47b46f
mov al, byte [esp + 0xd0]
test al, al
lea ebp, [esp + 0xd0]
je 0x47b46f
lea esp, [esp]
cmp byte [ebp], 0
mov esi, ebp
je 0x47b3fd
lea esp, [esp]
cmp byte [ebp], 0x3d
je 0x47b2fe
mov al, byte [ebp + 1]
inc ebp
test al, al
jne 0x47b2f0
cmp byte [ebp], 0
je 0x47b3fd
push 0x4662b4
call fcn.004965ad
add esp, 4
push eax
push 0x4662b4
lea ecx, [esp + 0x24]
call fcn.00469d10
mov byte [ebp], 0
push esi
lea ecx, [esp + 0x20]
inc ebp
call fcn.0047a470
cmp byte [ebp], 0
mov eax, ebp
je 0x47b425
nop
cmp byte [ebp], 0x3b
je 0x47b34e
mov cl, byte [ebp + 1]
inc ebp
test cl, cl
jne 0x47b340
cmp byte [ebp], 0
je 0x47b425
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
mov byte [ebp], 0
push eax
inc ebp
call fcn.0047a2c0
mov esi, dword [esp + 0x20]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
add esi, 0xfffffff0
mov byte [esp + 0x10e4], 0xb
mov dword [esp + 0x20], esp
mov ebx, esp
call dword [edx + 0x10]
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea edx, [esi + 0xc]
jl 0x47b3a3
cmp eax, dword [esi]
jne 0x47b3a3
mov eax, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x47b3d7
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 2
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x47b0f2
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
add ecx, ecx
mov edx, ecx
shr ecx, 2
add esi, 0x10
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x2c]
add eax, 0x10
mov dword [ebx], eax
mov byte [esp + 0x10e4], 1
call fcn.0047aa40
cmp byte [ebp], 0
jne 0x47b2e0
mov ebx, dword [esp + 0x24]
jmp 0x47b469
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push esi
call fcn.0047a2c0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4662a0
mov byte [esp + 0x10e8], 0xa
call fcn.0046a990
jmp 0x47b456
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0047a2c0
mov eax, dword [esp + 0x20]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov esi, esp
push eax
mov byte [esp + 0x10e8], 0xc
call fcn.004696e0
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov ebx, dword [esp + 0x2c]
mov ecx, ebx
mov byte [esp + 0x10e4], 1
call fcn.0047aa40
mov edi, dword [0x464020]
lea eax, [esp + 0x10]
push eax
push 1
push 0
push 0x466280
push 0x80000002
mov dword [esp + 0x28], 0x1000
call dword [0x464024]
test eax, eax
jne 0x47b523
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0xd4]
push edx
push eax
push eax
mov eax, dword [esp + 0x20]
push 0x466270
push eax
call edi
mov esi, eax
test esi, esi
je 0x47b4d8
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0xd4]
push edx
push 0
push 0
push 0x466344
push eax
call edi
mov esi, eax
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x464028]
test esi, esi
jne 0x47b523
push ecx
lea edx, [esp + 0xd4]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.0047a2c0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x466258
mov byte [esp + 0x10e8], 0xd
call fcn.0046a990
mov ecx, ebx
mov byte [esp + 0x10e4], 1
call fcn.0047aa40
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x10dc], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47b549
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
jmp 0x47b57b
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x10dc], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47b578
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov dword [esp + 0x10dc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47b59d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x10d4]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret