Function at 0x5ab100
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e8910
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62fda0]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov edi, dword [esp + 0xe4]
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov esi, dword [edi + 4]
push eax
lea ebp, [edi + 0xc]
push ecx
lea ebx, [edi + 4]
push edx
push esi
lea ecx, [esp + 0x74]
call fcn.00506100
lea ecx, [esp + 0x80]
mov dword [esp + 0xd8], 0
call fcn.00506600
mov esi, dword [esp + 0xe0]
mov eax, dword [esi + 8]
mov edx, dword [esi]
mov edx, dword [edx + 0x28]
lea ecx, [esi + 4]
mov dword [esp + 0x18], ecx
mov ecx, dword [ecx]
mov dword [esp + 0x48], eax
lea eax, [esp + 0xc0]
mov dword [esp + 0x44], ecx
push eax
mov ecx, esi
mov byte [esp + 0xdc], 1
call edx
mov eax, dword [eax + 4]
mov edx, dword [esi]
mov edx, dword [edx + 0x28]
mov dword [esp + 0x14], eax
lea eax, [esp + 0xc8]
push eax
mov ecx, esi
call edx
mov eax, dword [eax]
mov edx, dword [edi + 8]
mov ecx, dword [esp + 0x14]
mov edi, dword [edi + 0x10]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x3c], edx
mov edx, dword [ebx]
mov dword [esp + 0x58], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x34], edx
mov dx, word [esi + 0x20]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x38], eax
xor eax, eax
and dx, 0xfff9
cmp dx, 1
lea ecx, [esi + 0xc]
mov dword [esp + 0x14], ecx
mov ecx, dword [ecx]
setne al
mov dword [esp + 0x54], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x40], edi
mov ecx, dword [esp + 0x40]
mov edi, dword [ebp]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x1c]
push eax
push ecx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x94]
mov dword [esp + 0x30], edi
call fcn.00506c50
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x88]
push edx
lea ecx, [esp + 0x70]
call fcn.005064b0
mov edi, eax
test edi, edi
jne 0x5ab3c2
movzx eax, word [esi + 0x20]
test al, 2
jne 0x5ab310
cwde
and eax, 0xfffffffb
cmp ax, 2
je 0x5ab310
push edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x6c]
call fcn.00506540
mov ebx, dword [esp + 0x14]
test eax, eax
je 0x5ab2a8
mov edx, dword [ebx]
mov ecx, dword [esp + 0xe8]
mov dword [ecx], edx
mov eax, dword [ebx + 4]
mov edi, 1
mov dword [ecx + 4], eax
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x88]
call fcn.00506540
test eax, eax
je 0x5ab2d5
mov ecx, dword [esp + 0xe8]
mov edx, dword [ebp]
lea eax, [ecx + edi*8]
mov dword [eax], edx
mov ecx, dword [ebp + 4]
inc edi
mov dword [eax + 4], ecx
test edi, edi
jne 0x5ab55e
mov eax, dword [ebx]
cmp eax, dword [ebp]
jne 0x5ab576
mov ecx, dword [ebx + 4]
cmp ecx, dword [ebp + 4]
jne 0x5ab576
mov edx, dword [ebp]
mov eax, dword [esp + 0xe8]
mov dword [eax], edx
mov ebp, dword [ebp + 4]
mov edi, 1
mov dword [eax + 4], ebp
jmp 0x5ab576
push 0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x6c]
call fcn.00506540
test eax, eax
je 0x5ab343
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [esp + 0xe8]
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov edi, 1
mov dword [eax + 4], ecx
jmp 0x5ab576
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x88]
call fcn.00506540
test eax, eax
jne 0x5ab368
mov ecx, dword [esp + 0x18]
push ebp
call fcn.00454440
test eax, eax
je 0x5ab37f
mov ecx, dword [ebp]
mov eax, dword [esp + 0xe8]
mov dword [eax], ecx
mov ebp, dword [ebp + 4]
mov edi, 1
mov dword [eax + 4], ebp
push 0
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x88]
call fcn.00506540
test eax, eax
jne 0x5ab3a8
mov ecx, dword [esp + 0x18]
push ebx
call fcn.00454440
test eax, eax
je 0x5ab55e
mov eax, dword [esp + 0xe8]
mov ecx, dword [ebx]
lea eax, [eax + edi*8]
mov dword [eax], ecx
mov ebx, dword [ebx + 4]
inc edi
mov dword [eax + 4], ebx
jmp 0x5ab55e
mov eax, dword [esp + 0xe8]
cmp edi, 1
jne 0x5ab543
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [eax], edx
mov dword [eax + 4], ecx
movzx eax, word [esi + 0x20]
test al, 2
jne 0x5ab48f
cwde
and eax, 0xfffffffb
cmp ax, 2
je 0x5ab48f
push 0
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x6c]
call fcn.00506540
test eax, eax
je 0x5ab427
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xe8]
mov edx, dword [ecx]
add eax, 8
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
jmp 0x5ab467
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x88]
call fcn.00506540
test eax, eax
jne 0x5ab452
mov edx, dword [esp + 0x14]
push edx
mov ecx, ebp
call fcn.00454440
test eax, eax
je 0x5ab576
mov eax, dword [esp + 0xe8]
mov ecx, dword [ebp]
add eax, 8
mov dword [eax], ecx
mov ebp, dword [ebp + 4]
mov dword [eax + 4], ebp
mov edx, dword [esp + 0xe8]
push eax
push edx
mov edi, 2
call fcn.004fa0c0
add esp, 8
test eax, eax
je 0x5ab563
mov edi, 1
jmp 0x5ab576
push 0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x88]
call fcn.00506540
test eax, eax
jne 0x5ab52a
mov ecx, dword [esp + 0x18]
push ebx
call fcn.00454440
test eax, eax
jne 0x5ab52a
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x88]
call fcn.00506540
test eax, eax
jne 0x5ab510
mov ecx, dword [esp + 0x18]
push ebp
call fcn.00454440
test eax, eax
jne 0x5ab510
push eax
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x6c]
call fcn.00506540
test eax, eax
je 0x5ab576
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [esp + 0xe8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 4]
mov edi, 2
mov dword [eax + 0xc], ecx
jmp 0x5ab563
mov ecx, dword [ebp]
mov eax, dword [esp + 0xe8]
mov dword [eax + 8], ecx
mov ebp, dword [ebp + 4]
mov edi, 2
mov dword [eax + 0xc], ebp
jmp 0x5ab563
mov edx, dword [ebx]
mov eax, dword [esp + 0xe8]
mov dword [eax + 8], edx
mov ebx, dword [ebx + 4]
mov edi, 2
mov dword [eax + 0xc], ebx
jmp 0x5ab563
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
cmp edi, 2
jne 0x5ab576
mov eax, dword [esp + 0xe8]
push esi
push 2
push eax
call fcn.005299a0
add esp, 0xc
lea ecx, [esp + 0x80]
mov byte [esp + 0xd8], 0
call fcn.00506660
lea ecx, [esp + 0x64]
mov dword [esp + 0xd8], 0xffffffff
call fcn.005060b0
mov eax, edi
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc8
ret