Function at 0x5bbd40
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 ebp, dword [esp + 0x40]
mov al, cl
mov dword [esp + 0x30], edx
neg al
sbb eax, eax
mov edx, dword [ebp + 0xc]
and al, 0xfc
mov dword [esp + 0x24], edx
add eax, 2
lea esi, [edi + 0xa]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x10]
neg cl
mov dword [esp + 0x1c], eax
mov ax, word [edi]
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
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x48]
movsx edx, word [edi + 6]
imul edx, ecx
sar edx, 1
sub eax, edx
xor ebx, ebx
mov dword [esp + 0x48], eax
mov al, byte [edi + 6]
imul cl
mov bx, word [edi + 2]
mov edi, dword [esp + 0x4c]
not al
and al, 1
mov dword [esp + 0x2c], ecx
mov byte [esp + 0x44], al
mov eax, dword [esp + 0x24]
shr ebx, 1
cmp edi, eax
jge 0x5bc205
mov ecx, dword [esp + 0x10]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, edi
js 0x5bc205
mov al, byte [esp + 0x50]
test al, al
mov eax, dword [esp + 0x48]
je 0x5bbe22
test eax, eax
jl 0x5bc205
mov edx, dword [esp + 0x1c]
sub eax, ebx
cmp eax, edx
jl 0x5bbe36
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x2c
ret 0x14
cmp eax, dword [esp + 0x1c]
jge 0x5bc205
add ebx, eax
test ebx, ebx
jl 0x5bc205
mov eax, dword [ebp]
cmp eax, 2
sete dl
test dl, dl
mov byte [esp + 0x50], dl
jne 0x5bbefd
mov ecx, dword [ebp + 0x80]
test ecx, ecx
je 0x5bbec1
test eax, eax
jne 0x5bbec1
mov eax, dword [ecx]
push 0
lea edx, [ebp + 4]
push 0x821
push edx
push 0
push ecx
call dword [eax + 0x64]
test eax, eax
jge 0x5bbe8e
push str.GXCanvas::lockWrite___Lock.
push eax
push 3
push 0xc
push 0x8b
push str...incgxcanvas.h
call fcn.004565c0
add esp, 0x18
jmp 0x5bbe95
mov dword [ebp], 2
mov eax, dword [ebp + 0x28]
test eax, eax
jne 0x5bbec1
mov eax, dword [0x624270]
push str.mDesc.lpSurface__0
push 0
push 0
push eax
push 0xc
push 0xc
push 0x90
push str...incgxcanvas.h
call fcn.00456580
add esp, 0x20
cmp dword [ebp], 2
je 0x5bbef9
mov ecx, dword [0x624270]
push str.GXLLE::draw___Lock.
push 0
push 0
push ecx
push 0xc
push 0xc
push 0x458
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 ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
movsx edx, word [eax + 4]
and edx, 0x80000001
jns 0x5bbf14
dec edx
or edx, 0xfffffffe
inc edx
je 0x5bbf30
xor eax, eax
mov al, byte [esi]
inc esi
test eax, eax
je 0x5bbf2b
inc esi
xor edx, edx
dec eax
mov dl, byte [esi]
lea esi, [esi + edx + 1]
jne 0x5bbf1f
dec ecx
mov dword [esp + 0x10], ecx
cmp edi, 0xffffffff
jg 0x5bbf65
sub ecx, 2
js 0x5bbf5d
mov edx, 2
xor eax, eax
mov al, byte [esi]
inc esi
test eax, eax
je 0x5bbf54
inc esi
xor ebx, ebx
dec eax
mov bl, byte [esi]
lea esi, [esi + ebx + 1]
jne 0x5bbf48
dec edx
jne 0x5bbf3f
inc edi
cmp edi, 0xffffffff
jle 0x5bbf35
mov dword [esp + 0x4c], edi
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x28]
mov eax, ecx
imul eax, edi
add eax, edx
mov edx, dword [esp + 0x48]
lea eax, [eax + edx*2]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
cmp edi, eax
jge 0x5bc1af
mov eax, dword [esp + 0x10]
sub eax, 2
mov dword [esp + 0x10], eax
js 0x5bc1af
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x20]
test edx, edx
jl 0x5bc179
cmp edx, dword [esp + 0x24]
jge 0x5bc179
mov al, byte [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov byte [esp + 0x18], al
xor eax, eax
mov al, byte [esi]
inc esi
test eax, eax
je 0x5bc150
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
mov bl, byte [esp + 0x18]
xor edx, edx
and eax, 0xff
mov dl, byte [esi]
inc esi
add eax, edx
add dl, bl
and dl, 1
sar eax, 1
mov byte [esp + 0x18], dl
mov edx, eax
imul eax, dword [esp + 0x2c]
imul edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
add ecx, eax
mov dword [esp + 0x14], ecx
xor ecx, ecx
mov cl, byte [esi]
add edi, edx
inc esi
and ebx, 0xff
mov eax, esi
add esi, ecx
lea edx, [ebx + ecx]
sub eax, ebx
add cl, byte [esp + 0x18]
and cl, 1
mov byte [esp + 0x18], cl
mov ecx, dword [esp + 0x14]
sar edx, 1
inc eax
test ecx, ecx
lea ebx, [edx + ecx]
jl 0x5bc0ca
mov ecx, dword [esp + 0x1c]
cmp ebx, ecx
mov ecx, dword [esp + 0x14]
jge 0x5bc0ca
cmp ecx, dword [esp + 0x1c]
jge 0x5bc0ca
lea ebx, [edx + ecx]
test ebx, ebx
jl 0x5bc0ca
imul edx, dword [esp + 0x2c]
add ecx, edx
cmp eax, esi
mov dword [esp + 0x14], ecx
jae 0x5bc13d
mov ebx, dword [esp + 0x30]
xor ecx, ecx
mov cl, byte [eax]
xor edx, edx
mov ebp, dword [ebp + 0x88]
add eax, 2
mov dx, word [ebx + ecx*4]
xor ecx, ecx
mov cx, word [edi]
mov ebx, edx
mov dword [esp + 0x38], ecx
shr ecx, 1
shr ebx, 1
and ecx, ebp
and ebx, ebp
mov ebp, dword [esp + 0x38]
add ecx, ebx
mov ebx, dword [esp + 0x40]
mov ebx, dword [ebx + 0x84]
and ebx, ebp
mov ebp, dword [esp + 0x40]
and ebx, edx
add ecx, ebx
mov ebx, dword [ebp + 0x94]
and ebx, edx
mov edx, dword [esp + 0x28]
or ecx, ebx
mov word [edi], cx
add edi, edx
cmp eax, esi
jb 0x5bc069
mov ecx, dword [esp + 0x14]
jmp 0x5bc13d
cmp eax, esi
jae 0x5bc13d
test ecx, ecx
jl 0x5bc126
cmp ecx, dword [esp + 0x1c]
jge 0x5bc126
mov ebx, dword [esp + 0x30]
xor edx, edx
mov dl, byte [eax]
xor ecx, ecx
mov cx, word [ebx + edx*4]
mov ebx, dword [ebp + 0x88]
mov ebp, dword [ebp + 0x84]
xor edx, edx
mov dx, word [edi]
and ebp, edx
shr edx, 1
and ebp, ecx
and edx, ebx
add ebp, edx
mov edx, ecx
shr edx, 1
and edx, ebx
add ebp, edx
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x40]
mov edx, dword [ebp + 0x94]
and edx, ecx
mov ecx, dword [esp + 0x38]
or ecx, edx
mov word [edi], cx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
add eax, 2
add edi, edx
add ecx, ebx
cmp eax, esi
mov dword [esp + 0x14], ecx
jb 0x5bc0ce
mov eax, dword [esp + 0x34]
dec eax
mov dword [esp + 0x34], eax
jne 0x5bbfd1
mov edx, dword [esp + 0x4c]
mov ecx, dword [ebp + 0x14]
mov edi, dword [esp + 0x20]
xor eax, eax
add edi, ecx
mov al, byte [esi]
inc edx
inc esi
mov dword [esp + 0x20], edi
test eax, eax
mov dword [esp + 0x4c], edx
je 0x5bc1a5
inc esi
xor ebx, ebx
dec eax
mov bl, byte [esi]
lea esi, [esi + ebx + 1]
jne 0x5bc16b
jmp 0x5bc1a5
mov edi, dword [esp + 0x20]
add edi, ecx
inc edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x4c], edx
mov edi, 2
xor eax, eax
mov al, byte [esi]
inc esi
test eax, eax
je 0x5bc1a2
inc esi
xor ebx, ebx
dec eax
mov bl, byte [esi]
lea esi, [esi + ebx + 1]
jne 0x5bc196
dec edi
jne 0x5bc18d
cmp edx, dword [esp + 0x24]
jl 0x5bbf89
mov al, byte [esp + 0x50]
test al, al
jne 0x5bc205
mov eax, dword [ebp + 0x80]
test eax, eax
je 0x5bc205
cmp dword [ebp], 0
je 0x5bc205
mov edx, dword [eax]
push 0
push eax
call dword [edx + 0x80]
test eax, eax
jge 0x5bc1fe
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
mov dword [ebp], 0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x2c
ret 0x14