Function at 0x4c48b4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c4e38
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0xc]
mov byte [eax], 0
mov eax, dword [ebp - 0xc]
mov byte [eax + 1], 0
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0xc]
mov word [eax + 0x18], 0
mov eax, dword [ebp - 0xc]
mov word [eax + 0x1a], 0
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x1c], 1
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x1d], 1
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x1f], 0
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x1e], 1
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x20], 0
mov eax, dword [ebp - 0xc]
add eax, 0x2c
call fcn.00405750
mov eax, dword [ebp - 0xc]
add eax, 0x30
call fcn.00405750
mov eax, dword [ebp - 0xc]
add eax, 0x24
mov edx, 0x4c4e50
call fcn.004057a4
mov eax, dword [ebp - 0xc]
add eax, 0x28
call fcn.00405750
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
call fcn.004c2ca4
mov word [ebp - 0x2a], ax
mov eax, dword [ebp - 4]
call fcn.004c4efc
mov eax, dword [ebp - 4]
cmp word [eax + 0x80], 1
je 0x4c4e1d
lea ecx, [ebp - 0x38]
mov dl, byte [ebp - 5]
mov eax, dword [ebp - 4]
call fcn.004c47ac
mov eax, dword [ebp - 0x38]
call fcn.00405a20
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x39
jne 0x4c4e1d
lea eax, [ebp - 0x40]
push eax
mov ecx, 0xc
mov edx, 0x22
mov eax, dword [ebp - 0x38]
call fcn.00405c84
lea eax, [ebp - 0x44]
push eax
mov ecx, 0xc
mov edx, 0x2e
mov eax, dword [ebp - 0x38]
call fcn.00405c84
mov eax, dword [ebp - 4]
cmp byte [eax + 0x93], 0
je 0x4c4a0d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
mov edx, dword [ebp - 0x44]
call fcn.00405b70
jne 0x4c4e1d
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x40]
call fcn.004c0b48
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0x44]
call fcn.004c0b48
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x1f
mov edx, 1
mov eax, dword [ebp - 0x38]
call fcn.00405c84
mov eax, dword [ebp - 0x38]
mov al, byte [eax + 0x1f]
mov byte [ebp - 0x2f], al
mov eax, dword [ebp - 0x38]
mov al, byte [eax + 0x20]
mov byte [ebp - 0x30], al
cmp byte [ebp - 0x30], 0x59
sete al
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x1e], al
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x1e], 0
je 0x4c4a92
mov eax, dword [ebp - 4]
cmp byte [eax + 0x93], 0
je 0x4c4a92
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x74]
call fcn.00405b70
jne 0x4c4e1d
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
call fcn.00405b70
jne 0x4c4e1d
mov eax, dword [ebp - 0xc]
add eax, 0x2c
mov edx, dword [ebp - 0x48]
call fcn.004057a4
mov eax, dword [ebp - 0xc]
add eax, 0x30
mov edx, dword [ebp - 0x40]
call fcn.004057a4
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
push eax
lea eax, [ebp - 0x22]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2b]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2d]
push eax
lea eax, [ebp - 0x2e]
push eax
lea eax, [ebp - 0x3c]
push eax
xor eax, eax
mov al, byte [ebp - 5]
mov edx, dword [ebp - 4]
mov cx, word [edx + 0x60]
mov dx, word [ebp - 0x2a]
call fcn.004c2868
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4c4d07
mov eax, dword [ebp - 0xc]
add eax, 0x28
mov edx, dword [ebp - 0x34]
call fcn.004057a4
mov eax, dword [ebp - 0xc]
add eax, 0x24
mov edx, dword [ebp - 0x3c]
call fcn.004057a4
mov eax, dword [ebp - 0xc]
mov dl, byte [ebp - 0x2c]
mov byte [eax + 0x1c], dl
mov eax, dword [ebp - 0xc]
mov dl, byte [ebp - 0x2d]
mov byte [eax + 0x1d], dl
mov eax, dword [ebp - 4]
cmp byte [eax + 0x62], 0
je 0x4c4b7e
call fcn.004c2158
test al, al
je 0x4c4b55
mov eax, dword [ebp - 4]
cmp byte [eax + 0x33], 4
je 0x4c4b55
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x20], 1
jmp 0x4c4b7e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf8]
mov edx, dword [eax]
call dword [edx + 0x14]
xor edx, edx
mov dl, byte [ebp - 0x2d]
cmp eax, edx
jle 0x4c4b72
cmp byte [ebp - 0x2d], 0
ja 0x4c4b76
xor eax, eax
jmp 0x4c4b78
mov al, 1
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x20], al
cmp byte [ebp - 0x2e], 4
jbe 0x4c4b88
sub byte [ebp - 0x2e], 5
mov al, byte [ebp - 0x2e]
sub al, 2
jb 0x4c4baa
je 0x4c4c9d
dec al
je 0x4c4cdf
dec al
je 0x4c4ce8
jmp 0x4c4cef
cmp byte [ebp - 0x2e], 0
jne 0x4c4bb9
mov eax, dword [ebp - 0xc]
mov byte [eax + 1], 0
jmp 0x4c4bc0
mov eax, dword [ebp - 0xc]
mov byte [eax + 1], 1
mov eax, dword [ebp - 0xc]
mov dx, word [ebp - 0x28]
mov word [eax + 0x18], dx
movzx eax, word [ebp - 0x26]
mov dword [ebp - 0x58], eax
fild dword [ebp - 0x58]
mov eax, dword [ebp - 0xc]
fstp qword [eax + 8]
wait
movzx eax, word [ebp - 0x26]
movzx edx, word [ebp - 0x28]
add eax, edx
mov dword [ebp - 0x58], eax
fild dword [ebp - 0x58]
mov eax, dword [ebp - 0xc]
fstp qword [eax + 0x10]
wait
call fcn.0040cf50
movzx eax, word [ebp - 0x26]
movzx edx, word [ebp - 0x28]
add eax, edx
mov dword [ebp - 0x58], eax
fild dword [ebp - 0x58]
fsubrp st(1)
call fcn.0040337c
mov dword [ebp - 0x1c], eax
movzx eax, word [ebp - 0x28]
cmp eax, dword [ebp - 0x1c]
jge 0x4c4c22
movzx eax, word [ebp - 0x28]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jge 0x4c4c2d
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dx, word [ebp - 0x1c]
mov word [eax + 0x1a], dx
call fcn.0040cf50
mov eax, dword [ebp - 4]
fld qword [eax + 0x88]
fsub dword [0x4c4e54]
fcompp
wait
fnstsw ax
sahf
seta al
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x1f], al
call fcn.0040cf50
mov eax, dword [ebp - 0xc]
fld qword [eax + 0x10]
fadd dword [0x4c4e54]
fcompp
wait
fnstsw ax
sahf
jb 0x4c4c8d
call fcn.0040cf50
mov eax, dword [ebp - 0xc]
fld qword [eax + 8]
fsub dword [0x4c4e54]
fcompp
wait
fnstsw ax
sahf
jbe 0x4c4c95
mov eax, dword [ebp - 0xc]
mov byte [eax], 2
jmp 0x4c4cef
mov eax, dword [ebp - 0xc]
mov byte [eax], 3
jmp 0x4c4cef
mov eax, dword [ebp - 0xc]
mov byte [eax + 1], 2
mov eax, dword [ebp - 0xc]
mov word [eax + 0x18], 0xffff
mov eax, dword [ebp - 0xc]
mov word [eax + 0x1a], 0xffff
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], 0x40efffe0
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x1f], 0
mov eax, dword [ebp - 0xc]
mov byte [eax], 3
jmp 0x4c4cef
mov eax, dword [ebp - 0xc]
mov byte [eax + 1], 3
jmp 0x4c4cef
mov eax, dword [ebp - 0xc]
mov byte [eax + 1], 4
cmp byte [ebp - 0x2f], 0x59
jne 0x4c4d03
mov eax, dword [ebp - 0xc]
cmp byte [eax], 3
jne 0x4c4d03
mov eax, dword [ebp - 0xc]
mov byte [eax], 1
mov byte [ebp - 0xd], 1
mov eax, dword [ebp - 0xc]
cmp byte [eax], 3
jne 0x4c4e1d
mov eax, dword [ebp - 0xc]
cmp byte [eax + 1], 0
je 0x4c4e1d
lea edx, [ebp - 0x38]
mov eax, 0x4c4e60
call fcn.004c09a4
call fcn.0040324c
mov eax, 0xa
call fcn.00403274
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4c4e1d
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dl, 1
mov eax, dword [0x4698a0]
call fcn.0046c784
mov dword [ebp - 0x50], eax
mov edx, 0x168
mov eax, dword [ebp - 0x50]
call fcn.00456850
mov edx, 0x78
mov eax, dword [ebp - 0x50]
call fcn.00456884
mov dl, 4
mov eax, dword [ebp - 0x50]
call fcn.0046ecf8
mov dl, 3
mov eax, dword [ebp - 0x50]
call fcn.0046e800
mov ecx, dword [ebp - 0x50]
mov dl, 1
mov eax, dword [0x434064]
call fcn.0043a45c
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov dl, 5
mov eax, dword [ebp - 0x54]
call fcn.004564dc
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x68]
mov edx, 0xc
call fcn.0042a4f4
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x68]
mov dl, byte [0x4c4eec]
call fcn.0042a520
mov edx, 0xffff
mov eax, dword [ebp - 0x54]
call fcn.00457308
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x68]
mov edx, 0xff
call fcn.0042a194
lea eax, [ebp - 0x38]
mov ecx, dword [ebp - 0x38]
mov edx, 0x4c4ef8
call fcn.00405a70
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x270]
mov edx, dword [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x50]
mov edx, dword [eax]
call dword [edx + 0xfc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c4e3f
lea eax, [ebp - 0x4c]
mov edx, 7
call fcn.00405774
ret