Function at 0x57ca00
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [ecx + 0x1f0]
push ebx
push esi
mov esi, dword [ecx]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x24], eax
push edi
mov edi, edx
lea eax, [ecx*8]
mov dword [esp + 0x14], edi
sub eax, ecx
inc eax
cmp dword [ebp + 0x10], 0
mov edx, dword [edi + 8]
mov ebx, dword [edx + eax*8 + 0x10]
lea ecx, [edx + eax*8]
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
je 0x57ca5a
cmp dword [ebp + 0xc], 0
jne 0x57ca9d
cmp word [edx], 1
jg 0x57ca9d
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 8]
test eax, eax
je 0x57ca6a
cmp dword [edi + 0x28], 0
jne 0x57ca9d
cmp dword [ebx + 0x2c], 0
jne 0x57ca9d
cmp dword [edi + 0x24], 0
je 0x57ca80
test eax, eax
je 0x57ca80
cmp dword [ebx + 0x18], 0
jne 0x57ca9d
cmp word [ecx], 0
je 0x57ca9d
test byte [ebx + 6], 1
jne 0x57ca90
test eax, eax
je 0x57caa6
cmp word [edx], 1
jg 0x57ca9d
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x57caa9
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
test byte [edi + 6], 1
je 0x57cab5
cmp dword [ebp + 0x10], 0
jne 0x57ca9d
cmp dword [edi + 0x18], 0
je 0x57cac1
cmp dword [ebx + 0x18], 0
jne 0x57ca9d
test ecx, ecx
je 0x57cacb
cmp dword [ebx + 0x18], 0
jne 0x57ca9d
test eax, eax
je 0x57cad5
cmp dword [edi + 0xc], 0
jne 0x57ca9d
mov eax, dword [esp + 0x18]
test byte [eax + 0x15], 0x20
jne 0x57ca9d
cmp dword [ebx + 0x1c], 0
je 0x57cb52
cmp dword [ebx + 0x18], 0
jne 0x57ca9d
test ecx, ecx
jne 0x57ca9d
test byte [edi + 6], 1
jne 0x57ca9d
cmp word [edx], 1
jne 0x57ca9d
mov eax, ebx
nop dword [eax]
test byte [eax + 6], 5
jne 0x57ca9d
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x57cb13
cmp byte [eax + 4], 0x70
jne 0x57ca9d
mov eax, dword [eax + 8]
test eax, eax
je 0x57ca9d
cmp word [eax], 1
jne 0x57ca9d
mov eax, ecx
test eax, eax
jne 0x57cb00
mov eax, dword [edi + 0x18]
test eax, eax
je 0x57cb52
mov ecx, dword [eax]
xor edx, edx
test ecx, ecx
jle 0x57cb52
mov eax, dword [eax + 0xc]
add eax, 0xe
nop
cmp word [eax], 0
je 0x57ca9d
inc edx
add eax, 0x14
cmp edx, ecx
jl 0x57cb40
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov dword [ecx + 0x1f0], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x24], eax
test eax, eax
je 0x57cc01
nop
mov eax, dword [esp + 0x14]
mov edx, eax
mov ebx, dword [edi + 0x18]
mov edi, dword [edi + 0x28]
push 0
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x2c], ecx
mov ecx, esi
mov dword [eax + 0x18], 0
mov dword [eax + 8], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x28], 0
call fcn.00599a30
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx + 0x28], edi
mov edi, ecx
mov ecx, dword [esp + 0x20]
mov dword [edi + 0x18], ebx
mov dword [edi + 8], ecx
mov byte [edi + 4], 0x70
mov dword [edi + 0x24], 0
test eax, eax
jne 0x57cbd3
mov eax, dword [esp + 0x28]
jmp 0x57cbe1
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x24], 0
mov dword [edi + 0x1c], eax
cmp byte [esi + 0x1e], 0
jne 0x57d0bc
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x57cb70
mov edx, dword [esp + 0x18]
mov ebx, dword [edx + 0x10]
mov ecx, dword [edx]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x20], ebx
test esi, esi
je 0x57cc43
test ecx, ecx
je 0x57cc43
cmp ecx, dword [esi + 0xf0]
jb 0x57cc43
cmp ecx, dword [esi + 0xf4]
jae 0x57cc43
mov eax, dword [esi + 0xec]
mov dword [ecx], eax
dec dword [esi + 0xe4]
mov dword [esi + 0xec], ecx
mov ecx, dword [edx + 4]
jmp 0x57cc57
push ecx
call fcn.005bb990
mov edx, dword [esp + 0x1c]
add esp, 4
mov ecx, dword [edx + 4]
test esi, esi
je 0x57cc84
test ecx, ecx
je 0x57cc84
cmp ecx, dword [esi + 0xf0]
jb 0x57cc84
cmp ecx, dword [esi + 0xf4]
jae 0x57cc84
mov eax, dword [esi + 0xec]
mov dword [ecx], eax
dec dword [esi + 0xe4]
mov dword [esi + 0xec], ecx
mov ecx, dword [edx + 8]
jmp 0x57cc98
push ecx
call fcn.005bb990
mov eax, dword [esp + 0x1c]
add esp, 4
mov ecx, dword [eax + 8]
test esi, esi
je 0x57ccc2
test ecx, ecx
je 0x57ccc2
cmp ecx, dword [esi + 0xf0]
jb 0x57ccc2
cmp ecx, dword [esi + 0xf4]
jae 0x57ccc2
mov eax, dword [esi + 0xec]
mov dword [ecx], eax
dec dword [esi + 0xe4]
mov dword [esi + 0xec], ecx
jmp 0x57cccb
push ecx
call fcn.005bb990
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0x10], 0
test ecx, ecx
je 0x57cd1f
movzx eax, word [ecx + 0x20]
cmp eax, 1
jne 0x57cd0f
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x20c]
mov dword [ecx + 0x44], eax
mov dword [edx + 0x20c], ecx
jmp 0x57cd14
dec eax
mov word [ecx + 0x20], ax
mov eax, dword [esp + 0x18]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp + 8]
lea eax, [ecx*8]
sub eax, ecx
shl eax, 3
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 8]
mov edx, dword [edi + 8]
mov byte [esp + 0x13], 0
mov dword [esp + 0x30], eax
movsx ecx, word [eax]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
test edx, edx
je 0x57cd5d
mov eax, dword [esp + 0x18]
mov al, byte [eax + 0x15]
mov byte [esp + 0x13], al
jmp 0x57cd82
push 0
push 0
xor edx, edx
mov ecx, esi
call fcn.0058ed50
mov edx, eax
add esp, 8
mov dword [esp + 0x28], edx
mov dword [edi + 8], edx
test edx, edx
je 0x57d06e
mov ecx, dword [esp + 0x24]
cmp ecx, 1
jle 0x57cdb1
mov eax, dword [ebp + 8]
inc eax
push eax
lea eax, [ecx - 1]
mov ecx, esi
push eax
call fcn.0058efc0
mov edx, eax
add esp, 8
mov dword [edi + 8], edx
cmp byte [esi + 0x1e], 0
mov dword [esp + 0x28], edx
jne 0x57d06e
mov ecx, dword [esp + 0x24]
test ecx, ecx
jle 0x57ce15
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
add edi, 8
add ebx, 8
add edi, edx
mov edx, dword [edi + 0x20]
mov ecx, esi
call fcn.0058f190
movups xmm0, xmmword [ebx]
push 0x38
push 0
movups xmmword [edi], xmm0
push ebx
movups xmm0, xmmword [ebx + 0x10]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [ebx + 0x20]
movups xmmword [edi + 0x20], xmm0
movq xmm0, qword [ebx + 0x30]
movq qword [edi + 0x30], xmm0
call fcn.004a75b0
add esp, 0xc
lea edi, [edi + 0x38]
add ebx, 0x38
sub dword [esp + 0x24], 1
jne 0x57cdc5
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov al, byte [esp + 0x13]
mov byte [ecx + edx + 0x1d], al
xor ecx, ecx
mov eax, dword [edi]
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
cmp dword [eax], ecx
jle 0x57ce6d
xor ebx, ebx
mov edi, eax
mov eax, dword [edi + 0xc]
cmp dword [eax + ebx + 4], 0
jne 0x57ce59
mov edx, dword [eax + ebx + 8]
test edx, edx
je 0x57ce59
mov ecx, esi
call fcn.005bb430
mov ecx, dword [edi + 0xc]
mov dword [ecx + ebx + 4], eax
mov ecx, dword [esp + 0x28]
inc ecx
add ebx, 0x14
mov dword [esp + 0x28], ecx
cmp ecx, dword [edi]
jl 0x57ce35
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov eax, dword [edi]
mov ecx, dword [ebx]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], eax
test eax, eax
je 0x57cec8
cmp dword [eax], 0
mov dword [esp + 0x28], 0
jle 0x57cec8
xor ebx, ebx
mov edi, eax
nop
mov edx, dword [edi + 0xc]
push ecx
push dword [esp + 0x20]
mov ecx, esi
mov edx, dword [edx + ebx]
call fcn.0057d2b0
mov ecx, dword [edi + 0xc]
lea ebx, [ebx + 0x14]
add esp, 8
mov dword [ebx + ecx - 0x14], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [edi]
jl 0x57ce90
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
cmp dword [ebp + 0xc], 0
je 0x57cf3e
mov eax, dword [edi + 0x10]
mov ecx, dword [ebx]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], eax
test eax, eax
je 0x57cf28
cmp dword [eax], 0
mov dword [esp + 0x28], 0
jle 0x57cf28
xor ebx, ebx
mov edi, eax
mov edx, dword [edi + 0xc]
push ecx
push dword [esp + 0x20]
mov ecx, esi
mov edx, dword [edx + ebx]
call fcn.0057d2b0
mov ecx, dword [edi + 0xc]
lea ebx, [ebx + 0x14]
add esp, 8
mov dword [ebx + ecx - 0x14], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [edi]
jl 0x57cef0
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
push dword [ebx]
mov edx, dword [edi + 0x14]
mov ecx, esi
push dword [esp + 0x20]
call fcn.0057d2b0
add esp, 8
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x57cf51
mov dword [edi + 0x18], eax
mov dword [ebx + 0x18], 0
jmp 0x57cfab
mov eax, dword [edi + 0x18]
mov dword [esp + 0x30], eax
test eax, eax
je 0x57cfab
cmp dword [eax], 0
mov ecx, dword [ebx]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], 0
jle 0x57cfab
xor ebx, ebx
mov edi, eax
mov edx, dword [edi + 0xc]
push ecx
push dword [esp + 0x20]
mov ecx, esi
mov edx, dword [ebx + edx]
call fcn.0057d2b0
mov ecx, dword [edi + 0xc]
lea ebx, [ebx + 0x14]
add esp, 8
mov dword [ebx + ecx - 0x14], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [edi]
jl 0x57cf73
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x57cfc2
push 0
push 0
mov ecx, esi
call fcn.0059a730
add esp, 8
jmp 0x57cfc4
xor eax, eax
cmp dword [ebp + 0x10], 0
mov ecx, esi
mov edx, dword [edi + 0xc]
mov dword [esp + 0x28], eax
je 0x57d01a
mov dword [edi + 0x14], edx
mov dword [edi + 0xc], eax
push dword [ebx]
push dword [esp + 0x20]
call fcn.0057d2b0
mov dword [edi + 0x14], eax
mov ecx, esi
mov edx, dword [ebx + 0x14]
push 0
push 0
call fcn.0059a730
mov edx, dword [edi + 0x14]
mov ecx, esi
push eax
call fcn.0059afa0
add esp, 0x14
mov dword [edi + 0x14], eax
mov edx, dword [ebx + 0x10]
mov ecx, esi
push 0
call fcn.0059a300
add esp, 4
mov dword [edi + 0x10], eax
jmp 0x57d03b
push dword [ebx]
push dword [esp + 0x20]
call fcn.0057d2b0
push dword [esp + 0x30]
mov edx, eax
mov dword [edi + 0xc], eax
mov ecx, esi
call fcn.0059afa0
add esp, 0xc
mov dword [edi + 0xc], eax
mov ax, word [ebx + 6]
and ax, 1
or word [edi + 6], ax
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x57d058
mov dword [edi + 0x28], eax
mov dword [ebx + 0x28], 0
mov edi, dword [edi + 0x1c]
mov ebx, dword [ebx + 0x1c]
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], ebx
test edi, edi
jne 0x57cd32
mov ebx, dword [esp + 0x34]
test ebx, ebx
je 0x57d0bc
mov edx, ebx
mov ecx, esi
call fcn.00582900
test esi, esi
je 0x57d0b3
cmp ebx, dword [esi + 0xf0]
jb 0x57d0b3
cmp ebx, dword [esi + 0xf4]
jae 0x57d0b3
mov eax, dword [esi + 0xec]
mov dword [ebx], eax
mov eax, 1
dec dword [esi + 0xe4]
mov dword [esi + 0xec], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.005bb990
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret