Function at 0x4a8620
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
call fcn.00405150
xor eax, eax
push ebp
push 0x4a8d9c
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
call fcn.004a6714
xor eax, eax
push ebp
push 0x4a8d11
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 0x1c]
call fcn.00404d98
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov dl, 1
mov eax, dword [0x4a5ba0]
call fcn.004a5dac
mov dword [ebp - 0x28], eax
xor eax, eax
push ebp
push 0x4a8d00
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4a5770]
call fcn.0040353c
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4a8ce3
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x4a685c]
mov eax, 0x10
call fcn.004055ac
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
call fcn.00404494
mov eax, dword [ebp + 8]
mov al, byte [eax + 0x11]
mov edx, dword [ebp - 0x28]
mov byte [edx + 0x10], al
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x1c]
call fcn.004044e8
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x18]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x18]
mov dword [edx + 4], eax
push ebp
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
call fcn.004a68d8
pop ecx
mov ecx, dword [ebp + 8]
mov dl, 1
mov eax, dword [0x4a5ba0]
call fcn.004a5dac
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.004a61f4
jmp 0x4a8bfd
mov word [ebp - 0x2a], 0
mov eax, dword [ebp - 4]
cmp word [eax], 0x3c
jne 0x4a878e
push ebp
call fcn.004a6e54
pop ecx
jmp 0x4a8bf9
mov eax, dword [ebp - 4]
cmp word [eax], 0xd
jne 0x4a87b1
add dword [ebp - 4], 2
mov eax, dword [ebp - 4]
cmp word [eax], 0xa
je 0x4a8a45
sub dword [ebp - 4], 2
jmp 0x4a8a45
mov eax, dword [ebp - 4]
cmp word [eax], 0x26
jne 0x4a89fe
mov eax, dword [ebp - 4]
add eax, 2
cmp word [eax], 0x20
je 0x4a89fe
add dword [ebp - 4], 2
mov eax, dword [ebp - 4]
cmp word [eax], 0x23
jne 0x4a888b
add dword [ebp - 4], 2
lea eax, [ebp - 0x30]
call fcn.00404bb0
jmp 0x4a880a
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 4]
mov dx, word [edx]
call fcn.00404cd8
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 0x30]
call fcn.00404db4
add dword [ebp - 4], 2
mov eax, dword [ebp - 4]
cmp word [eax], 0
je 0x4a881c
mov eax, dword [ebp - 4]
cmp word [eax], 0x3b
jne 0x4a87ed
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x30]
call fcn.0040472c
mov eax, dword [ebp - 0x4c]
mov edx, 0x20
call fcn.004095b4
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x20
je 0x4a8847
mov ax, word [ebp - 0x38]
mov word [ebp - 0x2a], ax
jmp 0x4a8875
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
call fcn.00404da8
test eax, eax
je 0x4a886f
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
call fcn.00404da8
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
cmp word [edx + eax*2 - 2], 0x20
je 0x4a8875
mov word [ebp - 0x2a], 0x20
mov eax, dword [ebp - 4]
cmp word [eax], 0
jne 0x4a8a45
sub dword [ebp - 4], 2
jmp 0x4a8a45
lea eax, [ebp - 0x30]
call fcn.00404bb0
jmp 0x4a88b2
lea eax, [ebp - 0x50]
mov edx, dword [ebp - 4]
mov dx, word [edx]
call fcn.00404cd8
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x30]
call fcn.00404db4
add dword [ebp - 4], 2
mov eax, dword [ebp - 4]
cmp word [eax], 0
je 0x4a88c4
mov eax, dword [ebp - 4]
cmp word [eax], 0x3b
jne 0x4a8895
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0x30]
call fcn.0040472c
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.00408f50
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x30]
call fcn.00404d88
mov eax, dword [ebp - 0x30]
mov edx, 0x4a8db0
call fcn.00404ec0
jne 0x4a88ff
mov word [ebp - 0x2a], 0x20
jmp 0x4a89ef
mov eax, dword [ebp - 0x30]
mov edx, 0x4a8dc0
call fcn.00404ec0
jne 0x4a8919
mov word [ebp - 0x2a], 0x26
jmp 0x4a89ef
mov eax, dword [ebp - 0x30]
mov edx, 0x4a8dcc
call fcn.00404ec0
jne 0x4a8933
mov word [ebp - 0x2a], 0x22
jmp 0x4a89ef
mov eax, dword [ebp - 0x30]
mov edx, 0x4a8ddc
call fcn.00404ec0
jne 0x4a894d
mov word [ebp - 0x2a], 0x3e
jmp 0x4a89ef
mov eax, dword [ebp - 0x30]
mov edx, 0x4a8de8
call fcn.00404ec0
jne 0x4a8967
mov word [ebp - 0x2a], 0x3c
jmp 0x4a89ef
mov eax, dword [ebp - 0x30]
mov edx, 0x4a8df4
call fcn.00404ec0
jne 0x4a897e
mov word [ebp - 0x2a], 0xc0
jmp 0x4a89ef
mov eax, dword [ebp - 0x30]
mov edx, 0x4a8e04
call fcn.00404ec0
jne 0x4a8995
mov word [ebp - 0x2a], 0xa7
jmp 0x4a89ef
mov eax, dword [ebp - 0x30]
mov edx, 0x4a8e14
call fcn.00404ec0
jne 0x4a89ac
mov word [ebp - 0x2a], 0xae
jmp 0x4a89ef
mov eax, dword [ebp - 0x30]
mov edx, 0x4a8e20
call fcn.00404ec0
jne 0x4a89c3
mov word [ebp - 0x2a], 0xa9
jmp 0x4a89ef
mov eax, dword [ebp - 0x30]
mov edx, 0x4a8e30
call fcn.00404ec0
jne 0x4a89da
mov word [ebp - 0x2a], 0xb6
jmp 0x4a89ef
mov eax, dword [ebp - 0x30]
mov edx, 0x4a8e40
call fcn.00404ec0
jne 0x4a89ef
mov word [ebp - 0x2a], 0x99
mov eax, dword [ebp - 4]
cmp word [eax], 0
jne 0x4a8a45
sub dword [ebp - 4], 2
jmp 0x4a8a45
mov eax, dword [ebp - 4]
cmp word [eax], 0x20
jne 0x4a8a3b
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
call fcn.00404da8
test eax, eax
je 0x4a8a2f
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
call fcn.00404da8
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
cmp word [edx + eax*2 - 2], 0x20
je 0x4a8a45
mov eax, dword [ebp - 4]
mov ax, word [eax]
mov word [ebp - 0x2a], ax
jmp 0x4a8a45
mov eax, dword [ebp - 4]
mov ax, word [eax]
mov word [ebp - 0x2a], ax
cmp word [ebp - 0x2a], 0
je 0x4a8bf9
lea eax, [ebp - 0x5c]
mov dx, word [ebp - 0x2a]
call fcn.00404cd8
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 8]
add eax, 0xc
call fcn.00404db4
mov eax, dword [ebp - 8]
mov word [eax + 0x2c], 0xffff
cmp byte [ebp + 0xc], 0
je 0x4a8bf9
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx]
mov ebx, eax
push ebp
call fcn.004a85ac
pop ecx
add ebx, eax
cmp ebx, dword [ebp - 0x20]
jle 0x4a8bf9
mov eax, dword [ebp - 8]
mov word [eax + 0x2c], 0xffff
mov byte [ebp - 0x31], 0
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0xc]
mov eax, 0x4a8e50
call fcn.0047bb08
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x4a8aff
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
call fcn.004893e4
mov edx, dword [0x4a5c24]
call fcn.004036f8
test al, al
je 0x4a8aff
lea eax, [ebp - 0x30]
mov dx, word [ebp - 0x2a]
call fcn.00404cd8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
call fcn.00404da8
mov edx, eax
dec edx
mov eax, dword [ebp - 8]
add eax, 0xc
call fcn.0040510c
jmp 0x4a8b1f
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
call fcn.00404da8
mov ecx, eax
mov edx, dword [ebp - 0x40]
inc edx
mov eax, dword [ebp - 8]
add eax, 0xc
call fcn.0047bbe8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
xor edx, edx
call fcn.00404ec0
je 0x4a8b32
mov byte [ebp - 0x31], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 8]
call fcn.00488d70
mov ecx, dword [ebp + 8]
mov dl, 1
mov eax, dword [0x4a5c24]
call fcn.004a5dac
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov byte [eax + 8], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
call fcn.004893e4
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004a61f4
push ebp
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
call fcn.004a6880
pop ecx
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.004a65d0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 8]
call fcn.00488d70
mov ecx, dword [ebp + 8]
mov dl, 1
mov eax, dword [0x4a5ba0]
call fcn.004a5dac
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov byte [eax + 8], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
call fcn.004893e4
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004a61f4
mov eax, dword [ebp - 8]
add eax, 0xc
mov edx, dword [ebp - 0x30]
call fcn.00404bec
mov eax, dword [ebp - 8]
mov word [eax + 0x2c], 0xffff
cmp byte [ebp - 0x31], 0
jne 0x4a8bf9
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
mov edx, dword [eax + 0xc]
sub edx, 2
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x20]
add dword [ebp - 4], 2
mov eax, dword [ebp - 4]
cmp word [eax], 0
jne 0x4a8773
mov eax, dword [ebp - 8]
cmp byte [eax + 8], 0
jne 0x4a8c22
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
call fcn.00404da8
test eax, eax
jle 0x4a8c32
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 8]
call fcn.00488d70
jmp 0x4a8c3a
mov eax, dword [ebp - 8]
call fcn.0040356c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
cmp dword [eax + 0xc], 0
jle 0x4a8c90
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp byte [eax + 8], 3
je 0x4a8c90
mov ecx, dword [ebp + 8]
mov dl, 1
mov eax, dword [0x4a5c24]
call fcn.004a5dac
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov byte [eax + 8], 3
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x3c], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
mov ecx, dword [ebp - 8]
xor edx, edx
call fcn.00489338
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
call fcn.004a9a78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8cea
mov edx, dword [0x4a685c]
mov eax, dword [ebp - 0x18]
call fcn.004055c0
jmp 0x4a8cd1
mov eax, dword [ebp - 0x14]
call fcn.004a5968
mov dword [ebp - 0x18], eax
mov edx, dword [0x4a685c]
mov eax, dword [ebp - 0x18]
call fcn.004055c0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 8], 0
jg 0x4a8cb8
mov eax, dword [ebp - 0x14]
call fcn.0040356c
ret