Function at 0x4d17c2
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ac060
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0
call fcn.00515c44
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call fcn.00515c44
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.00515c44
mov bl, 3
push 0x523b84
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], bl
call fcn.00515c5c
test eax, eax
jge 0x4d18d5
lea eax, [esp + 0x34]
lea ecx, [esp + 0xc]
push eax
call fcn.00515cb0
mov ecx, dword [esp + 0x38]
mov eax, 0x523b74
test ecx, ecx
jne 0x4d1846
mov eax, 0x52e640
mov edi, dword [esp + 0x3c]
xor edx, edx
test edi, edi
sete dl
push edx
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.00515dfa
push ecx
mov byte [esp + 0x3c], 4
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x52e640
call fcn.00515dfa
push ecx
mov byte [esp + 0x40], 5
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x52e640
call fcn.00515dfa
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
mov byte [esp + 0x48], 6
call fcn.00515c2c
lea ecx, [esp + 0x50]
mov byte [esp + 0x44], bl
push ecx
call fcn.00517782
mov ecx, eax
call fcn.00517ad2
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 8
call fcn.00515cb0
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], bl
call fcn.00515c26
jmp 0x4d191f
mov edx, dword [esp + 0x34]
push 0x5c
lea ecx, [esp + 0x38]
mov esi, dword [edx - 8]
call fcn.00515e0c
sub esi, eax
lea eax, [esp + 0x38]
push esi
push eax
lea ecx, [esp + 0x3c]
call fcn.00515eb4
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 9
call fcn.00515cb0
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], bl
call fcn.00515c26
push 0x5c
lea ecx, [esp + 0x10]
call fcn.00515ea8
mov ecx, dword [esp + 0x34]
mov edi, dword [fcn.004b7280]
push ecx
call edi
mov esi, eax
test esi, esi
jne 0x4d1996
mov edx, dword [esp + 0xc]
push edx
call edi
mov esi, eax
test esi, esi
jne 0x4d1996
call dword [fcn.004b72a0]
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x2c], 2
call fcn.00515c26
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call fcn.00515c26
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.00515c26
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00515c26
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret
push 0x523b60
push esi
call dword [0x4b7268]
test eax, eax
jne 0x4d19fd
call dword [fcn.004b72a0]
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x2c], 2
call fcn.00515c26
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call fcn.00515c26
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.00515c26
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00515c26
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret
call eax
push esi
call dword [fcn.004b7284]
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.00515c26
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call fcn.00515c26
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.00515c26
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00515c26
mov ecx, dword [esp + 0x24]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret