Function at 0x4fe280
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
call fcn.004059e4
xor eax, eax
push ebp
push 0x4fe9da
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x38], 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.004fc6dc
xor eax, eax
push ebp
push 0x4fe94f
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.0040562c
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov dl, 1
mov eax, dword [0x4fba74]
call fcn.004fbde4
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x4fe93e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4f5848]
call fcn.00403f74
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4fe921
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x4fc824]
mov eax, 0x10
call fcn.00405f00
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
call fcn.00404d94
mov eax, dword [ebp + 8]
mov al, byte [eax + 0x11]
mov edx, dword [ebp - 0x24]
mov byte [edx + 0x10], al
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x1c]
call fcn.00404de8
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 - 0x24]
call fcn.004fc848
pop ecx
mov ecx, dword [ebp + 8]
mov dl, 1
mov eax, dword [0x4fba74]
call fcn.004fbde4
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.004fc22c
jmp 0x4fe83b
mov word [ebp - 0x26], 0
mov eax, dword [ebp - 4]
cmp word [eax], 0x3c
jne 0x4fe3e9
push ebp
call fcn.004fcda4
pop ecx
jmp 0x4fe837
mov eax, dword [ebp - 4]
cmp word [eax], 0xd
jne 0x4fe40c
add dword [ebp - 4], 2
mov eax, dword [ebp - 4]
cmp word [eax], 0xa
je 0x4fe690
sub dword [ebp - 4], 2
jmp 0x4fe690
mov eax, dword [ebp - 4]
cmp word [eax], 0x26
jne 0x4fe649
add dword [ebp - 4], 2
mov eax, dword [ebp - 4]
cmp word [eax], 0x23
jne 0x4fe4d6
add dword [ebp - 4], 2
lea eax, [ebp - 0x2c]
call fcn.004054b8
jmp 0x4fe455
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 4]
mov dx, word [edx]
call fcn.004055d0
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x2c]
call fcn.00405648
add dword [ebp - 4], 2
mov eax, dword [ebp - 4]
cmp word [eax], 0
je 0x4fe467
mov eax, dword [ebp - 4]
cmp word [eax], 0x3b
jne 0x4fe438
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x2c]
call fcn.00405014
mov eax, dword [ebp - 0x48]
mov edx, 0x20
call fcn.00409f5c
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x20
je 0x4fe492
mov ax, word [ebp - 0x34]
mov word [ebp - 0x26], ax
jmp 0x4fe4c0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
call fcn.0040563c
test eax, eax
je 0x4fe4ba
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
call fcn.0040563c
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
cmp word [edx + eax*2 - 2], 0x20
je 0x4fe4c0
mov word [ebp - 0x26], 0x20
mov eax, dword [ebp - 4]
cmp word [eax], 0
jne 0x4fe690
sub dword [ebp - 4], 2
jmp 0x4fe690
lea eax, [ebp - 0x2c]
call fcn.004054b8
jmp 0x4fe4fd
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 4]
mov dx, word [edx]
call fcn.004055d0
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x2c]
call fcn.00405648
add dword [ebp - 4], 2
mov eax, dword [ebp - 4]
cmp word [eax], 0
je 0x4fe50f
mov eax, dword [ebp - 4]
cmp word [eax], 0x3b
jne 0x4fe4e0
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 0x2c]
call fcn.00405014
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
call fcn.004098dc
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x2c]
call fcn.0040561c
mov eax, dword [ebp - 0x2c]
mov edx, 0x4fe9f0
call fcn.00405754
jne 0x4fe54a
mov word [ebp - 0x26], 0x20
jmp 0x4fe63a
mov eax, dword [ebp - 0x2c]
mov edx, 0x4fea00
call fcn.00405754
jne 0x4fe564
mov word [ebp - 0x26], 0x26
jmp 0x4fe63a
mov eax, dword [ebp - 0x2c]
mov edx, 0x4fea0c
call fcn.00405754
jne 0x4fe57e
mov word [ebp - 0x26], 0x22
jmp 0x4fe63a
mov eax, dword [ebp - 0x2c]
mov edx, 0x4fea1c
call fcn.00405754
jne 0x4fe598
mov word [ebp - 0x26], 0x3e
jmp 0x4fe63a
mov eax, dword [ebp - 0x2c]
mov edx, 0x4fea28
call fcn.00405754
jne 0x4fe5b2
mov word [ebp - 0x26], 0x3c
jmp 0x4fe63a
mov eax, dword [ebp - 0x2c]
mov edx, 0x4fea34
call fcn.00405754
jne 0x4fe5c9
mov word [ebp - 0x26], 0xc0
jmp 0x4fe63a
mov eax, dword [ebp - 0x2c]
mov edx, 0x4fea44
call fcn.00405754
jne 0x4fe5e0
mov word [ebp - 0x26], 0xa7
jmp 0x4fe63a
mov eax, dword [ebp - 0x2c]
mov edx, 0x4fea54
call fcn.00405754
jne 0x4fe5f7
mov word [ebp - 0x26], 0xae
jmp 0x4fe63a
mov eax, dword [ebp - 0x2c]
mov edx, 0x4fea60
call fcn.00405754
jne 0x4fe60e
mov word [ebp - 0x26], 0xa9
jmp 0x4fe63a
mov eax, dword [ebp - 0x2c]
mov edx, 0x4fea70
call fcn.00405754
jne 0x4fe625
mov word [ebp - 0x26], 0xb6
jmp 0x4fe63a
mov eax, dword [ebp - 0x2c]
mov edx, 0x4fea80
call fcn.00405754
jne 0x4fe63a
mov word [ebp - 0x26], 0x99
mov eax, dword [ebp - 4]
cmp word [eax], 0
jne 0x4fe690
sub dword [ebp - 4], 2
jmp 0x4fe690
mov eax, dword [ebp - 4]
cmp word [eax], 0x20
jne 0x4fe686
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
call fcn.0040563c
test eax, eax
je 0x4fe67a
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
call fcn.0040563c
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
cmp word [edx + eax*2 - 2], 0x20
je 0x4fe690
mov eax, dword [ebp - 4]
mov ax, word [eax]
mov word [ebp - 0x26], ax
jmp 0x4fe690
mov eax, dword [ebp - 4]
mov ax, word [eax]
mov word [ebp - 0x26], ax
cmp word [ebp - 0x26], 0
je 0x4fe837
lea eax, [ebp - 0x58]
mov dx, word [ebp - 0x26]
call fcn.004055d0
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 8]
add eax, 0xc
call fcn.00405648
mov eax, dword [ebp - 8]
mov word [eax + 0x2c], 0xffff
cmp byte [ebp + 0xc], 0
je 0x4fe837
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx]
mov ebx, eax
push ebp
call fcn.004fe1b4
pop ecx
add ebx, eax
cmp ebx, dword [ebp - 0x20]
jle 0x4fe837
mov byte [ebp - 0x2d], 0
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0xc]
mov eax, 0x4fea90
call fcn.004f23a8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x4fe741
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
call fcn.004f391c
mov edx, dword [0x4fbaf8]
call fcn.00404130
test al, al
je 0x4fe741
lea eax, [ebp - 0x2c]
mov dx, word [ebp - 0x26]
call fcn.004055d0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
call fcn.0040563c
mov edx, eax
dec edx
mov eax, dword [ebp - 8]
add eax, 0xc
call fcn.004059a0
jmp 0x4fe761
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
call fcn.0040563c
mov ecx, eax
mov edx, dword [ebp - 0x3c]
inc edx
mov eax, dword [ebp - 8]
add eax, 0xc
call fcn.004f2488
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
xor edx, edx
call fcn.00405754
je 0x4fe774
mov byte [ebp - 0x2d], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 8]
call fcn.004f3304
mov ecx, dword [ebp + 8]
mov dl, 1
mov eax, dword [0x4fbaf8]
call fcn.004fbde4
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.004f391c
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004fc22c
push ebp
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
call fcn.004fe228
pop ecx
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004fc598
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 8]
call fcn.004f3304
mov ecx, dword [ebp + 8]
mov dl, 1
mov eax, dword [0x4fba74]
call fcn.004fbde4
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.004f391c
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004fc22c
mov eax, dword [ebp - 8]
add eax, 0xc
mov edx, dword [ebp - 0x2c]
call fcn.004054f4
mov eax, dword [ebp - 8]
mov word [eax + 0x2c], 0xffff
cmp byte [ebp - 0x2d], 0
jne 0x4fe837
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 0x4fe3ce
mov eax, dword [ebp - 8]
cmp byte [eax + 8], 0
jne 0x4fe860
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
call fcn.0040563c
test eax, eax
jle 0x4fe870
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 8]
call fcn.004f3304
jmp 0x4fe878
mov eax, dword [ebp - 8]
call fcn.00403fa4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
cmp dword [eax + 0xc], 0
jle 0x4fe8ce
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 0x4fe8ce
mov ecx, dword [ebp + 8]
mov dl, 1
mov eax, dword [0x4fbaf8]
call fcn.004fbde4
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.004f3880
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
call fcn.004ff658
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fe928
mov edx, dword [0x4fc824]
mov eax, dword [ebp - 0x18]
call fcn.00405f14
jmp 0x4fe90f
mov eax, dword [ebp - 0x14]
call fcn.004f5a24
mov dword [ebp - 0x18], eax
mov edx, dword [0x4fc824]
mov eax, dword [ebp - 0x18]
call fcn.00405f14
mov eax, dword [ebp - 0x14]
cmp dword [eax + 8], 0
jg 0x4fe8f6
mov eax, dword [ebp - 0x14]
call fcn.00403fa4
ret