Function at 0x483660
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bbfa0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov al, byte [esp + 0x30]
push esi
push edi
push 0
lea ecx, [esp + 0xc]
mov byte [esp + 0xc], al
call fcn.00402d61
mov edx, dword [esp + 0x38]
mov dword [esp + 0x30], 0
test edx, edx
jne 0x4836a8
lea ecx, [esp + 8]
call fcn.004225d5
jmp 0x4836bf
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x10]
call fcn.00403141
mov edi, 0x4ed980
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x4be69c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x30], 1
push ecx
push edx
push 0x4ed980
lea ecx, [esp + 0x14]
call fcn.00484320
push eax
lea ecx, [esp + 0xc]
call fcn.004838d0
mov eax, dword [esp + 0x10]
test eax, eax
mov edi, eax
je 0x483881
mov esi, dword [esp + 0x3c]
cmp dword [esi + 8], eax
jl 0x483881
push ebx
mov ebx, dword [esp + 0x10]
test ebx, ebx
jne 0x48371f
mov ebx, 0x4bef90
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.00483a50
push ebx
mov ecx, eax
mov byte [esp + 0x38], 2
call dword [esp + 0x48]
test eax, eax
push 1
lea ecx, [esp + 0x20]
sete bl
mov byte [esp + 0x38], 1
call fcn.00402d61
test bl, bl
pop ebx
je 0x483881
mov eax, dword [esi + 8]
cmp eax, edi
jne 0x4837ad
mov ecx, esi
call fcn.00403060
mov eax, dword [esi + 4]
test eax, eax
jne 0x48376f
xor edi, edi
jmp 0x483774
mov edi, dword [esi + 8]
add edi, eax
mov ecx, esi
call fcn.00403060
mov eax, dword [esi + 4]
push edi
push eax
mov ecx, esi
call fcn.00422879
push 1
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0xffffffff
call fcn.00402d61
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
ja 0x4837b4
call fcn.004918e7
mov edx, dword [esi + 4]
mov al, byte [edx + edi]
cmp al, 0x5c
je 0x4837c6
cmp al, 0x2f
jne 0x483881
lea eax, [esp + 0x18]
push edi
push eax
mov ecx, esi
call fcn.00483af0
mov ecx, dword [0x4be69c]
mov byte [esp + 0x30], 3
push ecx
push 0
push eax
mov ecx, esi
call fcn.0041ce6d
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call fcn.00402d61
mov edi, 0x4ed980
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push eax
push 0x4ed980
mov ecx, esi
call fcn.004842c0
mov edi, eax
mov eax, dword [0x4be69c]
cmp edi, eax
jne 0x48382b
push eax
push 0
mov ecx, esi
call fcn.00402cfa
test edi, edi
je 0x483839
push edi
push 0
mov ecx, esi
call fcn.00402cfa
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x48386e
mov al, byte [ecx - 1]
test al, al
je 0x483864
cmp al, 0xff
je 0x483864
dec al
pop edi
mov byte [ecx - 1], al
mov al, 1
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
dec ecx
push ecx
call fcn.00491430
add esp, 4
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4838b6
mov al, byte [ecx - 1]
test al, al
je 0x4838ac
cmp al, 0xff
je 0x4838ac
dec al
pop edi
mov byte [ecx - 1], al
xor al, al
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
dec ecx
push ecx
call fcn.00491430
add esp, 4
mov ecx, dword [esp + 0x28]
pop edi
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret