Function at 0x5bd9a0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x30]
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 + 0x4c]
mov dword [esp + 0x2c], edx
mov al, cl
lea esi, [edi + 0xa]
neg al
sbb eax, eax
and al, 0xf8
add eax, 4
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
neg cl
mov edx, dword [eax + 0xc]
mov ebp, dword [eax + 0x10]
mov ax, word [edi]
mov dword [esp + 0x1c], 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 + 0x48]
sar eax, 1
neg eax
add edx, eax
inc ecx
movsx eax, word [edi + 6]
imul eax, ecx
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x44]
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 + 0x48]
mov byte [esp + 0x40], al
mov eax, dword [esp + 0x1c]
shr ebx, 1
cmp edi, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x44], edx
jge 0x5bde39
mov eax, dword [esp + 0x10]
cdq
sub eax, edx
sar eax, 1
add eax, edi
js 0x5bde39
mov al, byte [esp + 0x4c]
test al, al
mov eax, dword [esp + 0x44]
je 0x5bda7c
test eax, eax
jl 0x5bde39
sub eax, ebx
cmp eax, ebp
jl 0x5bda8e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x28
ret 0x14
cmp eax, ebp
jge 0x5bde39
add ebx, eax
test ebx, ebx
jl 0x5bde39
mov ebx, dword [esp + 0x3c]
mov eax, dword [ebx]
cmp eax, 2
sete cl
test cl, cl
mov byte [esp + 0x4c], cl
jne 0x5bdb52
mov ecx, dword [ebx + 0x80]
test ecx, ecx
je 0x5bdb1b
test eax, eax
jne 0x5bdb1b
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 0x5bdae8
push str.GXCanvas::lockWrite___Lock.
push eax
push 3
push 0xc
push 0x8b
push str...incgxcanvas.h
call fcn.004565c0
add esp, 0x18
jmp 0x5bdaee
mov dword [ebx], 2
mov eax, dword [ebx + 0x28]
test eax, eax
jne 0x5bdb1b
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 0x5bdb52
mov edx, dword [0x624270]
push str.GXLLE::draw___Lock.
push 0
push 0
push edx
push 0xc
push 0xc
push 0x744
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, 0x28
ret 0x14
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
movsx edx, word [ecx + 4]
and edx, 0x80000001
jns 0x5bdb69
dec edx
or edx, 0xfffffffe
inc edx
je 0x5bdb84
xor eax, eax
mov al, byte [esi]
inc esi
test eax, eax
je 0x5bdb80
inc esi
xor ecx, ecx
dec eax
mov cl, byte [esi]
lea esi, [esi + ecx + 1]
jne 0x5bdb74
dec dword [esp + 0x10]
cmp edi, 0xffffffff
jg 0x5bdbbc
mov eax, dword [esp + 0x10]
mov ecx, 2
sub eax, ecx
mov dword [esp + 0x10], eax
js 0x5bdbb8
xor eax, eax
mov al, byte [esi]
inc esi
test eax, eax
je 0x5bdbaf
inc esi
xor edx, edx
dec eax
mov dl, byte [esi]
lea esi, [esi + edx + 1]
jne 0x5bdba3
dec ecx
jne 0x5bdb9a
inc edi
cmp edi, 0xffffffff
jle 0x5bdb89
mov dword [esp + 0x48], edi
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x28]
mov eax, ecx
imul eax, edi
add eax, edx
mov edx, dword [esp + 0x44]
lea eax, [eax + edx*4]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
cmp edi, eax
jge 0x5bddb4
mov eax, dword [esp + 0x10]
sub eax, 2
mov dword [esp + 0x10], eax
js 0x5bddb4
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x18]
test ebp, ebp
jl 0x5bde02
cmp ebp, dword [esp + 0x1c]
jge 0x5bde02
mov cl, byte [esp + 0x40]
mov ebx, dword [esp + 0x44]
xor eax, eax
mov byte [esp + 0x14], cl
mov al, byte [esi]
inc esi
test eax, eax
je 0x5bdd7b
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
and dl, 1
xor ecx, ecx
sar eax, 1
mov byte [esp + 0x14], dl
mov edx, eax
imul edx, dword [esp + 0x20]
imul eax, dword [esp + 0x24]
mov cl, byte [esi]
add edi, edx
mov edx, dword [esp + 0x14]
add ebx, eax
and edx, 0xff
inc esi
mov eax, esi
add esi, ecx
lea ebp, [edx + ecx]
sub eax, edx
sar ebp, 1
imul ebp, dword [esp + 0x24]
mov dl, byte [esp + 0x14]
inc eax
add cl, dl
add ebp, ebx
and cl, 1
test ebx, ebx
mov byte [esp + 0x14], cl
jl 0x5bdcfa
mov ecx, dword [esp + 0x28]
cmp ebp, ecx
jge 0x5bdcfa
cmp ebx, ecx
jge 0x5bdcfa
test ebp, ebp
jl 0x5bdcfa
mov ebx, ebp
cmp eax, esi
mov dword [esp + 0x30], ebx
jae 0x5bdd68
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x3c]
xor ecx, ecx
mov cl, byte [eax]
add eax, 2
mov ebp, dword [edx + ecx*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 + 0x3c]
add ebx, edx
mov edx, dword [ecx + 0x94]
and edx, ebp
or ebx, edx
mov edx, dword [esp + 0x20]
mov dword [edi], ebx
add edi, edx
cmp eax, esi
jb 0x5bdca8
mov ebx, dword [esp + 0x30]
jmp 0x5bdd68
cmp eax, esi
jae 0x5bdd68
test ebx, ebx
jl 0x5bdd55
cmp ebx, dword [esp + 0x28]
jge 0x5bdd55
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x3c]
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 + 0x30], ecx
and ebp, ecx
mov ecx, dword [esp + 0x3c]
shr edx, 1
mov ecx, dword [ecx + 0x88]
and edx, ecx
add ebp, edx
mov edx, dword [esp + 0x30]
shr edx, 1
and edx, ecx
mov ecx, dword [esp + 0x3c]
add ebp, edx
mov edx, dword [ecx + 0x94]
mov ecx, dword [esp + 0x30]
and edx, ecx
or ebp, edx
mov dword [edi], ebp
mov ebp, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add eax, 2
add edi, ebp
add ebx, edx
cmp eax, esi
jb 0x5bdcfe
mov eax, dword [esp + 0x34]
dec eax
mov dword [esp + 0x34], eax
jne 0x5bdc28
mov ebp, dword [esp + 0x48]
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x14]
mov eax, dword [esp + 0x18]
add eax, ecx
inc ebp
mov dword [esp + 0x18], eax
xor eax, eax
mov al, byte [esi]
inc esi
test eax, eax
mov dword [esp + 0x48], ebp
je 0x5bdda6
inc esi
xor edx, edx
dec eax
mov dl, byte [esi]
lea esi, [esi + edx + 1]
jne 0x5bdd9a
mov ebx, dword [esp + 0x3c]
cmp ebp, dword [esp + 0x1c]
jl 0x5bdbe0
mov al, byte [esp + 0x4c]
test al, al
jne 0x5bde39
mov eax, dword [ebx + 0x80]
test eax, eax
je 0x5bde39
cmp dword [ebx], 0
je 0x5bde39
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x80]
test eax, eax
jge 0x5bde33
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, 0x28
ret 0x14
mov edx, dword [esp + 0x18]
mov edi, 2
add edx, ecx
inc ebp
mov dword [esp + 0x18], edx
mov dword [esp + 0x48], ebp
xor eax, eax
mov al, byte [esi]
inc esi
test eax, eax
je 0x5bde2b
inc esi
xor edx, edx
dec eax
mov dl, byte [esi]
lea esi, [esi + edx + 1]
jne 0x5bde1f
dec edi
jne 0x5bde16
jmp 0x5bddaa
mov dword [ebx], 0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x28
ret 0x14