Function at 0x4a4980
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6601cf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x3c]
mov ebx, 1
mov dword [esp + 0x30], ebx
mov eax, dword [esi + 4]
cmp eax, 6
jne 0x4a4af3
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
mov edi, 3
push ecx
mov ecx, esi
mov dword [esp + 0x28], 0x6f1c74
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], 0x6e77f8
mov dword [esp + 0x24], 2
call fcn.004988b0
lea edx, [esp + 0x20]
mov ecx, eax
push edx
mov byte [esp + 0x34], 2
call fcn.00499da0
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], al
mov byte [esp + 0x30], bl
call fcn.00499a60
mov al, byte [esp + 0x3c]
test al, al
je 0x4a4a5d
mov edi, dword [esp + 0x38]
lea eax, [esp + 0x20]
push eax
push edi
mov ecx, esi
mov dword [esp + 0x28], 0x6e54ec
mov dword [esp + 0x2c], ebx
call fcn.004988b0
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.00499a60
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0x6e77f4
push ecx
mov ecx, esi
mov dword [esp + 0x28], edi
call fcn.00498c20
test eax, eax
je 0x4a4ab6
lea edx, [esp + 0x20]
lea eax, [esp + 0x3c]
push edx
push eax
mov ecx, esi
mov dword [esp + 0x28], 0x6e77f4
mov dword [esp + 0x2c], edi
call fcn.004988b0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 3
call fcn.00499cd0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], bl
call fcn.00499a60
xor edi, edi
jmp 0x4a4b1b
lea ecx, [esp + 0x20]
lea edx, [esp + 0x3c]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x28], 0x6e54ec
mov dword [esp + 0x2c], ebx
call fcn.004988b0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 4
call fcn.00499cd0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], bl
call fcn.00499a60
xor edi, edi
jmp 0x4a4b1b
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
call fcn.00497720
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 5
call fcn.00499cd0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], bl
call fcn.00499a60
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x4a4b31
movsx ecx, byte [eax + 0xc]
lea esi, [eax + 0xc]
cmp cl, 0x2f
je 0x4a4b4d
jmp 0x4a4b36
mov esi, 0x7427d8
push esi
mov esi, dword [esp + 0x3c]
push esi
call fcn.004a48e0
add esp, 8
mov dword [esp + 0x10], ebx
jmp 0x4a4c44
cmp byte [eax + 0xe], 0x2f
jne 0x4a4bd2
mov dword [esp + 0x3c], edi
mov cl, byte [eax + 0xd]
mov byte [esp + 0x30], 6
push ecx
lea ecx, [esp + 0x40]
call fcn.00499d50
push 0x3a
lea ecx, [esp + 0x40]
call fcn.00499d50
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x4a4b81
add eax, 0xc
jmp 0x4a4b86
mov eax, 0x7427d8
add eax, 2
lea edx, [esp + 0x14]
push eax
push edx
call fcn.004a48e0
add esp, 8
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 7
call fcn.00499d70
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 6
call fcn.00499a60
mov esi, dword [esp + 0x38]
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.00499b80
mov dword [esp + 0x10], ebx
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x3c]
jmp 0x4a4c3f
mov dword [esp + 0x3c], edi
push 0x5c
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 8
call fcn.00499d50
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x4a4bf3
add eax, 0xc
jmp 0x4a4bf8
mov eax, 0x7427d8
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.004a48e0
add esp, 8
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 9
call fcn.00499d70
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 8
call fcn.00499a60
mov esi, dword [esp + 0x38]
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.00499b80
mov dword [esp + 0x10], ebx
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x3c]
call fcn.00499a60
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.00499a60
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret