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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bac78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
lea ecx, [ebp - 0x2c]
call fcn.004299e0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x28]
push eax
push 1
mov ecx, dword [ebp + 0xc]
add ecx, 0xc
call fcn.0047e910
push eax
push 0x4cd958
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0047e950
add esp, 0x14
mov ecx, dword [ebp + 0xc]
add ecx, 0x30
call dword [0x4bd2c8]
lea edx, [eax + eax + 2]
push edx
call fcn.004548f6
add esp, 4
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x30
call dword [0x4bd2c8]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.004547ac
add esp, 0xc
push 1
mov ecx, dword [ebp + 0xc]
add ecx, 0x30
call fcn.0047e910
push eax
mov edx, dword [ebp - 0x34]
push edx
call dword [0x4bd390]
add esp, 8
cmp dword [ebp - 0x34], 0
je 0x46bd25
push 0xd
mov eax, dword [ebp - 0x34]
push eax
call dword [0x4bd368]
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x46bd25
mov ecx, dword [ebp - 0x10]
mov word [ecx], 0
mov edx, dword [ebp - 0x10]
add edx, 2
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
cmp ecx, 0xa
jne 0x46bd02
mov edx, dword [ebp - 0x10]
mov word [edx], 0
mov eax, dword [ebp - 0x10]
add eax, 2
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x2c]
call dword [0x4bd2b8]
push 0x4cd96c
lea ecx, [ebp - 0x2c]
call dword [0x4bd2b8]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x34], edx
jmp 0x46bcb7
cmp dword [ebp - 0x34], 0
je 0x46bd57
mov eax, dword [ebp - 0x34]
push eax
call dword [0x4bd310]
add esp, 4
test eax, eax
jbe 0x46bd57
mov ecx, dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x2c]
call dword [0x4bd2b8]
push 0x4cd970
lea ecx, [ebp - 0x2c]
call dword [0x4bd2b8]
push 0x4cd974
lea ecx, [ebp - 0x2c]
call dword [0x4bd2b8]
lea ecx, [ebp - 0x2c]
call dword [0x4bd2c8]
add eax, 1
push eax
call fcn.004548f6
add esp, 4
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x30], 0
je 0x46bdf1
lea ecx, [ebp - 0x2c]
call dword [0x4bd2c8]
add eax, 1
push eax
push 0
mov eax, dword [ebp - 0x30]
push eax
call fcn.004547ac
add esp, 0xc
lea ecx, [ebp - 0x2c]
call dword [0x4bd2c8]
push eax
lea ecx, [ebp - 0x2c]
call dword [0x4bd2c0]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0045ecf0
add esp, 0xc
push 0x3c
lea ecx, [ebp - 0x2c]
call dword [0x4bd2c8]
push eax
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 0xc]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.00454868
add esp, 4
mov edx, dword [ebp + 8]
mov dword [ebp - 0x44], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00478c00
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret