Function at 0x47f1e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov esi, esp
mov dword [esi + 0x88], ebp
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x90]
mov dword [eax - 4], esp
xor edx, edx
dec edx
mov dword [eax + 8], edx
mov dword [eax + 4], 0x4199b0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
lea ecx, [esi + 0x20]
mov dword [ecx + 0x60], edx
pcmpeqd xmm0, xmm0
movdqa xmmword [ecx + 0x50], xmm0
movdqa xmmword [ecx + 0x40], xmm0
movdqa xmmword [ecx + 0x30], xmm0
movdqa xmmword [ecx + 0x20], xmm0
movdqa xmmword [ecx + 0x10], xmm0
movdqa xmmword [ecx], xmm0
mov dword [esi + 8], ecx
mov dword [esi + 0x18], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0xc], fcn.00472860
mov dword [esi + 0x14], edx
mov dword [eax + 8], 1
lea eax, [esi + 4]
mov dword [eax], edx
push eax
call fcn.004323e0
mov dword [esi + 0x98], 2
lea ecx, [esi + 4]
push 0x4bae14
call fcn.00432d50
mov dword [esi + 0x10], eax
mov al, byte [ebp + 0x14]
lea edx, [esi + 0x84]
lea ecx, [esi + 3]
mov byte [ecx], 0
lea edi, [esi + 0x14]
lea ebx, [esi + 8]
movzx eax, al
push edx
push edi
push ebx
push dword [esi + 0x10]
push ecx
push dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
push dword [ecx + 4]
lea ecx, [esi + 4]
push ecx
push eax
push dword [esi + 0x1c]
lea eax, [ebp + 0xc]
push eax
call fcn.0047e3a0
add esp, 0x2c
test al, al
je 0x47f37a
mov ecx, dword [ebp + 0x20]
cmp byte [ecx + 0xb], 0
js 0x47f40c
xor eax, eax
mov byte [ecx], al
mov byte [ecx + 0xb], al
cmp byte [esi + 3], 0
je 0x47f31c
mov ebx, dword [esi + 0x10]
mov eax, dword [ebx]
mov edi, dword [eax + 0x1c]
mov dword [esi + 0x98], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [esi + 0x98], 2
mov ecx, ebx
push 0x2d
call edi
movsx eax, al
mov ecx, dword [ebp + 0x20]
push eax
call fcn.004337a0
mov ebx, dword [esi + 0x10]
mov eax, dword [ebx]
mov edi, dword [eax + 0x1c]
mov dword [esi + 0x98], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [esi + 0x98], 2
mov ecx, ebx
push 0x30
call edi
mov edx, dword [esi + 8]
mov edi, dword [esi + 0x14]
lea ecx, [edi - 1]
cmp edx, ecx
jae 0x47f366
mov ecx, edx
not ecx
add ecx, edi
lea ebx, [edx + ecx]
cmp byte [edx], al
jne 0x47f366
inc edx
dec ecx
jne 0x47f35c
mov edx, ebx
mov dword [esi + 0x98], 2
mov ecx, dword [ebp + 0x20]
push edi
push edx
call fcn.00416690
lea eax, [ebp + 0x10]
lea ecx, [ebp + 0xc]
push eax
call fcn.0042e660
mov ecx, dword [ebp + 8]
test al, al
je 0x47f393
mov eax, dword [ebp + 0x1c]
or byte [eax], 2
mov eax, dword [ebp + 0xc]
mov dword [ecx], eax
mov edi, dword [esi + 4]
xor eax, eax
dec eax
lock xadd dword [edi + 4], eax
test eax, eax
jne 0x47f3c2
mov eax, dword [edi]
mov ebx, dword [eax + 4]
mov dword [esi + 0x98], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
mov edi, dword [esi + 8]
mov dword [esi + 8], 0
test edi, edi
je 0x47f3f3
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x98], 0xffffffff
call dword [section..00cfg]
mov dword [esi + 0x98], 0
push edi
call ecx
add esp, 4
mov eax, dword [esi + 0x90]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c
mov eax, dword [ecx]
mov byte [eax], 0
mov dword [ecx + 4], 0
jmp 0x47f2e0