Function at 0x5bcbb0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x2c
mov eax, dword [esp + 0x34]
push ebx
push ebp
push esi
mov edx, dword [eax + 0x28]
push edi
mov edi, dword [ecx]
mov dword [esp + 0x34], ecx
mov cl, byte [esp + 0x50]
mov dword [esp + 0x30], edx
mov al, cl
lea esi, [edi + 0xa]
neg al
sbb eax, eax
and al, 0xfa
add eax, 3
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
neg cl
mov edx, dword [eax + 0xc]
mov ebp, dword [eax + 0x10]
mov ax, word [edi]
mov dword [esp + 0x18], edx
sbb ecx, ecx
and eax, 0x7fff
mov dword [esp + 0x10], eax
and ecx, 0xfffffffe
movsx eax, word [edi + 4]
cdq
sub eax, edx
mov edx, dword [esp + 0x4c]
sar eax, 1
neg eax
add edx, eax
inc ecx
movsx eax, word [edi + 6]
imul eax, ecx
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x48]
sar eax, 1
sub edx, eax
mov al, byte [edi + 6]
imul cl
not al
xor ebx, ebx
and al, 1
mov bx, word [edi + 2]
mov edi, dword [esp + 0x4c]
mov byte [esp + 0x44], al
mov eax, dword [esp + 0x18]
shr ebx, 1
cmp edi, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x48], edx
jge 0x5bd071
mov eax, dword [esp + 0x10]
cdq
sub eax, edx
sar eax, 1
add eax, edi
js 0x5bd071
mov al, byte [esp + 0x50]
test al, al
mov eax, dword [esp + 0x48]
je 0x5bcc8c
test eax, eax
jl 0x5bd071
sub eax, ebx
cmp eax, ebp
jl 0x5bcc9e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x2c
ret 0x14
cmp eax, ebp
jge 0x5bd071
add ebx, eax
test ebx, ebx
jl 0x5bd071
mov ebx, dword [esp + 0x40]
mov eax, dword [ebx]
cmp eax, 2
sete cl
test cl, cl
mov byte [esp + 0x50], cl
jne 0x5bcd62
mov ecx, dword [ebx + 0x80]
test ecx, ecx
je 0x5bcd2b
test eax, eax
jne 0x5bcd2b
mov edx, dword [ecx]
push eax
lea eax, [ebx + 4]
push 0x821
push eax
push 0
push ecx
call dword [edx + 0x64]
test eax, eax
jge 0x5bccf8
push str.GXCanvas::lockWrite___Lock.
push eax
push 3
push 0xc
push 0x8b
push str...incgxcanvas.h
call fcn.004565c0
add esp, 0x18
jmp 0x5bccfe
mov dword [ebx], 2
mov eax, dword [ebx + 0x28]
test eax, eax
jne 0x5bcd2b
mov ecx, dword [0x624270]
push str.mDesc.lpSurface__0
push 0
push 0
push ecx
push 0xc
push 0xc
push 0x90
push str...incgxcanvas.h
call fcn.00456580
add esp, 0x20
cmp dword [ebx], 2
je 0x5bcd62
mov edx, dword [0x624270]
push str.GXLLE::draw___Lock.
push 0
push 0
push edx
push 0xc
push 0xc
push 0x5d0
push str.C:_aqua_srcgxgxlleblend.cpp
call fcn.00456580
add esp, 0x20
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x14
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
movsx edx, word [ecx + 4]
and edx, 0x80000001
jns 0x5bcd79
dec edx
or edx, 0xfffffffe
inc edx
je 0x5bcd94
xor eax, eax
mov al, byte [esi]
inc esi
test eax, eax
je 0x5bcd90
inc esi
xor ecx, ecx
dec eax
mov cl, byte [esi]
lea esi, [esi + ecx + 1]
jne 0x5bcd84
dec dword [esp + 0x10]
cmp edi, 0xffffffff
jg 0x5bcdcc
mov eax, dword [esp + 0x10]
mov ecx, 2
sub eax, ecx
mov dword [esp + 0x10], eax
js 0x5bcdc8
xor eax, eax
mov al, byte [esi]
inc esi
test eax, eax
je 0x5bcdbf
inc esi
xor edx, edx
dec eax
mov dl, byte [esi]
lea esi, [esi + edx + 1]
jne 0x5bcdb3
dec ecx
jne 0x5bcdaa
inc edi
cmp edi, 0xffffffff
jle 0x5bcd99
mov dword [esp + 0x4c], edi
mov ebp, dword [ebx + 0x14]
mov ecx, dword [esp + 0x4c]
mov edi, ebp
mov eax, dword [ebx + 0x28]
imul edi, ecx
add edi, eax
mov eax, dword [esp + 0x48]
lea edx, [eax + eax*2]
add edi, edx
mov edx, dword [esp + 0x18]
cmp ecx, edx
mov dword [esp + 0x24], edi
jge 0x5bcfec
jmp 0x5bcdfc
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
sub edx, 2
mov dword [esp + 0x10], edx
js 0x5bcfec
test ecx, ecx
jl 0x5bd03a
cmp ecx, dword [esp + 0x18]
jge 0x5bd03a
mov ebx, eax
mov al, byte [esp + 0x44]
mov byte [esp + 0x14], al
xor eax, eax
mov al, byte [esi]
inc esi
test eax, eax
je 0x5bcfb7
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x14]
xor edx, edx
and eax, 0xff
mov dl, byte [esi]
inc esi
add eax, edx
add dl, cl
sar eax, 1
mov ecx, eax
imul eax, dword [esp + 0x20]
imul ecx, dword [esp + 0x1c]
and dl, 1
add edi, ecx
mov byte [esp + 0x14], dl
xor ecx, ecx
mov edx, dword [esp + 0x14]
mov cl, byte [esi]
and edx, 0xff
add ebx, eax
inc esi
lea ebp, [edx + ecx]
mov eax, esi
sar ebp, 1
imul ebp, dword [esp + 0x20]
sub eax, edx
mov dl, byte [esp + 0x14]
add esi, ecx
add cl, dl
inc eax
and cl, 1
add ebp, ebx
mov byte [esp + 0x14], cl
test ebx, ebx
jl 0x5bcf21
mov ecx, dword [esp + 0x2c]
cmp ebp, ecx
jge 0x5bcf21
cmp ebx, ecx
jge 0x5bcf21
test ebp, ebp
jl 0x5bcf21
mov ebx, ebp
cmp eax, esi
mov dword [esp + 0x38], ebx
jae 0x5bcfa0
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x40]
xor edx, edx
mov dl, byte [eax]
add eax, 2
mov ebp, dword [ecx + edx*4]
mov ecx, dword [ebx + 0x88]
mov edx, dword [edi]
mov ebx, dword [ebx + 0x84]
and ebx, edx
shr edx, 1
and ebx, ebp
and edx, ecx
add ebx, edx
mov edx, ebp
shr edx, 1
and edx, ecx
mov ecx, dword [esp + 0x40]
add ebx, edx
mov edx, dword [ecx + 0x94]
mov ecx, edi
and edx, ebp
or ebx, edx
mov dx, bx
mov dword [esp + 0x28], ebx
mov word [ecx], dx
mov dl, byte [esp + 0x2a]
mov byte [ecx + 2], dl
mov edx, dword [esp + 0x1c]
add edi, edx
cmp eax, esi
jb 0x5bcebe
mov ebx, dword [esp + 0x38]
jmp 0x5bcfa0
cmp eax, esi
jae 0x5bcfa0
test ebx, ebx
jl 0x5bcf8d
cmp ebx, dword [esp + 0x2c]
jge 0x5bcf8d
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x40]
xor ecx, ecx
mov cl, byte [eax]
mov ebp, dword [ebp + 0x84]
mov ecx, dword [edx + ecx*4]
mov edx, dword [edi]
and ebp, edx
mov dword [esp + 0x28], ecx
and ebp, ecx
mov ecx, dword [esp + 0x40]
shr edx, 1
mov ecx, dword [ecx + 0x88]
and edx, ecx
add ebp, edx
mov edx, dword [esp + 0x28]
shr edx, 1
and edx, ecx
mov ecx, dword [esp + 0x40]
add ebp, edx
mov edx, dword [ecx + 0x94]
mov ecx, dword [esp + 0x28]
and edx, ecx
mov ecx, edi
or ebp, edx
mov dx, bp
mov dword [esp + 0x28], ebp
mov word [ecx], dx
mov dl, byte [esp + 0x2a]
mov byte [ecx + 2], dl
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
add eax, 2
add edi, ebp
add ebx, edx
cmp eax, esi
jb 0x5bcf25
mov eax, dword [esp + 0x34]
dec eax
mov dword [esp + 0x34], eax
jne 0x5bce3a
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
mov ebp, dword [eax + 0x14]
xor eax, eax
mov al, byte [esi]
add edi, ebp
inc ecx
inc esi
test eax, eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x4c], ecx
je 0x5bcfde
inc esi
xor edx, edx
dec eax
mov dl, byte [esi]
lea esi, [esi + edx + 1]
jne 0x5bcfd2
mov ebx, dword [esp + 0x40]
cmp ecx, dword [esp + 0x18]
jl 0x5bcdf8
mov al, byte [esp + 0x50]
test al, al
jne 0x5bd071
mov eax, dword [ebx + 0x80]
test eax, eax
je 0x5bd071
cmp dword [ebx], 0
je 0x5bd071
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x80]
test eax, eax
jge 0x5bd06b
push str.GXCanvas::unlockSurface___Unlock.
push eax
push 3
push 0xc
push 0x9d
push str...incgxcanvas.h
call fcn.004565c0
add esp, 0x18
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x14
add edi, ebp
inc ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x4c], ecx
mov edx, 2
xor eax, eax
mov al, byte [esi]
inc esi
test eax, eax
je 0x5bd063
inc esi
xor ebx, ebx
dec eax
mov bl, byte [esi]
lea esi, [esi + ebx + 1]
jne 0x5bd053
mov ebx, dword [esp + 0x40]
dec edx
jne 0x5bd04a
jmp 0x5bcfe2
mov dword [ebx], 0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x2c
ret 0x14