Function at 0x47f45e
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x532abd
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x58e700]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58e700]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [esp + 0xa0]
xor ecx, ecx
mov esi, dword [esp + 0x9c]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ecx
mov word [esp + 0x3c], ax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x94], ecx
mov ecx, ebp
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x48]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0x34], eax
call fcn.0047cc02
mov ecx, dword [ebp + 0x58]
mov edx, eax
sar edx, 0x10
mov edi, esi
movzx ebx, ax
shl ebx, 5
mov dword [esp + 0x28], eax
add ebx, dword [ecx + edx*4]
lea ecx, [edi + 2]
xor edx, edx
mov ax, word [edi]
add edi, 2
cmp ax, dx
jne 0x47f50e
sub edi, ecx
mov ecx, dword [esp + 0x1c]
sar edi, 1
test ecx, ecx
je 0x47f65e
cmp word [ecx], dx
je 0x47f65e
xor eax, eax
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], edx
mov word [esp + 0x54], ax
push ecx
mov eax, esp
mov byte [esp + 0x98], 1
mov dword [eax], ecx
lea ecx, [esp + 0x70]
call fcn.0047d03e
pop ecx
push eax
lea ecx, [esp + 0x58]
call fcn.00460810
push 0
push 1
lea ecx, [esp + 0x74]
call fcn.004510bf
mov esi, dword [esp + 0x64]
push 0x56ad30
call fcn.00450d65
pop ecx
push eax
push 0x56ad30
lea ecx, [esp + 0x44]
call fcn.00450cf8
push dword [esp + 0x18]
call fcn.00450d65
pop ecx
push eax
push dword [esp + 0x1c]
lea ecx, [esp + 0x44]
call fcn.00453f7f
push 0x56ad34
call fcn.00450d65
pop ecx
push eax
push 0x56ad34
lea ecx, [esp + 0x44]
call fcn.00453f7f
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x48]
call fcn.00453ee9
push 0x56ad38
call fcn.00450d65
pop ecx
push eax
push 0x56ad38
lea ecx, [esp + 0x44]
call fcn.00453f7f
push dword [esp + 0x18]
call fcn.00450d65
pop ecx
push eax
push dword [esp + 0x1c]
lea ecx, [esp + 0x44]
call fcn.00453f7f
push 0x56ad40
call fcn.00450d65
pop ecx
push eax
push 0x56ad40
lea ecx, [esp + 0x44]
call fcn.00453f7f
lea eax, [esi + 5]
lea eax, [eax + edi*2]
mov dword [ebx + 4], eax
lea ecx, [edi + 3]
mov eax, dword [ebx + 8]
and eax, 0x2fffff
shl ecx, 0x16
add eax, ecx
mov byte [esp + 0x94], 0
and eax, 0xffd00000
add eax, 2
add eax, edi
mov dword [ebx + 8], eax
push 0
push 1
lea ecx, [esp + 0x5c]
call fcn.004510bf
jmp 0x47f6bc
push 0x56ad18
call fcn.00450d65
pop ecx
push eax
push 0x56ad18
lea ecx, [esp + 0x44]
call fcn.00450cf8
push esi
call fcn.00450d65
pop ecx
push eax
push esi
lea ecx, [esp + 0x44]
call fcn.00453f7f
mov esi, 0x56ad28
push esi
call fcn.00450d65
pop ecx
push eax
push esi
lea ecx, [esp + 0x44]
call fcn.00453f7f
lea eax, [edi + 3]
mov dword [ebx + 4], eax
mov eax, dword [ebx + 8]
and eax, 0x100000
add eax, 3
add eax, edi
and eax, 0x2fffff
mov dword [ebx + 8], eax
lea eax, [esp + 0x2c]
mov ecx, ebp
push eax
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x28]
call fcn.0047efd0
mov ecx, dword [esp + 0x30]
mov esi, eax
mov edi, dword [esp + 0x28]
and dword [ebx + 0x14], 0
and dword [ebx + 0xc], 0
push edi
push dword [esp + 0x28]
mov dword [ebx], ecx
mov ecx, ebp
mov ebx, dword [esp + 0x28]
push ebx
call fcn.0047f747
mov eax, dword [esp + 0x4c]
push ecx
sub eax, esi
mov ecx, ebp
push eax
push edi
call fcn.0047eefb
push 0
push edi
push ebx
mov ecx, ebp
call fcn.0044ec5a
push 0
push 1
lea ecx, [esp + 0x44]
call fcn.004510bf
mov al, 1
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.005026fe
add esp, 0x84
ret 0xc