Function at 0x5b18f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f0430
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x638190]
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.0050a800
lea ecx, [esp + 0x80]
mov dword [esp + 0xd8], 0
call fcn.0050ad30
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.0050b390
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x88]
push edx
lea ecx, [esp + 0x70]
call fcn.0050abb0
mov edi, eax
test edi, edi
jne 0x5b1bb2
movzx eax, word [esi + 0x20]
test al, 2
jne 0x5b1b00
cwde
and eax, 0xfffffffb
cmp ax, 2
je 0x5b1b00
push edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x6c]
call fcn.0050ac40
mov ebx, dword [esp + 0x14]
test eax, eax
je 0x5b1a98
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.0050ac40
test eax, eax
je 0x5b1ac5
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 0x5b1d4e
mov eax, dword [ebx]
cmp eax, dword [ebp]
jne 0x5b1d66
mov ecx, dword [ebx + 4]
cmp ecx, dword [ebp + 4]
jne 0x5b1d66
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 0x5b1d66
push 0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x6c]
call fcn.0050ac40
test eax, eax
je 0x5b1b33
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 0x5b1d66
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x88]
call fcn.0050ac40
test eax, eax
jne 0x5b1b58
mov ecx, dword [esp + 0x18]
push ebp
call fcn.00456a80
test eax, eax
je 0x5b1b6f
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.0050ac40
test eax, eax
jne 0x5b1b98
mov ecx, dword [esp + 0x18]
push ebx
call fcn.00456a80
test eax, eax
je 0x5b1d4e
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 0x5b1d4e
mov eax, dword [esp + 0xe8]
cmp edi, 1
jne 0x5b1d33
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 0x5b1c7f
cwde
and eax, 0xfffffffb
cmp ax, 2
je 0x5b1c7f
push 0
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x6c]
call fcn.0050ac40
test eax, eax
je 0x5b1c17
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 0x5b1c57
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x88]
call fcn.0050ac40
test eax, eax
jne 0x5b1c42
mov edx, dword [esp + 0x14]
push edx
mov ecx, ebp
call fcn.00456a80
test eax, eax
je 0x5b1d66
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.004fa8a0
add esp, 8
test eax, eax
je 0x5b1d53
mov edi, 1
jmp 0x5b1d66
push 0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x88]
call fcn.0050ac40
test eax, eax
jne 0x5b1d1a
mov ecx, dword [esp + 0x18]
push ebx
call fcn.00456a80
test eax, eax
jne 0x5b1d1a
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x88]
call fcn.0050ac40
test eax, eax
jne 0x5b1d00
mov ecx, dword [esp + 0x18]
push ebp
call fcn.00456a80
test eax, eax
jne 0x5b1d00
push eax
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x6c]
call fcn.0050ac40
test eax, eax
je 0x5b1d66
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 0x5b1d53
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 0x5b1d53
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 0x5b1d53
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 0x5b1d66
mov eax, dword [esp + 0xe8]
push esi
push 2
push eax
call fcn.0052f650
add esp, 0xc
lea ecx, [esp + 0x80]
mov byte [esp + 0xd8], 0
call fcn.0050ad90
lea ecx, [esp + 0x64]
mov dword [esp + 0xd8], 0xffffffff
call fcn.0050a7b0
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