Function at 0x4718d0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f1e48
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 0xc]
xor ecx, ecx
mov byte [esi + 0x30], 0
lea eax, [esi + 0x30]
mov dword [esi + 0x28], 0
lea edi, [esi + 0x32]
mov dword [esp + 0x24], eax
lea eax, [esi + 0x24]
mov dword [esp + 0x18], eax
mov eax, dword [eax]
mov word [eax], cx
lea eax, [esi + 0x18]
mov dword [eax + 4], ecx
mov dword [esp + 0x30], eax
mov eax, dword [eax]
mov word [eax], cx
mov byte [edi], cl
mov eax, dword [esi]
mov dword [esi + 4], ecx
mov word [eax], cx
lea eax, [esi + 0xc]
mov ecx, eax
mov dword [esi + 0x34], 0xffffffff
mov dword [esp + 0x2c], eax
call fcn.00410ab0
mov ecx, dword [ebx]
push edi
mov edi, dword [ebp + 8]
mov edx, edi
push 6
call fcn.00470f70
test eax, eax
jne 0x471c2e
mov al, byte [esi + 0x32]
lea ecx, [esi + 0x33]
push esi
mov dword [esp + 0x20], ecx
mov byte [ecx], al
mov ecx, ebx
push edi
call fcn.00471580
test eax, eax
jne 0x471c2e
cmp byte [ebx + 0xdb], al
je 0x4719c8
mov ecx, dword [ebx]
mov edx, edi
mov byte [esp + 0x17], al
lea eax, [esp + 0x17]
push eax
push 0x41
call fcn.00470f70
test eax, eax
jne 0x471c2e
cmp byte [esp + 0x17], al
je 0x4719c8
push str._DELETED__
push eax
mov ecx, esi
call fcn.00412e40
push esi
lea ecx, [esi + 0x18]
call fcn.004128e0
cmp byte [ebx + 0xdc], 0
je 0x4719f1
mov ecx, dword [ebx]
lea eax, [esi + 0x30]
push eax
push 0x3f
mov edx, edi
call fcn.00470f70
test eax, eax
jne 0x471c2e
xor cl, cl
mov byte [esp + 0x17], cl
cmp byte [esi + 0x30], cl
je 0x471b18
mov edx, dword [ebx + 8]
mov cl, 1
mov byte [esp + 0x17], cl
test edx, edx
je 0x471b18
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], 0
mov eax, dword [edx]
push ecx
lea ecx, [esp + 0x4c]
push ecx
push edi
push edx
call dword [eax + 0xc]
test eax, eax
jne 0x471c2e
cmp dword [esp + 0x4c], 1
jne 0x471b14
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x60], eax
lea edx, [esp + 0x34]
mov eax, dword [ebx]
push edx
push 4
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov edi, eax
mov ax, word [esp + 0x34]
test edi, edi
jne 0x471adf
cmp ax, 8
jne 0x471aa5
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x471aaa
push ecx
lea ecx, [esi + 0x24]
call fcn.004129e0
mov edi, dword [esp + 0x48]
xor cl, cl
mov byte [esp + 0x17], cl
mov dword [ebp + 8], edi
mov dword [esi + 0x34], edi
cmp edi, 0xffffffff
jne 0x471ab1
mov eax, dword [esi + 0x18]
xor edx, edx
mov dword [esi + 0x1c], 0
mov word [eax], dx
mov byte [esi + 0x33], 1
jmp 0x471afb
test ax, ax
je 0x471a7b
mov edi, 0x80004005
jmp 0x471adf
lea eax, [esi + 0x18]
mov ecx, ebx
push eax
push edi
call fcn.00471830
mov edi, eax
test edi, edi
jne 0x471ada
mov edx, dword [esp + 0x48]
lea eax, [esi + 0x33]
mov ecx, dword [ebx]
push eax
push 6
call fcn.00470f70
mov edi, eax
test edi, edi
je 0x471af4
mov ax, word [esp + 0x34]
test ax, ax
je 0x471aed
lea ecx, [esp + 0x34]
call fcn.0041d410
mov eax, edi
jmp 0x471c2e
mov edi, dword [ebp + 8]
mov cl, byte [esp + 0x17]
mov dword [esp + 0x60], 0xffffffff
cmp word [esp + 0x34], 0
je 0x471b18
lea ecx, [esp + 0x34]
call fcn.0041d410
mov cl, byte [esp + 0x17]
cmp byte [esi + 0x31], 0
jne 0x471b22
test cl, cl
je 0x471b85
mov ecx, dword [esi]
call fcn.00471890
mov ecx, eax
mov dword [esp + 0x20], ecx
test ecx, ecx
js 0x471b85
cmp ecx, dword [esi + 0x1c]
jae 0x471b44
mov eax, dword [esi + 0x18]
xor edx, edx
mov dword [esi + 0x1c], ecx
mov word [eax + ecx*2], dx
mov eax, dword [esi]
add ecx, ecx
add eax, 2
mov dword [esp + 0x28], ecx
add eax, ecx
lea ecx, [esi + 0x24]
push eax
call fcn.00412850
cmp dword [esp + 0x20], 0
je 0x471b79
mov eax, dword [esi]
mov ecx, dword [esp + 0x28]
mov cx, word [ecx + eax - 2]
call fcn.00413cc0
test al, al
jne 0x471b79
xor eax, eax
jmp 0x471b7e
mov eax, 1
mov byte [esi + 0x33], al
mov byte [esi + 0x30], 1
cmp byte [esi + 0x38], 0
je 0x471c1f
lea edx, [esi + 0xc]
mov ecx, ebx
push edx
push dword [esi + 0x3c]
push edi
call fcn.004712b0
test eax, eax
jne 0x471c2e
cmp byte [esi + 0x31], al
jne 0x471bb1
cmp byte [esp + 0x17], al
je 0x471c2c
cmp dword [esi + 0x10], 0
je 0x471c2c
mov ecx, dword [esi + 0x10]
lea ebx, [esi + 0xc]
mov eax, dword [ebx]
mov edi, dword [eax + ecx*4 - 4]
mov ecx, dword [edi]
call fcn.00471890
mov esi, eax
test esi, esi
js 0x471c14
lea edx, [ecx + 2]
mov ecx, dword [esp + 0x18]
lea edx, [edx + esi*2]
push edx
call fcn.00412850
test esi, esi
je 0x471bf8
mov eax, dword [edi]
mov cx, word [eax + esi*2 - 2]
call fcn.00413cc0
test al, al
jne 0x471bf8
xor eax, eax
jmp 0x471bfd
mov eax, 1
mov ecx, dword [esp + 0x1c]
push esi
mov byte [ecx], al
mov ecx, edi
mov eax, dword [esp + 0x28]
mov byte [eax], 1
call fcn.00416ca0
test esi, esi
jne 0x471c2c
mov ecx, ebx
call fcn.00415710
jmp 0x471c2c
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
call fcn.00414030
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004df96c
mov esp, ebp
pop ebp
ret 8