Function at 0x4abd24
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4abd2c
xor eax, eax
push ebp
push 0x4ac00d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x34]
call fcn.004061e8
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004acbdc
mov edx, dword [eax + 0x30]
lea eax, [ebp - 0x38]
mov ecx, 0x4ac018
call fcn.0040622c
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
call fcn.004062f8
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x20]
mov ecx, 0x4ac028
call fcn.0040622c
lea eax, [ebp - 0x24]
call fcn.004061e8
push eax
push 0x4ac038
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [eax]
call dword [eax]
push 0
push 0
push 0
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
cmp dword [ebp - 0x24], 0
je 0x4abfba
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4abfb3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
call fcn.004061e8
push eax
push 0x4ac048
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [eax]
call dword [eax]
cmp dword [ebp - 0x28], 0
je 0x4abdf1
push 0
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
jne 0x4abf7b
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0x4abf7b
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 0xc]
lea eax, [edx + eax*8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp dword [eax + 8], 0
jne 0x4abe66
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 4]
inc eax
call fcn.00409214
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
mov edx, 0x4ac060
call fcn.00404654
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x14]
call fcn.00404bd0
jmp 0x4abe74
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x30]
mov edx, dword [edx + 8]
call fcn.00404b94
mov eax, dword [ebp - 0x30]
cmp word [eax + 0x14], 0x80
jne 0x4abe88
mov eax, dword [ebp - 0x30]
mov word [eax + 0x14], 0xcc
mov eax, dword [ebp - 0x30]
cmp word [eax + 0x14], 0x81
jne 0x4abe9c
mov eax, dword [ebp - 0x30]
mov word [eax + 0x14], 0xc8
mov eax, dword [ebp - 0x30]
cmp word [eax + 0x14], 0x82
jne 0x4abeb0
mov eax, dword [ebp - 0x30]
mov word [eax + 0x14], 0xca
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
and eax, 0xf
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4abec8
mov dword [ebp - 0x1c], 1
lea eax, [ebp - 0x18]
call fcn.004061e8
push eax
mov eax, dword [0x4f7814]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x30]
movzx eax, word [eax + 0x14]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004acbdc
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [eax]
call dword [eax + 0x48]
call fcn.004062f8
mov eax, dword [ebp - 0x30]
mov al, byte [eax + 0x16]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x40]
call fcn.004062f8
mov eax, dword [ebp - 4]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 0xc]
mov al, byte [edx + eax*8 + 0x17]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x48]
call fcn.004062f8
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
and eax, 0xfffffff0
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x60]
call fcn.004062f8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004ac370
add eax, 0xc
mov edx, dword [ebp - 0x18]
call fcn.00406200
inc dword [ebp - 4]
dec dword [ebp - 0x2c]
jne 0x4abe25
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4abfba
cmp dword [ebp - 0xc], 0
je 0x4abf9d
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x4f8c3c]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
cmp dword [ebp - 0x10], 0
je 0x4abfb2
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x4f8c3c]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac014
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.0040436c
lea eax, [ebp - 0x38]
call fcn.004061e8
lea eax, [ebp - 0x34]
call fcn.004061e8
lea eax, [ebp - 0x28]
call fcn.004061e8
lea eax, [ebp - 0x24]
call fcn.004061e8
lea eax, [ebp - 0x20]
call fcn.004061e8
lea eax, [ebp - 0x18]
call fcn.004061e8
lea eax, [ebp - 0x14]
call fcn.00404a54
ret