Function at 0x10059660
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov edx, dword [ebp + 8]
sub esp, 0x68
movzx ecx, byte [edx + 6]
movzx eax, byte [edx + 7]
shl ecx, 8
or ecx, eax
and ecx, 0x7fff
push esi
push edi
cmp ecx, dword [0x1013ab88]
jne 0x100597fe
mov edi, dword [0x102f4770]
mov esi, dword [edi + 4]
cmp byte [esi + 0xd], 0
jne 0x100596ca
nop dword [eax]
push dword [esi + 8]
mov ecx, 0x102f4770
push 0x102f4770
call fcn.10016cd0
mov eax, esi
mov esi, dword [esi]
push 0x2c
push eax
call fcn.1007bb90
add esp, 8
cmp byte [esi + 0xd], 0
je 0x100596a0
mov edx, dword [ebp + 8]
mov dword [edi + 4], edi
mov dword [edi], edi
mov dword [edi + 8], edi
xor edi, edi
mov dword [0x102f4774], 0
cmp byte [edx + 0x36], 0
jbe 0x10059966
lea esi, [edx + 0x43]
nop dword [eax + eax]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
mov dword [esp + 0x18], eax
mov eax, dword [esi - 4]
mov dword [esp + 0x14], eax
mov eax, dword [esi - 8]
mov dword [esp + 0xc], ecx
mov ecx, dword [0x102f4770]
mov dword [esp + 0x10], eax
mov al, byte [esi - 0xc]
mov byte [esp + 0xb], al
movzx edx, al
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x10059744
nop dword [eax + eax]
cmp dword [eax + 0x10], edx
jge 0x1005973a
mov eax, dword [eax + 8]
jmp 0x1005973e
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x10059730
cmp byte [ecx + 0xd], 0
jne 0x10059756
cmp edx, dword [ecx + 0x10]
jl 0x10059756
mov eax, dword [0x102f4770]
jmp 0x1005975d
mov eax, dword [0x102f4770]
mov ecx, eax
mov edx, dword [esp + 0xc]
cmp ecx, eax
mov al, byte [esp + 0xb]
jne 0x100597c1
mov dword [esp + 0x24], edx
mov ecx, 0x102f4770
mov edx, dword [esp + 0x10]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x14]
mov byte [esp + 0x20], al
mov dword [esp + 0x2c], edx
movups xmm0, xmmword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov byte [esp + 0x4c], al
lea eax, [esp + 0x4c]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x1c]
push eax
mov dword [esp + 0x38], edx
lea eax, [esp + 0x6c]
movups xmmword [esp + 0x54], xmm0
push eax
movq xmm0, qword [esp + 0x38]
movq qword [esp + 0x68], xmm0
call fcn.1005aa70
jmp 0x100597e3
mov dword [ecx + 0x18], edx
mov edx, dword [esp + 0x10]
mov dword [ecx + 0x1c], edx
mov edx, dword [esp + 0x14]
mov dword [ecx + 0x20], edx
mov edx, dword [esp + 0x18]
mov dword [ecx + 0x24], edx
mov edx, dword [esp + 0x1c]
mov byte [ecx + 0x14], al
mov dword [ecx + 0x28], edx
mov eax, dword [ebp + 8]
inc edi
add esi, 0x18
movzx eax, byte [eax + 0x36]
cmp edi, eax
jl 0x100596f0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov edi, dword [0x102f4778]
mov esi, dword [edi + 4]
cmp byte [esi + 0xd], 0
jne 0x1005983a
nop dword [eax]
push dword [esi + 8]
mov ecx, 0x102f4778
push 0x102f4778
call fcn.10016cd0
mov eax, esi
mov esi, dword [esi]
push 0x2c
push eax
call fcn.1007bb90
add esp, 8
cmp byte [esi + 0xd], 0
je 0x10059810
mov edx, dword [ebp + 8]
mov dword [edi + 4], edi
mov dword [edi], edi
mov dword [edi + 8], edi
xor edi, edi
mov dword [0x102f477c], 0
cmp byte [edx + 0x36], 0
jbe 0x10059966
lea esi, [edx + 0x43]
nop dword [eax + eax]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov dword [esp + 0x10], eax
mov eax, dword [esi - 4]
mov dword [esp + 0x14], eax
mov eax, dword [esi - 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x102f4778]
mov dword [esp + 0x18], eax
mov al, byte [esi - 0xc]
mov byte [esp + 0xb], al
movzx edx, al
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x100598b4
nop dword [eax + eax]
cmp dword [eax + 0x10], edx
jge 0x100598aa
mov eax, dword [eax + 8]
jmp 0x100598ae
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x100598a0
cmp byte [ecx + 0xd], 0
jne 0x100598c6
cmp edx, dword [ecx + 0x10]
jl 0x100598c6
mov eax, dword [0x102f4778]
jmp 0x100598cd
mov eax, dword [0x102f4778]
mov ecx, eax
mov edx, dword [esp + 0x1c]
cmp ecx, eax
mov al, byte [esp + 0xb]
jne 0x10059931
mov dword [esp + 0x24], edx
mov ecx, 0x102f4778
mov edx, dword [esp + 0x18]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x14]
mov byte [esp + 0x20], al
mov dword [esp + 0x2c], edx
movups xmm0, xmmword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov byte [esp + 0x4c], al
lea eax, [esp + 0x4c]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0xc]
push eax
mov dword [esp + 0x38], edx
lea eax, [esp + 0x6c]
movups xmmword [esp + 0x54], xmm0
push eax
movq xmm0, qword [esp + 0x38]
movq qword [esp + 0x68], xmm0
call fcn.1005aa70
jmp 0x10059953
mov dword [ecx + 0x18], edx
mov edx, dword [esp + 0x18]
mov dword [ecx + 0x1c], edx
mov edx, dword [esp + 0x14]
mov dword [ecx + 0x20], edx
mov edx, dword [esp + 0x10]
mov dword [ecx + 0x24], edx
mov edx, dword [esp + 0xc]
mov byte [ecx + 0x14], al
mov dword [ecx + 0x28], edx
mov eax, dword [ebp + 8]
inc edi
add esi, 0x18
movzx eax, byte [eax + 0x36]
cmp edi, eax
jl 0x10059860
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4