Function at 0x4f3190
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f3676
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x75], 0
jne 0x4f325c
push 0
mov eax, dword [ebp - 4]
add eax, 0x80
mov ecx, 1
mov edx, dword [0x4f1284]
call fcn.004061d0
add esp, 4
mov eax, dword [ebp - 4]
mov byte [eax + 0x75], 1
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x24], edx
mov dl, 1
mov eax, dword [0x421f20]
call fcn.00423728
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
call fcn.00429244
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 8]
mov cl, 1
mov eax, dword [ebp - 4]
call fcn.004f3190
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
call fcn.00429244
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0x10]
call fcn.0040f078
mov eax, dword [ebp - 4]
mov byte [eax + 0x75], 0
mov eax, dword [ebp - 4]
test byte [eax + 0x75], bl
jne 0x4f3279
mov eax, dword [ebp - 4]
cmp byte [eax + 0x75], 0
jne 0x4f3653
test bl, bl
jne 0x4f3653
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
call fcn.00429244
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x88]
call fcn.004238fc
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x3c], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x40], edx
mov eax, dword [ebp - 4]
call fcn.004f373c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 4]
add eax, 0x6c
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov ecx, dword [0x4f1210]
call fcn.00406218
push 0
mov eax, dword [ebp - 4]
add eax, 0x6c
mov ecx, 1
mov edx, dword [0x4f1210]
call fcn.004061d0
add esp, 4
xor ecx, ecx
push ebp
push 0x4f3638
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 4]
mov dword [eax + 0x4c], 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x50], 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x48], 1
mov eax, dword [ebp - 4]
call fcn.004f3a68
jmp 0x4f3577
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x18]
mov dl, byte [edx + eax - 1]
sub dl, 0xd
je 0x4f33fa
sub dl, 0x13
je 0x4f3562
sub dl, 6
je 0x4f336a
sub dl, 0x16
je 0x4f345c
jmp 0x4f3571
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
cmp eax, edx
jle 0x4f3380
mov ecx, edx
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004f3e18
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp - 4]
call fcn.004f2e48
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add eax, 8
call fcn.00404d3c
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x4f33d7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00404fa8
mov edx, dword [ebp - 4]
add dword [edx + 0x48], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov eax, dword [ebp - 4]
dec dword [eax + 0x48]
jmp 0x4f3571
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x18]
cmp byte [edx + eax], 0x26
sete dl
and edx, 0x7f
add edx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x4c], edx
jmp 0x4f3571
cmp byte [0x599208], 0
je 0x4f343a
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
cmp eax, edx
jle 0x4f3419
mov ecx, edx
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004f3e18
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov eax, dword [ebp - 4]
call fcn.004f39b0
mov eax, dword [ebp - 4]
call fcn.004f37f4
jmp 0x4f3571
push ebp
call fcn.004f305c
pop ecx
mov eax, dword [ebp - 4]
add dword [eax + 0x48], 2
mov eax, dword [ebp - 4]
add dword [eax + 0x4c], 2
mov eax, dword [ebp - 4]
call fcn.004f3a68
jmp 0x4f3577
push ebp
call fcn.004f305c
pop ecx
test al, al
jne 0x4f3577
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x18]
cmp byte [edx + eax], 0x3c
je 0x4f3538
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
cmp eax, edx
jle 0x4f3497
mov ecx, edx
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004f3e18
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.004f1350
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
add eax, 4
call fcn.00404d3c
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x4f34d9
mov eax, dword [ebp - 4]
inc dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
jmp 0x4f3577
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
call fcn.004f1bfc
test al, al
je 0x4f3510
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00404fa8
mov edx, dword [ebp - 4]
add dword [edx + 0x48], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
jmp 0x4f3577
mov eax, dword [ebp - 4]
inc dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 4]
call fcn.004f3e18
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
jmp 0x4f3571
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
cmp eax, edx
jle 0x4f354e
mov ecx, edx
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004f3e18
mov eax, dword [ebp - 4]
inc dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
jmp 0x4f3571
push ebp
call fcn.004f305c
pop ecx
mov eax, dword [ebp - 4]
call fcn.004f3a68
mov eax, dword [ebp - 4]
inc dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x1c]
jle 0x4f333b
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x4c]
sub ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.00405208
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
cmp edx, eax
jge 0x4f35c4
mov ecx, edx
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004f3e18
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x44]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 4]
call fcn.004f183c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x38]
jle 0x4f35f0
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x40], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x44]
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f363f
push 0
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
xor ecx, ecx
call fcn.00517228
mov eax, dword [ebp - 4]
mov byte [eax + 0x75], 0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f367d
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404d0c
lea eax, [ebp - 0xc]
call fcn.00404ce8
ret