Function at 0x5ad0d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5eaac0
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x632da0]
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.00507ed0
lea ecx, [esp + 0x80]
mov dword [esp + 0xd8], 0
call fcn.005083d0
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.00508a20
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x88]
push edx
lea ecx, [esp + 0x70]
call fcn.00508280
mov edi, eax
test edi, edi
jne 0x5ad392
movzx eax, word [esi + 0x20]
test al, 2
jne 0x5ad2e0
cwde
and eax, 0xfffffffb
cmp ax, 2
je 0x5ad2e0
push edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x6c]
call fcn.00508310
mov ebx, dword [esp + 0x14]
test eax, eax
je 0x5ad278
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.00508310
test eax, eax
je 0x5ad2a5
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 0x5ad52e
mov eax, dword [ebx]
cmp eax, dword [ebp]
jne 0x5ad546
mov ecx, dword [ebx + 4]
cmp ecx, dword [ebp + 4]
jne 0x5ad546
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 0x5ad546
push 0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x6c]
call fcn.00508310
test eax, eax
je 0x5ad313
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 0x5ad546
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x88]
call fcn.00508310
test eax, eax
jne 0x5ad338
mov ecx, dword [esp + 0x18]
push ebp
call fcn.00455e10
test eax, eax
je 0x5ad34f
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.00508310
test eax, eax
jne 0x5ad378
mov ecx, dword [esp + 0x18]
push ebx
call fcn.00455e10
test eax, eax
je 0x5ad52e
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 0x5ad52e
mov eax, dword [esp + 0xe8]
cmp edi, 1
jne 0x5ad513
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 0x5ad45f
cwde
and eax, 0xfffffffb
cmp ax, 2
je 0x5ad45f
push 0
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x6c]
call fcn.00508310
test eax, eax
je 0x5ad3f7
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 0x5ad437
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x88]
call fcn.00508310
test eax, eax
jne 0x5ad422
mov edx, dword [esp + 0x14]
push edx
mov ecx, ebp
call fcn.00455e10
test eax, eax
je 0x5ad546
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.004fbee0
add esp, 8
test eax, eax
je 0x5ad533
mov edi, 1
jmp 0x5ad546
push 0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x88]
call fcn.00508310
test eax, eax
jne 0x5ad4fa
mov ecx, dword [esp + 0x18]
push ebx
call fcn.00455e10
test eax, eax
jne 0x5ad4fa
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x88]
call fcn.00508310
test eax, eax
jne 0x5ad4e0
mov ecx, dword [esp + 0x18]
push ebp
call fcn.00455e10
test eax, eax
jne 0x5ad4e0
push eax
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x6c]
call fcn.00508310
test eax, eax
je 0x5ad546
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 0x5ad533
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 0x5ad533
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 0x5ad533
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 0x5ad546
mov eax, dword [esp + 0xe8]
push esi
push 2
push eax
call fcn.0052b7a0
add esp, 0xc
lea ecx, [esp + 0x80]
mov byte [esp + 0xd8], 0
call fcn.00508430
lea ecx, [esp + 0x64]
mov dword [esp + 0xd8], 0xffffffff
call fcn.00507e60
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