Function at 0x57b030
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
xor ebx, ebx
movzx eax, word [edi + 4]
movzx esi, byte [edi + 6]
mov ebp, eax
mov ecx, eax
push ebp
mov dword [esp + 0x30], ecx
call fcn.00577480
add esi, 0xffffffef
mov dword [0x6156e4], ebp
add esp, 4
cmp esi, 0x1b
ja case.0x57b06f.18
movzx eax, byte [esi + 0x57b580]
jmp dword [eax*4 + 0x57b540]
mov eax, dword [esp + 0x30]
mov esi, dword [edi + 8]
mov ebx, dword [eax]
push ebx
test esi, esi
je 0x57b091
call fcn.005772a0
mov dword [eax + 0x14], esi
jmp 0x57b522
call fcn.005770f0
xor ebx, ebx
jmp 0x57b522
mov esi, dword [esp + 0x30]
mov eax, dword [edi + 0xc]
mov ebx, dword [edi + 8]
push ebp
push dword [esi + 0x14]
mov dword [esp + 0x34], eax
lea eax, [edi + 0x10]
push dword [esi + 0xc]
push dword [esi + 0x10]
push ebx
push eax
push dword [esi]
call fcn.00574f70
mov edx, dword [esi + 4]
mov ecx, eax
test edx, edx
je 0x57b0da
cmp dword [esp + 0x2c], 0xc
jbe 0x57b0da
mov ecx, dword [ebx + edi + 0x1c]
mov dword [edx + 0xc], ecx
mov ecx, eax
mov eax, dword [esi + 8]
test eax, eax
je 0x57b0e3
mov dword [eax], ecx
xor ebx, ebx
test ebp, ebp
jmp 0x57b51f
mov ecx, dword [esp + 0x30]
mov eax, dword [edi + 8]
mov edx, dword [ecx + 4]
cmp eax, edx
jbe 0x57b109
cmp word [esp + 0x2c], bx
mov eax, edx
mov edx, 5
cmove ebp, edx
push eax
lea eax, [edi + 0xc]
push eax
push dword [ecx]
call fcn.005be280
add esp, 0xc
mov ebx, dword [edi + 8]
jmp 0x57b522
mov ecx, dword [esp + 0x30]
mov ebx, dword [edi + 8]
mov edx, dword [ecx + 4]
lea esi, [ebx + 1]
and edx, 0x10000
je 0x57b13c
lea esi, [ebx*2 + 2]
xor eax, eax
test edx, edx
setne al
cmp esi, dword [ecx + 8]
jbe 0x57b15b
cmp word [esp + 0x2c], 0
mov eax, 5
cmove ebp, eax
jmp 0x57b522
push eax
push ebx
lea eax, [edi + 0xc]
push eax
push dword [ecx]
call fcn.0057bf90
mov ebx, dword [edi + 8]
jmp 0x57b522
mov ecx, dword [esp + 0x30]
lea ebx, [edi + 0xc]
mov eax, dword [edi + 8]
mov edx, dword [ecx + 8]
cmp eax, edx
jbe 0x57b191
cmp word [esp + 0x2c], 0
mov eax, edx
mov edx, 5
cmove ebp, edx
push eax
push ebx
push dword [ecx]
call fcn.005be280
mov ebx, dword [edi + 8]
add esp, 0xc
jmp 0x57b522
mov eax, dword [esp + 0x30]
mov esi, dword [edi + 8]
mov ebx, dword [eax]
push ebx
test esi, esi
je 0x57b091
call fcn.005772a0
mov dword [eax + 0xc], esi
jmp 0x57b522
mov eax, dword [esp + 0x30]
mov ebx, dword [eax + 4]
mov ecx, ebx
mov edx, dword [eax + 8]
and ecx, 0xf0
mov esi, dword [eax]
lea eax, [edi + 0xc]
mov dword [esp + 0x24], ecx
mov ecx, dword [edi + 8]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
jne 0x57b2bb
mov edi, eax
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov ebx, 0x24
movups xmmword [esi + 0x10], xmm0
mov dword [esi + 0x20], 0
mov edx, dword [edi]
mov dword [esi], edx
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
movzx eax, word [edi + 0x18]
mov word [esi + 0x18], ax
movzx eax, word [edi + 0x1a]
mov word [esi + 0x1a], ax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
cmp dword [0x615708], 0
je 0x57b255
or edx, 0x10000
mov dword [esi], edx
mov eax, dword [esp + 0x10]
cmp eax, 0x24
jbe 0x57b2b2
mov ecx, dword [edi + 0xc]
cmp ecx, ebx
jb 0x57b2b2
cmp dword [esp + 0x14], eax
jb 0x57b2cc
shr edx, 0x10
lea ebx, [esi + 0x24]
and edx, 1
add eax, 0xffffffdc
push edx
push eax
lea eax, [ecx + edi]
push eax
push ebx
call fcn.0057bf90
test dword [esp + 0x1c], 0x80000
mov ebx, dword [esp + 0x10]
mov eax, dword [esi]
je 0x57b2a3
or eax, 0x80000
mov dword [esi + 0xc], 0x24
mov dword [esi], eax
jmp 0x57b2cc
and eax, 0xfff7ffff
mov dword [esi], eax
lea eax, [esi + 0x24]
mov dword [esi + 0xc], eax
jmp 0x57b2cc
mov dword [esi + 0xc], 0
jmp 0x57b2cc
push ebx
push 0
push edx
push esi
push ecx
push eax
call fcn.0057b5a0
add esp, 0x18
mov ebx, eax
mov eax, dword [esp + 0x14]
cmp ebx, eax
jbe 0x57b2e2
cmp word [esp + 0x2c], 0
mov ecx, 5
cmove ebp, ecx
cmp dword [esp + 0x24], 0
jne 0x57b522
cmp eax, 8
jb 0x57b522
push dword [esi + 4]
call fcn.00577350
mov dword [esi + 4], eax
jmp 0x57b522
mov eax, dword [esp + 0x30]
mov ecx, dword [edi + 8]
mov ebx, dword [edi + 0xc]
add edi, 0x10
mov edx, dword [eax + 8]
cmp ecx, edx
ja 0x57b322
cmp word [esp + 0x2c], 0
je 0x57b32b
mov ecx, edx
mov ebx, edx
mov ebp, 5
cmp ecx, edx
cmova ecx, edx
push ecx
push edi
push dword [eax]
call fcn.005be280
add esp, 0xc
jmp 0x57b522
mov eax, dword [esp + 0x30]
mov ecx, dword [edi + 8]
mov ebx, dword [edi + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x24], eax
cmp ecx, edx
jbe 0x57b367
cmp word [esp + 0x2c], 0
jne 0x57b367
mov ecx, edx
mov ebp, 5
push ecx
lea eax, [edi + 0x10]
push eax
push dword [esp + 0x2c]
call fcn.005be280
add esp, 0xc
jmp 0x57b522
mov eax, dword [esp + 0x30]
mov ecx, dword [edi + 8]
mov ebx, dword [edi + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x24], eax
cmp ecx, edx
jbe 0x57b3a3
cmp word [esp + 0x2c], 0
jne 0x57b3a3
mov ecx, edx
mov ebp, 5
push ecx
lea eax, [edi + 0x10]
push eax
push dword [esp + 0x2c]
call fcn.005be280
add esp, 0xc
jmp 0x57b522
mov eax, dword [esp + 0x30]
mov ecx, dword [edi + 8]
mov ebx, dword [edi + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x24], eax
cmp ecx, edx
jbe 0x57b3df
cmp word [esp + 0x2c], 0
jne 0x57b3df
mov ecx, edx
mov ebp, 5
push ecx
lea eax, [edi + 0x10]
push eax
push dword [esp + 0x2c]
call fcn.005be280
add esp, 0xc
jmp 0x57b522
mov eax, dword [esp + 0x30]
mov ecx, dword [edi + 8]
add edi, 0x10
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov eax, edx
and eax, 0xf0
je 0x57b45d
cmp eax, 0x10
je 0x57b45d
cmp eax, 0x20
jne 0x57b522
and edx, 0x10000
lea ebx, [ecx + ecx]
cmove ebx, ecx
cmp ebx, esi
jbe 0x57b43a
lea ebp, [eax - 0x1b]
jmp 0x57b522
test ecx, ecx
je 0x57b522
xor eax, eax
test edx, edx
setne al
push eax
lea eax, [ecx - 1]
push eax
push edi
push dword [esp + 0x20]
call fcn.0057bf90
jmp 0x57b522
push edx
push 0
push esi
push dword [esp + 0x20]
push ecx
push edi
call fcn.0057b5a0
mov ebx, eax
add esp, 0x18
cmp ebx, esi
jbe 0x57b522
cmp word [esp + 0x2c], 0
mov eax, 5
cmove ebp, eax
jmp 0x57b522
mov eax, dword [esp + 0x30]
mov ebx, dword [edi + 0xc]
mov ecx, dword [eax + 4]
mov esi, dword [eax + 8]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov ecx, dword [edi + 8]
add edi, 0x10
and eax, 0xf0
je 0x57b4c1
cmp eax, 0x30
jne 0x57b522
push ecx
push edi
push edx
call fcn.005be280
add esp, 0xc
jmp 0x57b522
push dword [esp + 0x24]
push 0
push esi
push edx
push ecx
push edi
call fcn.0057b5a0
mov ebx, eax
add esp, 0x18
cmp ebx, esi
jbe 0x57b522
cmp word [esp + 0x2c], 0
mov eax, 5
cmove ebp, eax
jmp 0x57b522
mov esi, dword [esp + 0x2c]
mov ecx, dword [edi + 8]
test si, si
jne 0x57b511
mov eax, dword [esp + 0x30]
mov edx, dword [eax]
test edx, edx
je 0x57b511
test ecx, ecx
je 0x57b511
push ecx
lea eax, [edi + 0xc]
push eax
push edx
call fcn.005be280
add esp, 0xc
xor ebx, ebx
test si, si
jmp 0x57b51f
xor ebx, ebx
cmp word [esp + 0x2c], bx
sete bl
test ebp, ebp
je 0x57b535
push ebp
call fcn.00577480
add esp, 4
mov dword [0x6156e4], ebp
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x18
ret