Function at 0x5a6610
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x667bc8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x704e7c]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebp, ecx
mov ecx, dword [0x70d218]
call fcn.00596770
test eax, eax
je 0x5a6941
lea eax, [esp + 0x16]
push eax
lea ecx, [esp + 0x1b]
push ecx
mov ecx, dword [0x70d218]
call fcn.00596790
lea ecx, [esp + 0x34]
call fcn.00597350
movzx eax, byte [esp + 0x16]
movzx ecx, byte [esp + 0x17]
lea edx, [esp + 0x34]
push edx
push eax
push ecx
xor ebx, ebx
mov ecx, ebp
mov dword [esp + 0x64], ebx
call fcn.005a62f0
test eax, eax
je 0x5a692b
mov ecx, dword [0x70d218]
call fcn.00596780
mov ecx, dword [0x70d218]
mov esi, eax
call fcn.005804e0
mov edi, eax
cmp dword [ebp + 0xe8], ebx
je 0x5a67bd
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x48]
mov eax, dword [edx]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], eax
call fcn.00596d90
mov eax, dword [eax]
mov eax, dword [eax + 8]
lea edx, [esp + 0x18]
push edx
push eax
mov ecx, ebp
call fcn.005a7e40
test eax, eax
je 0x5a67bd
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0x10], ebx
je 0x5a67bd
fld dword [0x673240]
mov ecx, dword [0x70d0dc]
sub esp, 0x10
fstp dword [esp + 0xc]
fldz
cmp dword [ebp + 0xec], ebx
je 0x5a6721
fstp dword [esp + 8]
fld1
fst dword [esp + 4]
jmp 0x5a672b
fst dword [esp + 8]
fstp dword [esp + 4]
fld1
fstp dword [esp]
call fcn.00554870
mov eax, dword [esp + 0x18]
fldz
movzx edi, byte [eax + 0x31]
mov ecx, dword [eax + 0x24]
mov esi, dword [eax + 0x20]
mov edx, dword [ebp + 0x3c]
movzx eax, byte [eax + 0x30]
mov ebp, dword [ebp + 0x38]
sub esp, 0x14
shl edi, 5
add edi, edx
fstp dword [esp + 0x10]
add edi, ecx
shl eax, 5
mov dword [esp + 0x30], edi
add eax, ebp
fild dword [esp + 0x30]
add eax, esi
mov dword [esp + 0x30], eax
add edx, ecx
mov ecx, dword [0x70d0dc]
fstp dword [esp + 0xc]
fild dword [esp + 0x30]
mov dword [esp + 0x30], edx
add ebp, esi
fstp dword [esp + 8]
fild dword [esp + 0x30]
mov dword [esp + 0x30], ebp
fstp dword [esp + 4]
fild dword [esp + 0x30]
fstp dword [esp]
call fcn.00555540
lea ecx, [esp + 0x34]
call fcn.005a8240
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
lea ecx, [esp + 0x34]
push ecx
push edi
push esi
mov ecx, ebp
call fcn.005a6120
fldz
mov ecx, dword [0x70d0dc]
test eax, eax
je 0x5a67f2
fstp st(0)
sub esp, 0x10
fld dword [0x673240]
fstp dword [esp + 0xc]
fld1
fst dword [esp + 8]
fst dword [esp + 4]
jmp 0x5a6809
fld dword [0x673240]
sub esp, 0x10
fstp dword [esp + 0xc]
fst dword [esp + 8]
fstp dword [esp + 4]
fld1
fstp dword [esp]
call fcn.00554870
mov ecx, dword [esp + 0x48]
mov edx, dword [ebp + 0x40]
mov eax, dword [ebp + 0x44]
mov edi, dword [ecx]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], esi
lea esp, [esp]
mov ebx, dword [esp + 0x48]
test esi, esi
je 0x5a684e
cmp esi, dword [esp + 0x34]
je 0x5a6853
call fcn.006111cc
cmp edi, ebx
je 0x5a68f8
test esi, esi
jne 0x5a68ed
call fcn.006111cc
cmp edi, dword [esi + 0x14]
jne 0x5a6872
call fcn.006111cc
mov eax, dword [edi + 8]
mov edx, dword [eax + 0x20]
mov esi, dword [ebp + 0x38]
lea ecx, [esi + edx]
cmp dword [esp + 0x24], ecx
jl 0x5a6888
mov dword [esp + 0x24], ecx
mov edi, dword [eax + 0x24]
mov ebx, dword [ebp + 0x3c]
lea ecx, [ebx + edi]
cmp dword [esp + 0x28], ecx
jl 0x5a689b
mov dword [esp + 0x28], ecx
movzx eax, byte [eax + 0x30]
shl eax, 5
lea ecx, [eax + esi]
add ecx, edx
cmp dword [esp + 0x2c], ecx
jg 0x5a68b1
mov dword [esp + 0x2c], ecx
add eax, ebx
add eax, edi
cmp dword [esp + 0x30], eax
jg 0x5a68bf
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x5a68f4
call fcn.006111cc
xor eax, eax
mov esi, dword [esp + 0x20]
cmp esi, dword [eax + 0x14]
jne 0x5a68dc
call fcn.006111cc
mov edx, dword [esi]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x20], edx
mov edi, edx
jmp 0x5a6840
mov esi, dword [esi]
jmp 0x5a6868
mov eax, dword [eax]
jmp 0x5a68ce
fldz
mov ecx, dword [0x70d0dc]
sub esp, 0x14
fstp dword [esp + 0x10]
fild dword [esp + 0x44]
fstp dword [esp + 0xc]
fild dword [esp + 0x40]
fstp dword [esp + 8]
fild dword [esp + 0x3c]
fstp dword [esp + 4]
fild dword [esp + 0x38]
fstp dword [esp]
call fcn.00555540
lea ecx, [esp + 0x34]
call fcn.005a7850
mov eax, dword [esp + 0x34]
push eax
call fcn.00610458
add esp, 4
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret