Function at 0x4f75b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d9e98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x14]
call fcn.00558060
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0
call fcn.00558060
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 1
call fcn.00558060
mov bl, byte [esp + 0x28]
mov esi, dword [esp + 0x30]
cmp bl, 1
mov byte [esp + 0x20], 2
jne 0x4f7620
movsx cx, byte [0x60dbfc]
mov al, byte [esp + 0x2c]
push ecx
mov byte [0x60dc00], al
push 0x60dbfd
jmp 0x4f7650
cmp bl, 2
jne 0x4f7659
mov dl, byte [esp + 0x2c]
mov byte [0x60dc08], dl
mov ax, word [esi]
movsx dx, byte [0x60dc04]
sar eax, 8
mov byte [0x60dc09], al
mov cl, byte [esi]
push edx
mov byte [0x60dc0a], cl
push 0x60dc05
lea ecx, [esp + 0x1c]
call fcn.00558600
lea eax, [esp + 0xc]
lea edx, [esp + 0x14]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00558070
call fcn.00503c80
add esp, 8
test ax, ax
jg 0x4f76c1
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 1
call fcn.005581a0
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.005581a0
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
call fcn.005581a0
or ax, 0xffff
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 0x10
push 2
lea ecx, [esp + 0x10]
call fcn.00558380
cmp al, 0xe6
je 0x4f7714
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 1
call fcn.005581a0
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.005581a0
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
call fcn.005581a0
xor ax, ax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 0x10
push 1
push 0x619c10
lea ecx, [esp + 0x18]
call fcn.00558600
cmp bl, 1
jne 0x4f7750
push 4
lea ecx, [esp + 0x10]
call fcn.00558380
xor bx, bx
push 5
mov bl, al
lea ecx, [esp + 0x10]
shl ebx, 8
call fcn.00558380
movzx ax, al
add ebx, eax
mov word [esi], bx
push 0
lea ecx, [esp + 0x10]
call fcn.00558380
cmp al, 6
ja 0x4f77a4
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 1
call fcn.005581a0
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.005581a0
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
call fcn.005581a0
mov ax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 0x10
xor esi, esi
lea ecx, [esp + 0xc]
push esi
call fcn.00558380
and eax, 0xff
sub eax, 4
test eax, eax
jle 0x4f77eb
lea ecx, [esi + 5]
push ecx
lea ecx, [esp + 0x10]
call fcn.00558380
push eax
lea ecx, [esp + 0x14]
call fcn.00558360
push 0
lea ecx, [esp + 0x10]
inc esi
call fcn.00558380
and eax, 0xff
sub eax, 4
cmp esi, eax
jl 0x4f77bc
lea ecx, [esp + 0x10]
call fcn.00558520
dec al
lea ecx, [esp + 0x10]
push eax
push 0
call fcn.005584a0
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x10]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00558070
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, edi
call fcn.004f21b0
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x20], 1
call fcn.005581a0
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.005581a0
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
call fcn.005581a0
mov ecx, dword [esp + 0x18]
mov ax, si
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 0x10