Function at 0x5f5900
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64706d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x6a6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00409430
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
mov edx, dword [edi + 0x18]
test dl, 1
jne 0x5f5ba7
xor esi, esi
test dl, 2
jne 0x5f5a8f
mov eax, dword [ebp + 8]
xor edx, edx
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
div dword [edi + 0x10]
mov eax, dword [edi + 0x14]
mov esi, dword [eax + edx*4]
lea eax, [eax + edx*4]
mov dword [ebp - 0x14], eax
test esi, esi
je 0x5f5a8a
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov dword [ebp - 0x18], ecx
nop dword [eax + eax]
cmp dword [esi + 4], eax
je 0x5f59a6
mov dword [ebp - 0x18], esi
mov esi, dword [esi]
test esi, esi
jne 0x5f5990
mov esi, dword [ebp - 0x14]
jmp 0x5f5a8c
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x5f59b5
lea esi, [eax + 1]
jmp 0x5f5bac
sub eax, 2
je 0x5f59ea
sub eax, 0xc6
mov eax, dword [ebp + 0xc]
movups xmm0, xmmword [eax]
movups xmmword [esi + 8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 0x18], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [esi + 0x28], xmm0
movq xmm0, qword [eax + 0x30]
movq qword [esi + 0x38], xmm0
xor esi, esi
jmp 0x5f5bac
push ecx
lea ecx, [edi + 4]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.005f6470
mov ecx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x5f5ba7
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
movups xmm0, xmmword [eax]
movups xmmword [ecx + 8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ecx + 0x18], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ecx + 0x28], xmm0
movq xmm0, qword [eax + 0x30]
movq qword [ecx + 0x38], xmm0
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
test ecx, ecx
jne 0x5f5a44
mov ecx, dword [ebp - 0x14]
add edi, 0x1c
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x10], esi
mov eax, dword [edi]
cmp eax, edi
je 0x5f5a83
test eax, eax
je 0x5f5a83
nop dword [eax]
mov ecx, dword [eax]
cmp ecx, edi
mov dword [ebp + 8], 0
cmove ecx, dword [ebp + 8]
cmp dword [eax + 8], 0
je 0x5f5a7d
cmp dword [eax + 0xc], esi
jne 0x5f5a7d
mov dword [eax + 0xc], edx
mov eax, ecx
test ecx, ecx
jne 0x5f5a60
xor esi, esi
jmp 0x5f5bac
mov esi, eax
mov edx, dword [edi + 0x18]
mov eax, dword [edi + 8]
cmp dword [edi + 0xc], eax
jb 0x5f5b92
mov esi, 2
lea ecx, [eax + eax]
cmp eax, esi
cmovb ecx, esi
cmp ecx, dword [edi + 0xc]
jae 0x5f5ab7
mov esi, 3
jmp 0x5f5bac
mov eax, dword [edi]
push edx
push edi
push ecx
mov eax, dword [eax + 8]
mov ecx, edi
call eax
mov esi, eax
mov dword [ebp + 0x10], esi
test esi, esi
je 0x5f5ba7
mov cl, byte [esi + 0x18]
not cl
test cl, 1
je 0x5f5ba7
cmp dword [edi + 0x14], 0
je 0x5f5b71
cmp dword [edi + 0x10], 0
mov dword [ebp - 0x14], 0
jbe 0x5f5b71
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
nop
mov eax, dword [edi + 0x14]
mov eax, dword [ecx + eax]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x5f5b4c
mov edx, dword [ebp + 0x10]
add edx, 0x10
mov dword [ebp - 0x28], edx
mov esi, dword [eax]
xor edx, edx
dec dword [edi + 0xc]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x28]
div dword [ecx]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 0x14]
lea ecx, [eax + edx*4]
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx]
mov dword [ebp - 0x18], esi
mov dword [edx], eax
mov eax, esi
mov dword [ecx], edx
mov ecx, dword [ebp + 0x10]
inc dword [ecx + 0xc]
test esi, esi
jne 0x5f5b16
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [edi + 0x14]
add ecx, 4
mov dword [ebp - 0x1c], ecx
mov dword [edx + eax], 0
add edx, 4
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x14], eax
cmp eax, dword [edi + 0x10]
jb 0x5f5b00
mov esi, dword [ebp + 0x10]
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0xc]
mov eax, dword [ebp + 8]
xor edx, edx
mov eax, dword [eax]
div dword [edi + 0x10]
mov eax, dword [edi + 0x14]
lea esi, [eax + edx*4]
push ecx
lea ecx, [edi + 4]
push ecx
mov ecx, dword [ecx]
call fcn.005f6470
mov ecx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
jne 0x5f5bd6
mov esi, 2
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5f5bc1
push ecx
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x24]
push eax
call fcn.005f5180
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
movups xmm0, xmmword [eax]
movups xmmword [ecx + 8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ecx + 0x18], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ecx + 0x28], xmm0
movq xmm0, qword [eax + 0x30]
movq qword [ecx + 0x38], xmm0
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
mov dword [esi], eax
inc dword [edi + 0xc]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc