Function at 0x46f560
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c2c23
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x664e94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x40]
mov dword [ebp - 0x28], ecx
mov dx, word [ebp - 0x28]
mov word [ebp - 0x20], dx
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x34]
mov dword [ebp - 0x2c], ecx
mov dx, word [ebp - 0x2c]
mov word [ebp - 0x24], dx
movzx eax, word [ebp - 0x24]
movzx ecx, word [ebp - 0x20]
lea edx, [eax + ecx + 0x1e]
mov dword [ebp - 0x1c], edx
push 0
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0047b5c0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], ecx
push 4
push 0x65fa7c
mov edx, dword [ebp - 0x30]
push edx
call fcn.00594d10
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
cmp dword [0x667db4], 0
jne 0x46f618
call fcn.0047bc00
movzx ecx, al
test ecx, ecx
je 0x46f60e
mov dword [0x667db4], 0x47bb30
jmp 0x46f618
mov dword [0x667db4], 0x47bb70
push 2
mov edx, dword [ebp - 0x74]
add edx, 0xa
push edx
mov eax, dword [ebp - 0x34]
add eax, 4
push eax
call dword [0x667db4]
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x38], ecx
cmp dword [0x667db4], 0
jne 0x46f662
call fcn.0047bc00
movzx edx, al
test edx, edx
je 0x46f658
mov dword [0x667db4], 0x47bb30
jmp 0x46f662
mov dword [0x667db4], 0x47bb70
push 2
mov eax, dword [ebp - 0x74]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 6
push ecx
call dword [0x667db4]
add esp, 0xc
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x3c], edx
cmp dword [0x667db4], 0
jne 0x46f6ac
call fcn.0047bc00
movzx eax, al
test eax, eax
je 0x46f6a2
mov dword [0x667db4], 0x47bb30
jmp 0x46f6ac
mov dword [0x667db4], 0x47bb70
push 2
mov ecx, dword [ebp - 0x74]
add ecx, 0xe
push ecx
mov edx, dword [ebp - 0x3c]
add edx, 8
push edx
call dword [0x667db4]
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x40], eax
cmp dword [0x667db4], 0
jne 0x46f6f6
call fcn.0047bc00
movzx ecx, al
test ecx, ecx
je 0x46f6ec
mov dword [0x667db4], 0x47bb30
jmp 0x46f6f6
mov dword [0x667db4], 0x47bb70
push 2
mov edx, dword [ebp - 0x74]
add edx, 0x10
push edx
mov eax, dword [ebp - 0x40]
add eax, 0xa
push eax
call dword [0x667db4]
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x44], ecx
cmp dword [0x667db4], 0
jne 0x46f740
call fcn.0047bc00
movzx edx, al
test edx, edx
je 0x46f736
mov dword [0x667db4], 0x47bb30
jmp 0x46f740
mov dword [0x667db4], 0x47bb70
push 2
mov eax, dword [ebp - 0x74]
add eax, 0x12
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0xc
push ecx
call dword [0x667db4]
add esp, 0xc
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x48], edx
cmp dword [0x667db4], 0
jne 0x46f78a
call fcn.0047bc00
movzx eax, al
test eax, eax
je 0x46f780
mov dword [0x667db4], 0x47bb30
jmp 0x46f78a
mov dword [0x667db4], 0x47bb70
push 4
mov ecx, dword [ebp - 0x74]
add ecx, 0x14
push ecx
mov edx, dword [ebp - 0x48]
add edx, 0xe
push edx
call dword [0x667db4]
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x4c], eax
cmp dword [0x667db4], 0
jne 0x46f7d4
call fcn.0047bc00
movzx ecx, al
test ecx, ecx
je 0x46f7ca
mov dword [0x667db4], 0x47bb30
jmp 0x46f7d4
mov dword [0x667db4], 0x47bb70
push 4
mov edx, dword [ebp - 0x74]
add edx, 0x18
push edx
mov eax, dword [ebp - 0x4c]
add eax, 0x12
push eax
call dword [0x667db4]
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x50], ecx
cmp dword [0x667db4], 0
jne 0x46f81e
call fcn.0047bc00
movzx edx, al
test edx, edx
je 0x46f814
mov dword [0x667db4], 0x47bb30
jmp 0x46f81e
mov dword [0x667db4], 0x47bb70
push 4
mov eax, dword [ebp - 0x74]
add eax, 0x1c
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0x16
push ecx
call dword [0x667db4]
add esp, 0xc
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x54], edx
cmp dword [0x667db4], 0
jne 0x46f868
call fcn.0047bc00
movzx eax, al
test eax, eax
je 0x46f85e
mov dword [0x667db4], 0x47bb30
jmp 0x46f868
mov dword [0x667db4], 0x47bb70
push 2
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x54]
add edx, 0x1a
push edx
call dword [0x667db4]
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x58], eax
cmp dword [0x667db4], 0
jne 0x46f8af
call fcn.0047bc00
movzx ecx, al
test ecx, ecx
je 0x46f8a5
mov dword [0x667db4], 0x47bb30
jmp 0x46f8af
mov dword [0x667db4], 0x47bb70
push 2
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x58]
add eax, 0x1c
push eax
call dword [0x667db4]
add esp, 0xc
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x60], eax
movzx ecx, word [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x60]
add eax, 0x1e
push eax
call fcn.00594d10
add esp, 0xc
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x68], eax
movzx ecx, word [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x64]
push edx
movzx eax, word [ebp - 0x20]
mov ecx, dword [ebp - 0x68]
lea edx, [ecx + eax + 0x1e]
push edx
call fcn.00594d10
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x6c], eax
push 1
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
mov ecx, dword [ebp + 8]
call fcn.0047d020
mov ecx, dword [ebp - 0x74]
add ecx, 0x2c
call fcn.0047b620
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x50]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x74]
mov ax, word [ebp - 0x70]
mov word [edx + 0x20], ax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
mov edx, dword [eax]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0x30]
sub eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x74]
mov dword [edx + 0x28], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0047b600
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4